svn commit: r342928 - head/www/wikindx

Martin Wilke miwi at FreeBSD.org
Thu Feb 6 02:42:21 UTC 2014


Author: miwi
Date: Thu Feb  6 02:42:21 2014
New Revision: 342928
URL: http://svnweb.freebsd.org/changeset/ports/342928
QAT: https://qat.redports.org/buildarchive/r342928/

Log:
  - Stage support

Modified:
  head/www/wikindx/Makefile

Modified: head/www/wikindx/Makefile
==============================================================================
--- head/www/wikindx/Makefile	Thu Feb  6 02:42:20 2014	(r342927)
+++ head/www/wikindx/Makefile	Thu Feb  6 02:42:21 2014	(r342928)
@@ -21,22 +21,19 @@ ROOTDIRS=	attachments core docs files la
 DOCFILES=	CHANGELOG CUSTOMIZATION DISCLAIMER INSTALL \
 		LICENSE README README_CMS README_RSS UPGRADE
 
-NO_STAGE=	yes
 pre-install:
 	@${ECHO} ${WWWDIR}
 
 do-install:
-	-${MKDIR} ${PREFIX}/${WWWDIR}
-	(cd ${WRKSRC} && ${CP} ${ROOTFILES} ${PREFIX}/${WWWDIR}/ )
-	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${WWWDIR}
+	-${MKDIR} ${STAGEDIR}${PREFIX}/${WWWDIR}
+	(cd ${WRKSRC} && ${CP} ${ROOTFILES} ${STAGEDIR}${PREFIX}/${WWWDIR}/ )
+	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${WWWDIR}
 .for i in ${ROOTDIRS}
-	@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${PREFIX}/${WWWDIR}/ )
+	@(cd ${WRKSRC} && ${COPYTREE_SHARE} ${i} ${STAGEDIR}${PREFIX}/${WWWDIR}/ )
 .endfor
-.if !defined(NOPORTDOCS)
-	${MKDIR} ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for i in ${DOCFILES}
-	@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/${i}
+	@${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/${i}
 .endfor
-.endif
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list