Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jul 2014 13:51:51 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r363066 - head/net-mgmt/nagvis
Message-ID:  <201407271351.s6RDppsr019769@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sun Jul 27 13:51:50 2014
New Revision: 363066
URL: http://svnweb.freebsd.org/changeset/ports/363066
QAT: https://qat.redports.org/buildarchive/r363066/

Log:
  stage net-mgmt/nagvis
  
  PR:		191715
  Submitted by:	Dan Lukes
  Tweaks by:	marino

Modified:
  head/net-mgmt/nagvis/Makefile

Modified: head/net-mgmt/nagvis/Makefile
==============================================================================
--- head/net-mgmt/nagvis/Makefile	Sun Jul 27 13:38:24 2014	(r363065)
+++ head/net-mgmt/nagvis/Makefile	Sun Jul 27 13:51:50 2014	(r363066)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407271351.s6RDppsr019769>