From ca4ea536931d39401793163f9c3b15e70ab177c4 Mon Sep 17 00:00:00 2001 From: Jun Kuriyama Date: Mon, 9 Jun 2014 14:30:07 +0000 Subject: [PATCH] - Stagify. PR: ports/189494 Submitted by: joe@thrallingpenguin.com --- www/fswiki/Makefile | 11 +++++------ 1 file 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