pkgsrc/www/ganglia-webfrontend/Makefile
joerg 3d8ef5a52d Second round of explicit pax dependencies. As reminded by tnn@,
many packages used to use ${PAX}. Use the common way of directly calling
pax, it is created as tool after all.
2008-05-26 02:13:14 +00:00

38 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.7 2008/05/26 02:13:25 joerg Exp $
#
DISTNAME= ganglia-3.0.1
PKGNAME= ganglia-webfrontend-3.0.1
PKGREVISION= 3
CATEGORIES= www parallel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ganglia/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= jschauma@NetBSD.org
HOMEPAGE= http://ganglia.sourceforge.net/
COMMENT= PHP based frontend for the Ganglia Cluster Monitor
DEPENDS+= ${APACHE_PKG_PREFIX}-${PHP_PKG_PREFIX}>=4.1:../../www/ap-php
DEPENDS+= ganglia-monitor-core>=3.0.1:../../parallel/ganglia-monitor-core
USE_TOOLS+= pax
NO_BUILD= YES
WRKSRC= ${WRKDIR}/${DISTNAME}/web/
DOCROOT= ${PREFIX}/share/httpd/htdocs/ganglia
MESSAGE_SUBST+= PREFIX=${PREFIX} PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
do-configure:
${SED} -e "s|@PREFIX@|${PREFIX}|g" ${WRKSRC}/conf.php > \
${WRKSRC}/conf.php.tmp && \
${MV} ${WRKSRC}/conf.php.tmp ${WRKSRC}/conf.php
${RM} ${WRKSRC}/conf.php.orig ${WRKSRC}/templates/default/footer.tpl.orig
do-install:
${INSTALL_DATA_DIR} ${DOCROOT}
cd ${WRKSRC} && pax -rw . ${DOCROOT}/
.include "../../mk/apachever.mk"
.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"