aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authormarino <marino@FreeBSD.org>2014-07-27 21:51:50 +0800
committermarino <marino@FreeBSD.org>2014-07-27 21:51:50 +0800
commit085f7accb02b8f210ee62b0e7f6f7715283a2b69 (patch)
tree8b85d65c40209b82fb1c60135f9ab198ebfe2966 /net-mgmt
parentbd91c273c8dd1284e9d91c9df77fa97022e05810 (diff)
downloadfreebsd-ports-gnome-085f7accb02b8f210ee62b0e7f6f7715283a2b69.tar.gz
freebsd-ports-gnome-085f7accb02b8f210ee62b0e7f6f7715283a2b69.tar.zst
freebsd-ports-gnome-085f7accb02b8f210ee62b0e7f6f7715283a2b69.zip
stage net-mgmt/nagvis
PR: 191715 Submitted by: Dan Lukes Tweaks by: marino
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>