diff options
Diffstat (limited to 'www/ganglia-webfrontend/Makefile')
-rw-r--r-- | www/ganglia-webfrontend/Makefile | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/www/ganglia-webfrontend/Makefile b/www/ganglia-webfrontend/Makefile index a9d2cc08129..ab2694b9507 100644 --- a/www/ganglia-webfrontend/Makefile +++ b/www/ganglia-webfrontend/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2009/01/23 21:14:16 jschauma Exp $ +# $NetBSD: Makefile,v 1.9 2009/02/16 13:53:45 joerg Exp $ # DISTNAME= ganglia-3.0.1 @@ -8,10 +8,12 @@ CATEGORIES= www parallel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ganglia/} EXTRACT_SUFX= .tar.bz2 -MAINTAINER= pkgsrc-users@@NetBSD.org +MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://ganglia.sourceforge.net/ COMMENT= PHP based frontend for the Ganglia Cluster Monitor +PKG_DESTDIR_SUPPORT= user-destdir + DEPENDS+= ${APACHE_PKG_PREFIX}-${PHP_PKG_PREFIX}>=4.1:../../www/ap-php DEPENDS+= ganglia-monitor-core>=3.0.1:../../parallel/ganglia-monitor-core @@ -23,6 +25,8 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/web/ DOCROOT= ${PREFIX}/share/httpd/htdocs/ganglia MESSAGE_SUBST+= PREFIX=${PREFIX} PKG_SYSCONFDIR=${PKG_SYSCONFDIR} +INSTALLATION_DIRS= ${DOCROOT} + do-configure: ${SED} -e "s|@PREFIX@|${PREFIX}|g" ${WRKSRC}/conf.php > \ ${WRKSRC}/conf.php.tmp && \ @@ -30,8 +34,7 @@ do-configure: ${RM} ${WRKSRC}/conf.php.orig ${WRKSRC}/templates/default/footer.tpl.orig do-install: - ${INSTALL_DATA_DIR} ${DOCROOT} - cd ${WRKSRC} && pax -rw . ${DOCROOT}/ + cd ${WRKSRC} && pax -rw . ${DESTDIR}${DOCROOT}/ .include "../../mk/apachever.mk" .include "../../lang/php/phpversion.mk" |