Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jun 2014 14:30:08 +0000 (UTC)
From:      Jun Kuriyama <kuriyama@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r357156 - head/www/fswiki
Message-ID:  <201406091430.s59EU8dl040744@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kuriyama
Date: Mon Jun  9 14:30:07 2014
New Revision: 357156
URL: http://svnweb.freebsd.org/changeset/ports/357156
QAT: https://qat.redports.org/buildarchive/r357156/

Log:
  - Stagify.
  
  PR:		ports/189494
  Submitted by:	joe@thrallingpenguin.com

Modified:
  head/www/fswiki/Makefile

Modified: head/www/fswiki/Makefile
==============================================================================
--- head/www/fswiki/Makefile	Mon Jun  9 14:27:28 2014	(r357155)
+++ head/www/fswiki/Makefile	Mon Jun  9 14:30:07 2014	(r357156)
@@ -17,22 +17,21 @@ RUN_DEPENDS=	ja-p5-Jcode>=0:${PORTSDIR}/
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406091430.s59EU8dl040744>