[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.14

1.14    ! epg         1: # $NetBSD: Makefile,v 1.13 2007/01/07 09:14:08 rillig Exp $
1.1       jschauma    2: #
                      3:
1.3       jschauma    4: DISTNAME=              ganglia-3.0.1
                      5: PKGNAME=               ganglia-monitor-core-3.0.1
1.10      joerg       6: PKGREVISION=           4
1.1       jschauma    7: CATEGORIES=            net parallel
                      8: MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=ganglia/}
1.3       jschauma    9: EXTRACT_SUFX=          .tar.bz2
1.1       jschauma   10:
                     11: MAINTAINER=            jschauma@NetBSD.org
                     12: HOMEPAGE=              http://ganglia.sourceforge.net/
                     13: COMMENT=               Ganglia cluster monitor, monitoring daemon
                     14:
1.10      joerg      15: GNU_CONFIGURE=         YES
1.1       jschauma   16:
                     17: CONFIGURE_ARGS+=       --with-gmetad
1.10      joerg      18: USE_LIBTOOL=           yes
                     19: CONFIG_GUESS_OVERRIDE?=                \
                     20:        config.guess */config.guess */*/config.guess */*/*/config.guess
                     21: CONFIG_SUB_OVERRIDE?=          \
                     22:        config.sub */config.sub */*/config.sub */*/*/config.sub
1.1       jschauma   23:
1.2       jschauma   24: PATCH_ETC=             mans/gmetad.1 mans/gmond.1                      \
                     25:                        gmetad/cmdline.c gmetad/conf.c                  \
                     26:                        gmond/cmdline.c gmond/g25_config.h              \
                     27:                        ganglia.html
1.1       jschauma   28:
                     29: PATCH_RCS=             gmond gmetad
                     30:
                     31: EGDIR=                 ${PREFIX}/share/examples/ganglia
                     32: CONF_FILES=            ${EGDIR}/gmond.conf ${PKG_SYSCONFDIR}/gmond.conf
                     33: CONF_FILES+=           ${EGDIR}/gmetad.conf ${PKG_SYSCONFDIR}/gmetad.conf
                     34:
                     35: RCD_SCRIPTS=           gmond gmetad
                     36:
1.2       jschauma   37: pre-patch:
                     38:        ${MKDIR} ${WRKSRC}/srclib/libmetrics/netbsd
1.10      joerg      39:        ${MKDIR} ${WRKSRC}/srclib/libmetrics/dragonfly
                     40:        ${CP} ${FILESDIR}/dfly-metrics.c ${WRKSRC}/srclib/libmetrics/dragonfly/metrics.c
                     41:        ${CP} ${FILESDIR}/dfly-Makefile.am ${WRKSRC}/srclib/libmetrics/dragonfly/Makefile.am
                     42:        ${CP} ${FILESDIR}/dfly-Makefile.in ${WRKSRC}/srclib/libmetrics/dragonfly/Makefile.in
1.2       jschauma   43:
1.1       jschauma   44: post-patch:
                     45: .for pfile in ${PATCH_ETC}
                     46:        ${SED} -e 's|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g'              \
                     47:                ${WRKSRC}/${pfile} > ${WRKSRC}/${pfile}.tmp &&          \
                     48:                ${MV}  ${WRKSRC}/${pfile}.tmp ${WRKSRC}/${pfile}
                     49: .endfor
                     50: .for pfile in ${PATCH_RCS}
                     51:        ${SED} -e 's|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g'              \
                     52:                -e 's|@PREFIX@|${PREFIX}|g'                             \
                     53:                -e 's|@RCD_SCRIPTS_SHELL@|${RCD_SCRIPTS_SHELL}|g'       \
                     54:                ${FILESDIR}/${pfile}.in > ${WRKSRC}/${pfile}.sh
                     55: .endfor
                     56:
                     57: post-install:
1.13      rillig     58:        ${INSTALL_MAN} ${WRKSRC}/mans/gmetad.1 ${PREFIX}/${PKGMANDIR}/man1/
                     59:        ${INSTALL_MAN} ${WRKSRC}/mans/gmetric.1 ${PREFIX}/${PKGMANDIR}/man1/
                     60:        ${INSTALL_MAN} ${WRKSRC}/mans/gmond.1 ${PREFIX}/${PKGMANDIR}/man1/
                     61:        ${INSTALL_MAN} ${WRKSRC}/mans/gstat.1 ${PREFIX}/${PKGMANDIR}/man1/
1.2       jschauma   62:        ${INSTALL_DATA_DIR} ${EGDIR}
                     63:        ${INSTALL_DATA} ${WRKSRC}/gmetad/gmetad.conf ${EGDIR}/
                     64:        ${PREFIX}/sbin/gmond -t > ${EGDIR}/gmond.conf
1.1       jschauma   65:        ${INSTALL_DATA_DIR} ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}
                     66:        ${INSTALL_DATA} ${WRKSRC}/gmond.sh ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/gmond
                     67:        ${INSTALL_DATA} ${WRKSRC}/gmetad.sh ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/gmetad
                     68:
1.10      joerg      69: BUILDLINK_DEPENDS.apr+=        apr>=0.9.7.2.0.55nb3
                     70:
1.14    ! epg        71: .include "../../devel/apr0/buildlink3.mk"
1.10      joerg      72: .include "../../textproc/expat/buildlink3.mk"
1.1       jschauma   73: .include "../../databases/rrdtool/buildlink3.mk"
                     74: .include "../../mk/pthread.buildlink3.mk"
                     75:
                     76: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>