Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Aug 2014 03:17:35 +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: r364925 - head/graphics/deegree-csw
Message-ID:  <201408150317.s7F3HZkD082561@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vanilla
Date: Fri Aug 15 03:17:35 2014
New Revision: 364925
URL: http://svnweb.freebsd.org/changeset/ports/364925
QAT: https://qat.redports.org/buildarchive/r364925/

Log:
  Stagify.

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

Modified: head/graphics/deegree-csw/Makefile
==============================================================================
--- head/graphics/deegree-csw/Makefile	Fri Aug 15 03:02:56 2014	(r364924)
+++ head/graphics/deegree-csw/Makefile	Fri Aug 15 03:17:35 2014	(r364925)
@@ -22,16 +22,13 @@ WEBAPPDIR=	${TOMCATDIR}/webapps
 PORTDOCS=	README.txt deegree_csw_2.0.2_documentation_en.pdf \
 		deegree_csw_documentation_de.pdf deegree_csw_documentation_en.pdf
 DOCSDIR=	${PREFIX}/share/doc/${DISTNAME}
-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>
@@ -55,13 +52,9 @@ post-extract:
 	@${TAR} xf ${WRKDIR}/deegree-csw.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-csw/pkg-plist
==============================================================================
--- head/graphics/deegree-csw/pkg-plist	Fri Aug 15 03:02:56 2014	(r364924)
+++ head/graphics/deegree-csw/pkg-plist	Fri Aug 15 03:17:35 2014	(r364925)
@@ -1,3 +1,4 @@
+@exec chown %%WWWOWN%%:%%WWWGRP%% %D/%%TOMCATDIR%%/webapps/deegree-csw
 %%TOMCATDIR%%/webapps/deegree-csw/META-INF/MANIFEST.MF
 %%TOMCATDIR%%/webapps/deegree-csw/WEB-INF/classes/harvestrepository.properties
 %%TOMCATDIR%%/webapps/deegree-csw/WEB-INF/classes/log4j.properties
@@ -542,4 +543,3 @@
 @dirrm %%TOMCATDIR%%/webapps/deegree-csw/WEB-INF
 @dirrm %%TOMCATDIR%%/webapps/deegree-csw/META-INF
 @dirrm %%TOMCATDIR%%/webapps/deegree-csw
-@dirrm %%TOMCATDIR%%/webapps



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