aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-12-23 03:31:48 +0000
committerPhilip M. Gollucci <pgollucci@FreeBSD.org>2010-12-23 03:31:48 +0000
commit3268cd9d3058a6dfb00e123ac4b2eb13cc339c9f (patch)
tree20190432c93db855620e755b3196bccd3e172f4e /net-mgmt
parentd15b7a26c3b0ed7c72c6bcc5d9941b8c9d9c5fbe (diff)
downloadports-3268cd9d3058a6dfb00e123ac4b2eb13cc339c9f.tar.gz
ports-3268cd9d3058a6dfb00e123ac4b2eb13cc339c9f.zip
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/rackmonkey/Makefile6
-rw-r--r--net-mgmt/rackmonkey/pkg-plist2
2 files changed, 7 insertions, 1 deletions
diff --git a/net-mgmt/rackmonkey/Makefile b/net-mgmt/rackmonkey/Makefile
index 44813c41b6d7..663c09d6362f 100644
--- a/net-mgmt/rackmonkey/Makefile
+++ b/net-mgmt/rackmonkey/Makefile
@@ -51,6 +51,12 @@ USE_PGSQL= 83
RUN_DEPENDS+= p5-DBD-Pg>=0:${PORTSDIR}/databases/p5-DBD-Pg
.endif
+.if defined(INIT_DB)
+PLIST_SUB+= INIT_DB=""
+.else
+PLIST_SUB+= INIT_DB="@comment "
+.endif
+
do-install:
${MKDIR} ${WWWDIR}/
${INSTALL} ${WRKSRC}/perl/rackmonkey.pl ${WRKSRC}/perl/rack2xls.pl ${WRKSRC}/perl/rackdns.pl ${WWWDIR}/
diff --git a/net-mgmt/rackmonkey/pkg-plist b/net-mgmt/rackmonkey/pkg-plist
index 442ee1f5a88d..329c7570b469 100644
--- a/net-mgmt/rackmonkey/pkg-plist
+++ b/net-mgmt/rackmonkey/pkg-plist
@@ -1,5 +1,5 @@
%%WWWDIR%%/rackmonkey.pl
-%%WWWDIR%%/rackmonkey.db
+%%INIT_DB%%%%WWWDIR%%/rackmonkey.db
%%WWWDIR%%/rack2xls.pl
%%WWWDIR%%/rackdns.pl
%%WWWDIR%%/graphics/favicon.ico