svn commit: r356776 - head/www/entrans
Martin Wilke
miwi at FreeBSD.org
Fri Jun 6 13:02:18 UTC 2014
Author: miwi
Date: Fri Jun 6 13:02:18 2014
New Revision: 356776
URL: http://svnweb.freebsd.org/changeset/ports/356776
QAT: https://qat.redports.org/buildarchive/r356776/
Log:
- Stage support
PR: 190044
Modified:
head/www/entrans/Makefile
Modified: head/www/entrans/Makefile
==============================================================================
--- head/www/entrans/Makefile Fri Jun 6 13:01:47 2014 (r356775)
+++ head/www/entrans/Makefile Fri Jun 6 13:02:18 2014 (r356776)
@@ -20,7 +20,6 @@ PLIST= ${WRKDIR}/pkg-plist
PORTDOCS= README INSTALL COPYING AUTHORS HACKING THANKS
-NO_STAGE= yes
pre-install:
cd ${WRKSRC} && ${FIND} -s * -type f | \
${SED} -e 's|^|${ENTRANS}/|' > ${PLIST} \
@@ -31,14 +30,14 @@ pre-install:
${WRKSRC}/conf/database.conf.php.sample ${WRKSRC}/conf/database.conf.php; fi
do-install:
- -@${MKDIR} ${PREFIX}/${ENTRANS}
- @${CHOWN} ${WWWOWN}:${WWWGRP} ${PREFIX}/${ENTRANS}
- @${CHMOD} 755 ${PREFIX}/${ENTRANS}
- ${CP} -R ${WRKSRC}/ ${PREFIX}/${ENTRANS}
+ -@${MKDIR} ${STAGEDIR}${PREFIX}/${ENTRANS}
+ @${CHOWN} ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${ENTRANS}
+ @${CHMOD} 755 ${STAGEDIR}${PREFIX}/${ENTRANS}
+ ${CP} -R ${WRKSRC}/ ${STAGEDIR}${PREFIX}/${ENTRANS}
.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/${i}
.endfor
.endif
More information about the svn-ports-all
mailing list