Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Aug 2014 07:08:33 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364942 - head/graphics/deegree-wps
Message-ID:  <201408150708.s7F78XAX086723@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Fri Aug 15 07:08:33 2014
New Revision: 364942
URL: http://svnweb.freebsd.org/changeset/ports/364942
QAT: https://qat.redports.org/buildarchive/r364942/

Log:
  Stagify.

Modified:
  head/graphics/deegree-wps/Makefile
  head/graphics/deegree-wps/pkg-plist

Modified: head/graphics/deegree-wps/Makefile
==============================================================================
--- head/graphics/deegree-wps/Makefile	Fri Aug 15 07:06:28 2014	(r364941)
+++ head/graphics/deegree-wps/Makefile	Fri Aug 15 07:08:33 2014	(r364942)
@@ -21,16 +21,13 @@ APPHOME=	${LOCALBASE}/${TOMCATVER}
 WEBAPPDIR=	${TOMCATDIR}/webapps
 PORTDOCS=	README.txt deegree_wps_documentation_en.pdf
 DOCSDIR=	${PREFIX}/share/doc/deegree-wps
-PLIST_SUB=	TOMCATDIR=${TOMCATDIR:S|^${PREFIX}/||}
+PLIST_SUB=	TOMCATDIR=${TOMCATDIR:S|^${PREFIX}/||} WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
 SUB_FILES=	pkg-message
 SUB_LIST=	TCPORT=${TCPORT}
 
 OPTIONS_SINGLE=	AS
 OPTIONS_SINGLE_AS=	TOMCAT6 TOMCAT7
 OPTIONS_DEFAULT=	TOMCAT6
-
-NO_STAGE=	yes
-
 OPTIONS_DEFINE=	DOCS
 
 .include <bsd.port.options.mk>
@@ -54,13 +51,9 @@ post-extract:
 	@${TAR} xf ${WRKDIR}/deegree-wps.war -C ${WRKDIR}/${PORTDIRNAME}
 
 do-install:
-	${INSTALL} -d -o ${WWWOWN} -g ${WWWGRP} ${TOMCATDIR}/webapps/${PORTDIRNAME}
-	@cd ${WRKDIR}/${PORTDIRNAME} && ${COPYTREE_SHARE} \* ${WEBAPPDIR}/${PORTDIRNAME}
-
-.if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKDIR}/|} ${DOCSDIR}
-.endif
-	@${CAT} ${PKGMESSAGE}
+	${INSTALL} -d ${STAGEDIR}${WEBAPPDIR}/${PORTDIRNAME}
+	@cd ${WRKDIR}/${PORTDIRNAME} && ${COPYTREE_SHARE} \* ${STAGEDIR}${WEBAPPDIR}/${PORTDIRNAME}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKDIR}/|} ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/graphics/deegree-wps/pkg-plist
==============================================================================
--- head/graphics/deegree-wps/pkg-plist	Fri Aug 15 07:06:28 2014	(r364941)
+++ head/graphics/deegree-wps/pkg-plist	Fri Aug 15 07:08:33 2014	(r364942)
@@ -1,3 +1,8 @@
+@owner %%WWWOWN%%
+@group %%WWWGRP%%
+@dirrm %%TOMCATDIR%%/webapps/deegree-wps
+@group wheel
+@group root
 %%TOMCATDIR%%/webapps/deegree-wps/META-INF/MANIFEST.MF
 %%TOMCATDIR%%/webapps/deegree-wps/WEB-INF/classes/log4j.properties
 %%TOMCATDIR%%/webapps/deegree-wps/WEB-INF/conf/wps/processConfigs/buffer_process_config.xml
@@ -54,4 +59,3 @@
 @dirrm %%TOMCATDIR%%/webapps/deegree-wps/WEB-INF
 @dirrm %%TOMCATDIR%%/webapps/deegree-wps/META-INF
 @dirrm %%TOMCATDIR%%/webapps/deegree-wps
-@dirrm %%TOMCATDIR%%/webapps



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