aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-07-27 13:51:50 +0000
committerJohn Marino <marino@FreeBSD.org>2014-07-27 13:51:50 +0000
commit0059c8e29f873595246512c0de87f6144e4e924b (patch)
tree8b85d65c40209b82fb1c60135f9ab198ebfe2966 /net-mgmt
parent9844b98417a1d6d1d8df78496f9a3e7e074d33c1 (diff)
downloadports-0059c8e29f873595246512c0de87f6144e4e924b.tar.gz
ports-0059c8e29f873595246512c0de87f6144e4e924b.zip
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/nagvis/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/net-mgmt/nagvis/Makefile b/net-mgmt/nagvis/Makefile
index 9691568a3125..dd461bb3a0d8 100644
--- a/net-mgmt/nagvis/Makefile
+++ b/net-mgmt/nagvis/Makefile
@@ -3,6 +3,7 @@
PORTNAME= nagvis
PORTVERSION= 1.7.2
+PORTREVISION= 1
CATEGORIES= net-mgmt
MASTER_SITES= SF
MASTER_SITE_SUBDIR=${PORTNAME}/NagVis%201.7
@@ -24,7 +25,6 @@ NO_BUILD= yes
USE_PHP= gd gettext mbstring session json pdo pdo_sqlite
WANT_PHP_WEB= yes
-NO_STAGE= yes
.include <bsd.port.options.mk>
WWW_OWNER?= ${WWWOWN}
@@ -35,6 +35,7 @@ FILEMODE?= 640
SUB_LIST+= WWW_OWNER=${WWW_OWNER} WWW_GROUP=${WWW_GROUP} \
DIRMODE=${DIRMODE} FILEMODE=${FILEMODE}
SUB_FILES+= pkg-install pkg-deinstall
+PLIST_SUB+= WWWDIR="${WWWDIR}"
.if ${PORT_OPTIONS:MNDO2DB}
USE_PHP+= mysql
@@ -60,9 +61,10 @@ post-patch:
${WRKSRC}/etc/nagvis.ini.php-sample
do-install:
- @( cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${WWWDIR}/ )
-
-post-install:
- @${SH} ${PKGINSTALL} ${DISTNAME} POST-INSTALL
+ cd ${WRKSRC} && ${COPYTREE_SHARE} \* ${STAGEDIR}${WWWDIR}/
+ ${MKDIR} ${STAGEDIR}${WWWDIR}/etc/automaps \
+ ${STAGEDIR}${WWWDIR}/share/var \
+ ${STAGEDIR}${WWWDIR}/var/tmpl/cache \
+ ${STAGEDIR}${WWWDIR}/var/tmpl/compile
.include <bsd.port.mk>