aboutsummaryrefslogtreecommitdiff
path: root/www/lightsquid
diff options
context:
space:
mode:
authorDima Panov <fluffy@FreeBSD.org>2014-01-07 10:12:32 +0000
committerDima Panov <fluffy@FreeBSD.org>2014-01-07 10:12:32 +0000
commit0dea65cc6b934273c069d71272cfaccc5056ab3c (patch)
tree519c35c158fa3f65b7fb99195839a44f07fd1001 /www/lightsquid
parentb7b766243d07832646804d5b48d92e8433fc3f2f (diff)
downloadports-0dea65cc6b934273c069d71272cfaccc5056ab3c.tar.gz
ports-0dea65cc6b934273c069d71272cfaccc5056ab3c.zip
Notes
Diffstat (limited to 'www/lightsquid')
-rw-r--r--www/lightsquid/Makefile33
1 files changed, 16 insertions, 17 deletions
diff --git a/www/lightsquid/Makefile b/www/lightsquid/Makefile
index de727525e035..4dc7fcf753c0 100644
--- a/www/lightsquid/Makefile
+++ b/www/lightsquid/Makefile
@@ -18,7 +18,6 @@ USES= perl5
USE_PERL5= run
NO_BUILD= yes
-NO_STAGE= yes
.include <bsd.port.options.mk>
CONFIGS= lightsquid.cfg realname.cfg skipuser.cfg group.cfg
@@ -49,37 +48,37 @@ post-patch:
@${MV} ${WRKSRC}/group.cfg.src ${WRKSRC}/group.cfg
do-install:
- ${MKDIR} ${DATADIR}/lang
+ ${MKDIR} ${STAGEDIR}/${DATADIR}/lang
cd ${WRKSRC}/lang && \
${FIND} . -type f -regex '.*\.lng' -exec \
- ${INSTALL_DATA} "{}" "${DATADIR}/lang/{}" \;
- ${MKDIR} ${PREFIX}/libexec/${PORTNAME}
+ ${INSTALL_DATA} "{}" "${STAGEDIR}/${DATADIR}/lang/{}" \;
+ ${MKDIR} ${STAGEDIR}/${PREFIX}/libexec/${PORTNAME}
cd ${WRKSRC}/ip2name && \
${FIND} . -type f -exec \
- ${INSTALL_DATA} "{}" "${PREFIX}/libexec/${PORTNAME}/{}" \;
- ${MKDIR} ${ETCDIR}
+ ${INSTALL_DATA} "{}" "${STAGEDIR}/${PREFIX}/libexec/${PORTNAME}/{}" \;
+ ${MKDIR} ${STAGEDIR}/${ETCDIR}
.for i in ${CONFIGS}
- ${INSTALL_DATA} ${WRKSRC}/${i} ${ETCDIR}/${i}.dist
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}/${ETCDIR}/${i}.dist
.if !exists(${ETCDIR}/${i})
- ${INSTALL_DATA} ${WRKSRC}/${i} ${ETCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}/${ETCDIR}
.endif
.endfor
- ${MKDIR} ${WWWDIR}/report
- ${MKDIR} ${WWWDIR}/tpl
+ ${MKDIR} ${STAGEDIR}/${WWWDIR}/report
+ ${MKDIR} ${STAGEDIR}/${WWWDIR}/tpl
cd ${WRKSRC}/tpl && \
${FIND} . -type d ! -empty -exec \
- ${MKDIR} "${WWWDIR}/tpl/{}" \; && \
+ ${MKDIR} "${STAGEDIR}/${WWWDIR}/tpl/{}" \; && \
${FIND} . -type f -exec \
- ${INSTALL_DATA} "{}" "${WWWDIR}/tpl/{}" \;
+ ${INSTALL_DATA} "{}" "${STAGEDIR}/${WWWDIR}/tpl/{}" \;
cd ${WRKSRC} && \
${FIND} -E . -maxdepth 1 -regex '.*\.(cgi|pl)' -exec \
- ${INSTALL_SCRIPT} "{}" "${WWWDIR}/{}" \; && \
- ${INSTALL_DATA} .htaccess ${WWWDIR}/
- @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
+ ${INSTALL_SCRIPT} "{}" "${STAGEDIR}/${WWWDIR}/{}" \; && \
+ ${INSTALL_DATA} .htaccess ${STAGEDIR}/${WWWDIR}/
+ @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}/${WWWDIR}
.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}/${DOCSDIR}
.for i in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/doc/${i} ${STAGEDIR}/${DOCSDIR}
.endfor
.endif