svn commit: r356585 - head/www/repos-style
Martin Wilke
miwi at FreeBSD.org
Thu Jun 5 05:19:54 UTC 2014
Author: miwi
Date: Thu Jun 5 05:19:54 2014
New Revision: 356585
URL: http://svnweb.freebsd.org/changeset/ports/356585
QAT: https://qat.redports.org/buildarchive/r356585/
Log:
- Stage support
PR: 190380
Modified:
head/www/repos-style/Makefile
Modified: head/www/repos-style/Makefile
==============================================================================
--- head/www/repos-style/Makefile Thu Jun 5 05:18:55 2014 (r356584)
+++ head/www/repos-style/Makefile Thu Jun 5 05:19:54 2014 (r356585)
@@ -24,20 +24,13 @@ WRKSRC= ${WRKDIR}/repos-web
SUB_LIST+= PORTNAME=${PORTNAME}
SUB_FILES+= pkg-message
-NO_STAGE= yes
pre-install:
# Prevent installation of .orig files by deleting them.
@${FIND} ${WRKSRC} -name '*.orig' -delete
${MV} ${WRKSRC}/open/log/index.php ${WRKSRC}/open/log/index.dist.php
do-install:
- @${MKDIR} ${WWWDIR}
- @(cd ${WRKSRC} && ${PAX} -r -w . ${WWWDIR})
- if [ ! -f ${WWWDIR}/open/log/index.php ]; then \
- ${CP} -p ${WWWDIR}/open/log/index.dist.php ${WWWDIR}/open/log/index.php; \
- fi
-
-post-install:
- @${CAT} ${PKGMESSAGE}
+ @${MKDIR} ${STAGEDIR}${WWWDIR}
+ @(cd ${WRKSRC} && ${PAX} -r -w . ${STAGEDIR}${WWWDIR})
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list