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

1.17    ! wiz         1: # $NetBSD: Makefile,v 1.16 2007/09/16 10:29:52 joerg Exp $
1.1       jschauma    2: #
                      3:
1.3       jschauma    4: DISTNAME=              ganglia-3.0.1
                      5: PKGNAME=               ganglia-monitor-core-3.0.1
1.17    ! wiz         6: PKGREVISION=           6
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: EGDIR=                 ${PREFIX}/share/examples/ganglia
                     30: CONF_FILES=            ${EGDIR}/gmond.conf ${PKG_SYSCONFDIR}/gmond.conf
                     31: CONF_FILES+=           ${EGDIR}/gmetad.conf ${PKG_SYSCONFDIR}/gmetad.conf
                     32:
                     33: RCD_SCRIPTS=           gmond gmetad
                     34:
1.2       jschauma   35: pre-patch:
                     36:        ${MKDIR} ${WRKSRC}/srclib/libmetrics/netbsd
1.10      joerg      37:        ${MKDIR} ${WRKSRC}/srclib/libmetrics/dragonfly
                     38:        ${CP} ${FILESDIR}/dfly-metrics.c ${WRKSRC}/srclib/libmetrics/dragonfly/metrics.c
                     39:        ${CP} ${FILESDIR}/dfly-Makefile.am ${WRKSRC}/srclib/libmetrics/dragonfly/Makefile.am
                     40:        ${CP} ${FILESDIR}/dfly-Makefile.in ${WRKSRC}/srclib/libmetrics/dragonfly/Makefile.in
1.2       jschauma   41:
1.1       jschauma   42: post-patch:
                     43: .for pfile in ${PATCH_ETC}
                     44:        ${SED} -e 's|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g'              \
                     45:                ${WRKSRC}/${pfile} > ${WRKSRC}/${pfile}.tmp &&          \
                     46:                ${MV}  ${WRKSRC}/${pfile}.tmp ${WRKSRC}/${pfile}
                     47: .endfor
                     48:
                     49: post-install:
1.13      rillig     50:        ${INSTALL_MAN} ${WRKSRC}/mans/gmetad.1 ${PREFIX}/${PKGMANDIR}/man1/
                     51:        ${INSTALL_MAN} ${WRKSRC}/mans/gmetric.1 ${PREFIX}/${PKGMANDIR}/man1/
                     52:        ${INSTALL_MAN} ${WRKSRC}/mans/gmond.1 ${PREFIX}/${PKGMANDIR}/man1/
                     53:        ${INSTALL_MAN} ${WRKSRC}/mans/gstat.1 ${PREFIX}/${PKGMANDIR}/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:
1.10      joerg      58: BUILDLINK_DEPENDS.apr+=        apr>=0.9.7.2.0.55nb3
                     59:
1.14      epg        60: .include "../../devel/apr0/buildlink3.mk"
1.10      joerg      61: .include "../../textproc/expat/buildlink3.mk"
1.1       jschauma   62: .include "../../databases/rrdtool/buildlink3.mk"
                     63: .include "../../mk/pthread.buildlink3.mk"
                     64:
                     65: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>