svn commit: r356589 - head/www/phpgedview

Martin Wilke miwi at FreeBSD.org
Thu Jun 5 05:25:04 UTC 2014


Author: miwi
Date: Thu Jun  5 05:25:03 2014
New Revision: 356589
URL: http://svnweb.freebsd.org/changeset/ports/356589
QAT: https://qat.redports.org/buildarchive/r356589/

Log:
  - Stage support
  
  PR:		190316

Modified:
  head/www/phpgedview/Makefile

Modified: head/www/phpgedview/Makefile
==============================================================================
--- head/www/phpgedview/Makefile	Thu Jun  5 05:22:40 2014	(r356588)
+++ head/www/phpgedview/Makefile	Thu Jun  5 05:25:03 2014	(r356589)
@@ -25,7 +25,6 @@ OPTIONS_MULTI_DB=	MYSQL PGSQL SQLITE
 OPTIONS_DEFAULT=	SQLITE
 DB_DESC=	Data storage
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MMYSQL}
@@ -48,19 +47,10 @@ post-extract:
 .endfor
 
 do-install:
-	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}
-	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/index ${WWWDIR}/media
-	@${CHMOD} -R u+w ${WWWDIR}/index ${WWWDIR}/media
+	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
+	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}/index ${STAGEDIR}${WWWDIR}/media
+	@${CHMOD} -R u+w ${STAGEDIR}${WWWDIR}/index ${STAGEDIR}${WWWDIR}/media
 	@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/index ${WWWDIR}/media' >>${TMPPLIST}
 	@${ECHO_CMD} '@exec ${CHMOD} -R u+w ${WWWDIR}/index ${WWWDIR}/media' >>${TMPPLIST}
 
-post-install:
-.for f in ${DISTATE}
-	@if [ ! -f ${WWWDIR}/${f} ]; then \
-		${CP} -p ${WWWDIR}/${f}-dist ${WWWDIR}/${f}; \
-		${CHMOD} a+w ${WWWDIR}/${f}; \
-	fi
-.endfor
-	@${CAT} ${PKGMESSAGE}
-
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list