aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-02-06 02:42:21 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-02-06 02:42:21 +0000
commit125cea904306692fd8ebd73158842b020e7ed1e6 (patch)
tree41c7ee4c2f166f87c14d29fdacab730b67a94ef5
parentef1bf3085c517b7f7c720f1fa2206ccd47eb6b3f (diff)
downloadports-125cea904306692fd8ebd73158842b020e7ed1e6.tar.gz
ports-125cea904306692fd8ebd73158842b020e7ed1e6.zip
Notes
-rw-r--r--www/wikindx/Makefile15
1 files changed, 6 insertions, 9 deletions
diff --git a/www/wikindx/Makefile b/www/wikindx/Makefile
index 7804fde49807..6015e49130c7 100644
--- a/www/wikindx/Makefile
+++ b/www/wikindx/Makefile
@@ -21,22 +21,19 @@ ROOTDIRS= attachments core docs files languages modules \
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>