diff options
author | Jun Kuriyama <kuriyama@FreeBSD.org> | 2014-06-09 14:30:07 +0000 |
---|---|---|
committer | Jun Kuriyama <kuriyama@FreeBSD.org> | 2014-06-09 14:30:07 +0000 |
commit | ca4ea536931d39401793163f9c3b15e70ab177c4 (patch) | |
tree | ef1e5d467067c09b25c76a542b9590a10773e7d0 /www/fswiki | |
parent | 8d1414a5835de19094bf6a36bf18ff0f8115999a (diff) | |
download | ports-ca4ea536931d39401793163f9c3b15e70ab177c4.tar.gz ports-ca4ea536931d39401793163f9c3b15e70ab177c4.zip |
Notes
Diffstat (limited to 'www/fswiki')
-rw-r--r-- | www/fswiki/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/www/fswiki/Makefile b/www/fswiki/Makefile index 4701fff88cc4..e80c39e2ddf6 100644 --- a/www/fswiki/Makefile +++ b/www/fswiki/Makefile @@ -17,22 +17,21 @@ RUN_DEPENDS= ja-p5-Jcode>=0:${PORTSDIR}/japanese/p5-Jcode \ USES= perl5 zip NO_BUILD= yes -NO_STAGE= yes post-extract: ${SED} -e 's|__DATADIR__|${DATADIR}|' ${FILESDIR}/setup.sh \ >${WRKSRC}/setup.sh do-install: - -${MKDIR} ${DATADIR} + -${MKDIR} ${STAGEDIR}${DATADIR} cd ${WRKSRC}; \ for d in `${FIND} * -type d`; do \ - ${MKDIR} ${DATADIR}/$${d}; \ + ${MKDIR} ${STAGEDIR}${DATADIR}/$${d}; \ done cd ${WRKSRC}; \ for i in `${FIND} . -type f | ${GREP} -v .orig`; do \ - ${INSTALL_DATA} $${i} ${DATADIR}/$${i}; \ + ${INSTALL_DATA} $${i} ${STAGEDIR}${DATADIR}/$${i}; \ done - ${INSTALL_SCRIPT} ${WRKSRC}/wiki.cgi ${DATADIR} - ${INSTALL_SCRIPT} ${WRKSRC}/setup.sh ${DATADIR} + ${INSTALL_SCRIPT} ${WRKSRC}/wiki.cgi ${STAGEDIR}${DATADIR} + ${INSTALL_SCRIPT} ${WRKSRC}/setup.sh ${STAGEDIR}${DATADIR} .include <bsd.port.mk> |