diff options
author | vanilla <vanilla@FreeBSD.org> | 2014-08-15 14:12:18 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2014-08-15 14:12:18 +0800 |
commit | 766f3f05f5a96d42f74061937028230e2805ecd9 (patch) | |
tree | 049248eafcda90694ded3a17b0ebe196fe2af54c /graphics/deegree-wms | |
parent | d51d0cdc8e2f70aa14e16b21c738985656c17b4a (diff) | |
download | freebsd-ports-gnome-766f3f05f5a96d42f74061937028230e2805ecd9.tar.gz freebsd-ports-gnome-766f3f05f5a96d42f74061937028230e2805ecd9.tar.zst freebsd-ports-gnome-766f3f05f5a96d42f74061937028230e2805ecd9.zip |
Stagify.
Diffstat (limited to 'graphics/deegree-wms')
-rw-r--r-- | graphics/deegree-wms/Makefile | 17 | ||||
-rw-r--r-- | graphics/deegree-wms/pkg-plist | 2 |
2 files changed, 6 insertions, 13 deletions
diff --git a/graphics/deegree-wms/Makefile b/graphics/deegree-wms/Makefile index cf2e3330733c..c71b675b6b10 100644 --- a/graphics/deegree-wms/Makefile +++ b/graphics/deegree-wms/Makefile @@ -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> diff --git a/graphics/deegree-wms/pkg-plist b/graphics/deegree-wms/pkg-plist index 35ba1b79f9f1..787a4d445b2f 100644 --- a/graphics/deegree-wms/pkg-plist +++ b/graphics/deegree-wms/pkg-plist @@ -1,3 +1,4 @@ +@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 -@dirrm %%TOMCATDIR%%/webapps |