Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Feb 2014 02:42:21 +0000 (UTC)
From:      Martin Wilke <miwi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r342928 - head/www/wikindx
Message-ID:  <201402060242.s162gLkn081732@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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