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

1.31    ! obache      1: # $NetBSD: Makefile,v 1.30 2011/01/13 13:39:09 wiz Exp $
1.1       jschauma    2: #
                      3:
1.24      brook       4: DISTNAME=              ganglia-3.1.2
                      5: PKGNAME=               ganglia-monitor-core-3.1.2
1.31    ! obache      6: PKGREVISION=           6
1.1       jschauma    7: CATEGORIES=            net parallel
                      8: MASTER_SITES=          ${MASTER_SITE_SOURCEFORGE:=ganglia/}
                      9:
1.23      hasso      10: MAINTAINER=            pkgsrc-users@NetBSD.org
1.1       jschauma   11: HOMEPAGE=              http://ganglia.sourceforge.net/
                     12: COMMENT=               Ganglia cluster monitor, monitoring daemon
                     13:
1.20      joerg      14: PKG_DESTDIR_SUPPORT=   user-destdir
                     15:
1.24      brook      16: GNU_CONFIGURE=         yes
1.1       jschauma   17:
                     18: CONFIGURE_ARGS+=       --with-gmetad
1.10      joerg      19: USE_LIBTOOL=           yes
1.27      asau       20: USE_LANGUAGES+=                c c++ fortran77
1.1       jschauma   21:
1.24      brook      22: PLIST_VARS+=           python
                     23:
                     24: PKG_OPTIONS_VAR=       PKG_OPTIONS.ganglia
                     25: PKG_SUPPORTED_OPTIONS= python          # Gmond support for python modules
                     26:
                     27: .include "../../mk/bsd.options.mk"
                     28:
                     29: .if !empty(PKG_OPTIONS:Mpython)
                     30: CONFIGURE_ARGS+=       --with-python=${PYTHONBIN}
                     31: PLIST.python=          yes
                     32: .include "../../lang/python/application.mk"
                     33: .else
                     34: CONFIGURE_ARGS+=       --disable-python
                     35: .endif
                     36:
                     37: SUBST_CLASSES+=                pkg_sysconfdir
                     38: SUBST_STAGE.pkg_sysconfdir=    pre-configure
                     39: SUBST_MESSAGE.pkg_sysconfdir=  Fixing PKG_SYSCONFDIR
                     40: SUBST_FILES.pkg_sysconfdir=    ganglia.html                            \
                     41:                                gmetad/cmdline.c gmetad/cmdline.h       \
                     42:                                gmetric/cmdline.c gmetric/cmdline.h     \
                     43:                                gmond/cmdline.c gmond/cmdline.h         \
                     44:                                gmond/g25_config.h gmond/gmond.conf.5   \
                     45:                                gmond/modules/conf.d/modpython.conf     \
                     46:                                gmond/modules/conf.d/modpython.conf.in  \
                     47:                                gmond/modules/python/README.in          \
                     48:                                mans/gmetad.1 mans/gmetric.1 mans/gmond.1
                     49: SUBST_SED.pkg_sysconfdir+=     -e 's,/etc/ganglia,${PKG_SYSCONFDIR},g'
                     50: SUBST_SED.pkg_sysconfdir+=     -e 's,/usr/lib/ganglia,${PREFIX}/lib/ganglia,g'
                     51:
                     52: DOCDIR=                        ${PREFIX}/share/doc/ganglia
1.1       jschauma   53: EGDIR=                 ${PREFIX}/share/examples/ganglia
                     54: CONF_FILES=            ${EGDIR}/gmond.conf ${PKG_SYSCONFDIR}/gmond.conf
                     55: CONF_FILES+=           ${EGDIR}/gmetad.conf ${PKG_SYSCONFDIR}/gmetad.conf
                     56:
                     57: RCD_SCRIPTS=           gmond gmetad
                     58:
1.24      brook      59: INSTALLATION_DIRS=     ${DOCDIR} ${EGDIR} ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
1.1       jschauma   60:
                     61: post-install:
1.20      joerg      62:        ${INSTALL_MAN} ${WRKSRC}/mans/gmetad.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
                     63:        ${INSTALL_MAN} ${WRKSRC}/mans/gmetric.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
                     64:        ${INSTALL_MAN} ${WRKSRC}/mans/gmond.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
                     65:        ${INSTALL_MAN} ${WRKSRC}/mans/gstat.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
1.24      brook      66:        ${INSTALL_MAN} ${WRKSRC}/gmond/gmond.conf.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/
1.20      joerg      67:        ${INSTALL_DATA} ${WRKSRC}/gmetad/gmetad.conf ${DESTDIR}${EGDIR}/
1.24      brook      68:        ${WRKSRC}/gmond/gmond -t > ${DESTDIR}${EGDIR}/gmond.conf
                     69:        ${INSTALL_DATA} ${WRKSRC}/gmond/modules/python/README ${DESTDIR}${DOCDIR}/
1.10      joerg      70:
1.1       jschauma   71: .include "../../databases/rrdtool/buildlink3.mk"
1.24      brook      72: .include "../../devel/apr/buildlink3.mk"
                     73: .include "../../devel/confuse/buildlink3.mk"
1.1       jschauma   74: .include "../../mk/pthread.buildlink3.mk"
1.24      brook      75: .include "../../textproc/expat/buildlink3.mk"
1.1       jschauma   76:
                     77: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>