svn commit: r342774 - head/www/yanopaste

Martin Wilke miwi at FreeBSD.org
Wed Feb 5 16:58:57 UTC 2014


Author: miwi
Date: Wed Feb  5 16:58:56 2014
New Revision: 342774
URL: http://svnweb.freebsd.org/changeset/ports/342774
QAT: https://qat.redports.org/buildarchive/r342774/

Log:
  - Stage support

Modified:
  head/www/yanopaste/Makefile

Modified: head/www/yanopaste/Makefile
==============================================================================
--- head/www/yanopaste/Makefile	Wed Feb  5 16:58:22 2014	(r342773)
+++ head/www/yanopaste/Makefile	Wed Feb  5 16:58:56 2014	(r342774)
@@ -15,18 +15,16 @@ USE_PHP=	xsl session xmlwriter xmlreader
 SUB_FILES=	pkg-message
 WWWDIR?=	${PREFIX}/www/${PORTNAME}
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 post-patch:
 	${FIND} ${WRKSRC} -name .svn -type d | ${XARGS} ${RM} -rf
 
 do-install:
-	@${MKDIR} ${WWWDIR}
-	${CP} -R ${WRKSRC}/ ${WWWDIR}
-	@${TOUCH} ${WWWDIR}/config.php
-	@${CHOWN} ${WWWOWN} ${WWWDIR}/config.php
-	@${CAT} ${PKGMESSAGE}
+	@${MKDIR} ${STAGEDIR}${WWWDIR}
+	${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}
+	@${TOUCH} ${STAGEDIR}${WWWDIR}/config.php
+	@${CHOWN} ${WWWOWN} ${STAGEDIR}${WWWDIR}/config.php
 
 create-plist:
 	@${FIND} -s ${WRKSRC}/${file} -not -type d \


More information about the svn-ports-all mailing list