[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / parallel / ganglia-monitor-core

Annotation of pkgsrc/parallel/ganglia-monitor-core/Makefile, Revision 1.2

1.2     ! jschauma    1: # $NetBSD: Makefile,v 1.1.1.1 2005/02/07 14:33:19 jschauma Exp $
1.1       jschauma    2: #
                      3:
1.2     ! jschauma    4: DISTNAME=              ganglia-3.0.0
        !             5: PKGNAME=               ganglia-monitor-core-3.0.0
1.1       jschauma    6: CATEGORIES=            net parallel
                      7: MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=ganglia/}
                      8:
                      9: MAINTAINER=            jschauma@NetBSD.org
                     10: HOMEPAGE=              http://ganglia.sourceforge.net/
                     11: COMMENT=               Ganglia cluster monitor, monitoring daemon
                     12:
                     13: HAS_CONFIGURE=         YES
                     14: USE_BUILDLINK3=                YES
                     15: USE_PKGINSTALL=                YES
                     16:
                     17: CONFIGURE_ARGS+=       --prefix=${PREFIX}
                     18: CONFIGURE_ARGS+=       --with-gmetad
                     19:
1.2     ! jschauma   20: PATCH_ETC=             mans/gmetad.1 mans/gmond.1                      \
        !            21:                        gmetad/cmdline.c gmetad/conf.c                  \
        !            22:                        gmond/cmdline.c gmond/g25_config.h              \
        !            23:                        ganglia.html
1.1       jschauma   24:
                     25: PATCH_RCS=             gmond gmetad
                     26:
                     27: EGDIR=                 ${PREFIX}/share/examples/ganglia
                     28: CONF_FILES=            ${EGDIR}/gmond.conf ${PKG_SYSCONFDIR}/gmond.conf
                     29: CONF_FILES+=           ${EGDIR}/gmetad.conf ${PKG_SYSCONFDIR}/gmetad.conf
                     30:
                     31: RCD_SCRIPTS=           gmond gmetad
                     32:
1.2     ! jschauma   33: pre-patch:
        !            34:        ${MKDIR} ${WRKSRC}/srclib/libmetrics/netbsd
        !            35:
1.1       jschauma   36: post-patch:
                     37: .for pfile in ${PATCH_ETC}
                     38:        ${SED} -e 's|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g'              \
                     39:                ${WRKSRC}/${pfile} > ${WRKSRC}/${pfile}.tmp &&          \
                     40:                ${MV}  ${WRKSRC}/${pfile}.tmp ${WRKSRC}/${pfile}
                     41: .endfor
                     42: .for pfile in ${PATCH_RCS}
                     43:        ${SED} -e 's|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g'              \
                     44:                -e 's|@PREFIX@|${PREFIX}|g'                             \
                     45:                -e 's|@RCD_SCRIPTS_SHELL@|${RCD_SCRIPTS_SHELL}|g'       \
                     46:                ${FILESDIR}/${pfile}.in > ${WRKSRC}/${pfile}.sh
                     47: .endfor
                     48:
                     49: post-install:
                     50:        ${INSTALL_MAN} ${WRKSRC}/mans/gmetad.1 ${PREFIX}/man/man1/
                     51:        ${INSTALL_MAN} ${WRKSRC}/mans/gmetric.1 ${PREFIX}/man/man1/
                     52:        ${INSTALL_MAN} ${WRKSRC}/mans/gmond.1 ${PREFIX}/man/man1/
                     53:        ${INSTALL_MAN} ${WRKSRC}/mans/gstat.1 ${PREFIX}/man/man1/
1.2     ! jschauma   54:        ${INSTALL_DATA_DIR} ${EGDIR}
        !            55:        ${INSTALL_DATA} ${WRKSRC}/gmetad/gmetad.conf ${EGDIR}/
        !            56:        ${PREFIX}/sbin/gmond -t > ${EGDIR}/gmond.conf
1.1       jschauma   57:        ${INSTALL_DATA_DIR} ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}
                     58:        ${INSTALL_DATA} ${WRKSRC}/gmond.sh ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/gmond
                     59:        ${INSTALL_DATA} ${WRKSRC}/gmetad.sh ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/gmetad
                     60:
                     61: .include "../../databases/rrdtool/buildlink3.mk"
                     62: .include "../../mk/pthread.buildlink3.mk"
                     63:
                     64: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>