svn commit: r364936 - head/graphics/deegree-wms
Vanilla I. Shu
vanilla at FreeBSD.org
Fri Aug 15 06:12:19 UTC 2014
Author: vanilla
Date: Fri Aug 15 06:12:18 2014
New Revision: 364936
URL: http://svnweb.freebsd.org/changeset/ports/364936
QAT: https://qat.redports.org/buildarchive/r364936/
Log:
Stagify.
Modified:
head/graphics/deegree-wms/Makefile
head/graphics/deegree-wms/pkg-plist
Modified: head/graphics/deegree-wms/Makefile
==============================================================================
--- head/graphics/deegree-wms/Makefile Fri Aug 15 04:57:37 2014 (r364935)
+++ head/graphics/deegree-wms/Makefile Fri Aug 15 06:12:18 2014 (r364936)
@@ -21,16 +21,13 @@ APPHOME= ${LOCALBASE}/${TOMCATVER}
WEBAPPDIR= ${TOMCATDIR}/webapps
PORTDOCS= README.txt deegree_charts_documentation_en.pdf deegree_wms_documentation_en.pdf
DOCSDIR= ${PREFIX}/share/doc/deegree-wms
-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-wms.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-wms/pkg-plist
==============================================================================
--- head/graphics/deegree-wms/pkg-plist Fri Aug 15 04:57:37 2014 (r364935)
+++ head/graphics/deegree-wms/pkg-plist Fri Aug 15 06:12:18 2014 (r364936)
@@ -1,3 +1,4 @@
+ at exec chown %%WWWOWN%%:%%WWWGRP%% %D/%%TOMCATDIR%%/webapps/deegree-wms
%%TOMCATDIR%%/webapps/deegree-wms/META-INF/MANIFEST.MF
%%TOMCATDIR%%/webapps/deegree-wms/WEB-INF/classes/log4j.properties
%%TOMCATDIR%%/webapps/deegree-wms/WEB-INF/classes/org/apache/batik/util/resources/XMLResourceDescriptor.properties
@@ -2070,4 +2071,3 @@
@dirrm %%TOMCATDIR%%/webapps/deegree-wms/WEB-INF
@dirrm %%TOMCATDIR%%/webapps/deegree-wms/META-INF
@dirrm %%TOMCATDIR%%/webapps/deegree-wms
- at dirrm %%TOMCATDIR%%/webapps
More information about the svn-ports-all
mailing list