blob: a7a469044d150479ff2975b83d12c9047416c2f9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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"
|