summaryrefslogtreecommitdiff
path: root/www/ganglia-webfrontend/Makefile
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2005-02-07 14:39:27 +0000
committerjschauma <jschauma@pkgsrc.org>2005-02-07 14:39:27 +0000
commit8d23e628364f6a1a68647e408e7ade7010f27511 (patch)
tree20c74976386fee0cec7c09844455dde37887511c /www/ganglia-webfrontend/Makefile
parentd56a3ed63c836de6a9e483d921321d5b82d40539 (diff)
downloadpkgsrc-8d23e628364f6a1a68647e408e7ade7010f27511.tar.gz
Initial import of ganglia-webfrontend:
Ganglia provides a complete real-time monitoring and execution environment that is in use by hundreds of universities, private and government laboratories and commercial cluster implementors around the world. Whether you want to monitor hundreds of computers in real-time across a university campus or around the world, ganglia is for you. The ganglia web frontend provides access to the data collected by the monitoring core (parallel/ganglia-monitor-core) via the web.
Diffstat (limited to 'www/ganglia-webfrontend/Makefile')
-rw-r--r--www/ganglia-webfrontend/Makefile30
1 files changed, 30 insertions, 0 deletions
diff --git a/www/ganglia-webfrontend/Makefile b/www/ganglia-webfrontend/Makefile
new file mode 100644
index 00000000000..a7a469044d1
--- /dev/null
+++ b/www/ganglia-webfrontend/Makefile
@@ -0,0 +1,30 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/02/07 14:39:27 jschauma Exp $
+#
+
+DISTNAME= ganglia-webfrontend-2.5.7
+CATEGORIES= www parallel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ganglia/}
+
+MAINTAINER= jschauma@NetBSD.org
+HOMEPAGE= http://ganglia.sourceforge.net/
+COMMENT= PHP based frontend for the Ganglia Cluster Monitor
+
+DEPENDS+= ap-php>=4.1:../../www/ap-php
+DEPENDS+= ganglia-monitor-core>=2.5.7:../../parallel/ganglia-monitor-core
+
+NO_BUILD= YES
+
+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/bsd.pkg.mk"