aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/rackmonkey
diff options
context:
space:
mode:
authorwxs <wxs@FreeBSD.org>2010-04-01 01:16:42 +0800
committerwxs <wxs@FreeBSD.org>2010-04-01 01:16:42 +0800
commit56d083555214eceb11c6b82c1061655b59caa601 (patch)
treeb4c74bb5547831d8f2f13c713e9b7bcb65b5069b /net-mgmt/rackmonkey
parent6d7cf1fee47375c07498a8c8344d8371df8d9647 (diff)
downloadfreebsd-ports-gnome-56d083555214eceb11c6b82c1061655b59caa601.tar.gz
freebsd-ports-gnome-56d083555214eceb11c6b82c1061655b59caa601.tar.zst
freebsd-ports-gnome-56d083555214eceb11c6b82c1061655b59caa601.zip
Fix issue when installing with mysql or postgres options.
PR: ports/145173 Submitted by: Eric F Crist <ecrist@secure-computing.net> (maintainer)
Diffstat (limited to 'net-mgmt/rackmonkey')
-rw-r--r--net-mgmt/rackmonkey/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/net-mgmt/rackmonkey/Makefile b/net-mgmt/rackmonkey/Makefile
index eaebafca3d24..90d489c16478 100644
--- a/net-mgmt/rackmonkey/Makefile
+++ b/net-mgmt/rackmonkey/Makefile
@@ -7,7 +7,7 @@
PORTNAME= rackmonkey
PORTVERSION= 1.2.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net-mgmt www
MASTER_SITES= SF
DISTNAME= ${PORTNAME}-${PORTVERSION}-1
@@ -54,10 +54,10 @@ do-install:
cd ${WRKSRC}/www && ${COPYTREE_SHARE} \* ${WWWDIR}/
cd ${WRKSRC} && ${COPYTREE_SHARE} tmpl ${WWWDIR}/
cd ${WRKSRC}/perl && ${COPYTREE_SHARE} RackMonkey ${WWWDIR}/
+ ${MKDIR} ${WRKDIR}/build_conf; \
+ ${CP} ${WRKSRC}/conf/rackmonkey.conf-default ${WRKDIR}/build_conf/rackmonkey.conf; \
if [ "${WITH_SQLITE}" ]; then \
${ECHO} "Building with SQLite............."; \
- ${MKDIR} ${WRKDIR}/build_conf; \
- ${CP} ${WRKSRC}/conf/rackmonkey.conf-default ${WRKDIR}/build_conf/rackmonkey.conf; \
${SED} -i '' -e 's%dbconnect =%dbconnect = dbi:SQLite:dbname=${WWWDIR}/rackmonkey.db%' ${WRKDIR}/build_conf/rackmonkey.conf; \
if [ "${WITH_INIT_DB}" ]; then \
if [ -e "${WWWDIR}/rackmonkey.db" ]; then \