svn commit: r342930 - head/www/chems
Martin Wilke
miwi at FreeBSD.org
Thu Feb 6 02:42:40 UTC 2014
Author: miwi
Date: Thu Feb 6 02:42:37 2014
New Revision: 342930
URL: http://svnweb.freebsd.org/changeset/ports/342930
QAT: https://qat.redports.org/buildarchive/r342930/
Log:
- Stage support
Modified:
head/www/chems/Makefile
Modified: head/www/chems/Makefile
==============================================================================
--- head/www/chems/Makefile Thu Feb 6 02:42:24 2014 (r342929)
+++ head/www/chems/Makefile Thu Feb 6 02:42:37 2014 (r342930)
@@ -15,15 +15,11 @@ USE_PHP= xml iconv gd
SUB_FILES= pkg-message
WWWDIR?= ${PREFIX}/www/${PORTNAME}
-NO_STAGE= yes
-.include <bsd.port.pre.mk>
-
do-install:
- @${MKDIR} ${WWWDIR}
- ${CP} -R ${WRKSRC}/ ${WWWDIR}
- ${TOUCH} ${WWWDIR}/usr/config.php
- @${CHOWN} ${WWWOWN} ${WWWDIR}/usr/config.php
- @${CAT} ${PKGMESSAGE}
+ @${MKDIR} ${STAGEDIR}${WWWDIR}
+ ${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}
+ ${TOUCH} ${STAGEDIR}${WWWDIR}/usr/config.php
+ @${CHOWN} ${WWWOWN} ${STAGEDIR}${WWWDIR}/usr/config.php
create-plist:
@${FIND} -s ${WRKSRC}/${file} -not -type d \
@@ -33,4 +29,4 @@ create-plist:
@${FIND} -ds ${WRKSRC}/${file} -type d \
| ${SED} -e 's,^${WRKSRC}, at dirrm %%WWWDIR%%,' >> ${PLIST}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
More information about the svn-ports-all
mailing list