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

1.47    ! wiz         1: # $NetBSD: Makefile,v 1.46 2013/06/04 22:16:57 tron Exp $
1.1       jschauma    2: #
                      3:
1.24      brook       4: DISTNAME=              ganglia-3.1.2
                      5: PKGNAME=               ganglia-monitor-core-3.1.2
1.47    ! wiz         6: PKGREVISION=           20
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.24      brook      14: GNU_CONFIGURE=         yes
1.38      sbd        15: SET_LIBDIR=            yes
1.1       jschauma   16:
                     17: CONFIGURE_ARGS+=       --with-gmetad
1.10      joerg      18: USE_LIBTOOL=           yes
1.36      fhajny     19: USE_LANGUAGES+=                c c++ c99 fortran77
1.1       jschauma   20:
1.24      brook      21: PLIST_VARS+=           python
                     22:
                     23: PKG_OPTIONS_VAR=       PKG_OPTIONS.ganglia
                     24: PKG_SUPPORTED_OPTIONS= python          # Gmond support for python modules
                     25:
                     26: .include "../../mk/bsd.options.mk"
                     27:
                     28: .if !empty(PKG_OPTIONS:Mpython)
                     29: CONFIGURE_ARGS+=       --with-python=${PYTHONBIN}
                     30: PLIST.python=          yes
                     31: .include "../../lang/python/application.mk"
                     32: .else
                     33: CONFIGURE_ARGS+=       --disable-python
                     34: .endif
                     35:
                     36: SUBST_CLASSES+=                pkg_sysconfdir
                     37: SUBST_STAGE.pkg_sysconfdir=    pre-configure
                     38: SUBST_MESSAGE.pkg_sysconfdir=  Fixing PKG_SYSCONFDIR
                     39: SUBST_FILES.pkg_sysconfdir=    ganglia.html                            \
                     40:                                gmetad/cmdline.c gmetad/cmdline.h       \
                     41:                                gmetric/cmdline.c gmetric/cmdline.h     \
                     42:                                gmond/cmdline.c gmond/cmdline.h         \
                     43:                                gmond/g25_config.h gmond/gmond.conf.5   \
                     44:                                gmond/modules/conf.d/modpython.conf     \
                     45:                                gmond/modules/conf.d/modpython.conf.in  \
                     46:                                gmond/modules/python/README.in          \
                     47:                                mans/gmetad.1 mans/gmetric.1 mans/gmond.1
                     48: SUBST_SED.pkg_sysconfdir+=     -e 's,/etc/ganglia,${PKG_SYSCONFDIR},g'
                     49: SUBST_SED.pkg_sysconfdir+=     -e 's,/usr/lib/ganglia,${PREFIX}/lib/ganglia,g'
                     50:
                     51: DOCDIR=                        ${PREFIX}/share/doc/ganglia
1.1       jschauma   52: EGDIR=                 ${PREFIX}/share/examples/ganglia
                     53: CONF_FILES=            ${EGDIR}/gmond.conf ${PKG_SYSCONFDIR}/gmond.conf
                     54: CONF_FILES+=           ${EGDIR}/gmetad.conf ${PKG_SYSCONFDIR}/gmetad.conf
                     55:
                     56: RCD_SCRIPTS=           gmond gmetad
                     57:
1.24      brook      58: INSTALLATION_DIRS=     ${DOCDIR} ${EGDIR} ${PKGMANDIR}/man1 ${PKGMANDIR}/man5
1.1       jschauma   59:
                     60: post-install:
1.20      joerg      61:        ${INSTALL_MAN} ${WRKSRC}/mans/gmetad.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
                     62:        ${INSTALL_MAN} ${WRKSRC}/mans/gmetric.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
                     63:        ${INSTALL_MAN} ${WRKSRC}/mans/gmond.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
                     64:        ${INSTALL_MAN} ${WRKSRC}/mans/gstat.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
1.24      brook      65:        ${INSTALL_MAN} ${WRKSRC}/gmond/gmond.conf.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/
1.20      joerg      66:        ${INSTALL_DATA} ${WRKSRC}/gmetad/gmetad.conf ${DESTDIR}${EGDIR}/
1.24      brook      67:        ${WRKSRC}/gmond/gmond -t > ${DESTDIR}${EGDIR}/gmond.conf
                     68:        ${INSTALL_DATA} ${WRKSRC}/gmond/modules/python/README ${DESTDIR}${DOCDIR}/
1.10      joerg      69:
1.1       jschauma   70: .include "../../databases/rrdtool/buildlink3.mk"
1.24      brook      71: .include "../../devel/apr/buildlink3.mk"
                     72: .include "../../devel/confuse/buildlink3.mk"
1.1       jschauma   73: .include "../../mk/pthread.buildlink3.mk"
1.24      brook      74: .include "../../textproc/expat/buildlink3.mk"
1.1       jschauma   75:
                     76: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>