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

1.6     ! rillig      1: # $NetBSD: Makefile,v 1.5 2005/04/13 01:57:29 jschauma Exp $
1.1       jschauma    2: #
                      3:
1.3       jschauma    4: DISTNAME=              ganglia-3.0.1
                      5: PKGNAME=               ganglia-monitor-core-3.0.1
1.5       jschauma    6: PKGREVISION=           1
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:
                     15: HAS_CONFIGURE=         YES
                     16: USE_PKGINSTALL=                YES
                     17:
1.6     ! rillig     18: CONFIGURE_ARGS+=       --prefix=${PREFIX:Q}
1.1       jschauma   19: CONFIGURE_ARGS+=       --with-gmetad
                     20:
1.2       jschauma   21: PATCH_ETC=             mans/gmetad.1 mans/gmond.1                      \
                     22:                        gmetad/cmdline.c gmetad/conf.c                  \
                     23:                        gmond/cmdline.c gmond/g25_config.h              \
                     24:                        ganglia.html
1.1       jschauma   25:
                     26: PATCH_RCS=             gmond gmetad
                     27:
                     28: EGDIR=                 ${PREFIX}/share/examples/ganglia
                     29: CONF_FILES=            ${EGDIR}/gmond.conf ${PKG_SYSCONFDIR}/gmond.conf
                     30: CONF_FILES+=           ${EGDIR}/gmetad.conf ${PKG_SYSCONFDIR}/gmetad.conf
                     31:
                     32: RCD_SCRIPTS=           gmond gmetad
                     33:
1.2       jschauma   34: pre-patch:
                     35:        ${MKDIR} ${WRKSRC}/srclib/libmetrics/netbsd
                     36:
1.1       jschauma   37: post-patch:
                     38: .for pfile in ${PATCH_ETC}
                     39:        ${SED} -e 's|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g'              \
                     40:                ${WRKSRC}/${pfile} > ${WRKSRC}/${pfile}.tmp &&          \
                     41:                ${MV}  ${WRKSRC}/${pfile}.tmp ${WRKSRC}/${pfile}
                     42: .endfor
                     43: .for pfile in ${PATCH_RCS}
                     44:        ${SED} -e 's|@PKG_SYSCONFDIR@|${PKG_SYSCONFDIR}|g'              \
                     45:                -e 's|@PREFIX@|${PREFIX}|g'                             \
                     46:                -e 's|@RCD_SCRIPTS_SHELL@|${RCD_SCRIPTS_SHELL}|g'       \
                     47:                ${FILESDIR}/${pfile}.in > ${WRKSRC}/${pfile}.sh
                     48: .endfor
                     49:
                     50: post-install:
                     51:        ${INSTALL_MAN} ${WRKSRC}/mans/gmetad.1 ${PREFIX}/man/man1/
                     52:        ${INSTALL_MAN} ${WRKSRC}/mans/gmetric.1 ${PREFIX}/man/man1/
                     53:        ${INSTALL_MAN} ${WRKSRC}/mans/gmond.1 ${PREFIX}/man/man1/
                     54:        ${INSTALL_MAN} ${WRKSRC}/mans/gstat.1 ${PREFIX}/man/man1/
1.2       jschauma   55:        ${INSTALL_DATA_DIR} ${EGDIR}
                     56:        ${INSTALL_DATA} ${WRKSRC}/gmetad/gmetad.conf ${EGDIR}/
                     57:        ${PREFIX}/sbin/gmond -t > ${EGDIR}/gmond.conf
1.1       jschauma   58:        ${INSTALL_DATA_DIR} ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}
                     59:        ${INSTALL_DATA} ${WRKSRC}/gmond.sh ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/gmond
                     60:        ${INSTALL_DATA} ${WRKSRC}/gmetad.sh ${PREFIX}/${RCD_SCRIPTS_EXAMPLEDIR}/gmetad
                     61:
                     62: .include "../../databases/rrdtool/buildlink3.mk"
                     63: .include "../../mk/pthread.buildlink3.mk"
                     64:
                     65: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>