aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-05-25 13:14:51 +0800
committermiwi <miwi@FreeBSD.org>2014-05-25 13:14:51 +0800
commitcdf5d3cc68622b21c8bf1cc4e52dfde2c2d39bf8 (patch)
treedea3420d65ba3ee97b0a5d38f59f109ca8fe9c4a /www
parent8ee52f6b5287f0788ca4b8a7a3a9493697fe2e06 (diff)
downloadfreebsd-ports-gnome-cdf5d3cc68622b21c8bf1cc4e52dfde2c2d39bf8.tar.gz
freebsd-ports-gnome-cdf5d3cc68622b21c8bf1cc4e52dfde2c2d39bf8.tar.zst
freebsd-ports-gnome-cdf5d3cc68622b21c8bf1cc4e52dfde2c2d39bf8.zip
- Stage support
PR: 189957
Diffstat (limited to 'www')
-rw-r--r--www/yahoo-ui/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/www/yahoo-ui/Makefile b/www/yahoo-ui/Makefile
index e44ba5a788fb..677e7b936f0b 100644
--- a/www/yahoo-ui/Makefile
+++ b/www/yahoo-ui/Makefile
@@ -24,7 +24,6 @@ NO_BUILD= yes
OPTIONS_DEFINE= APACHE DOCS EXAMPLES
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MAPACHE}
@@ -65,22 +64,22 @@ post-patch: .SILENT
do-install:
@cd ${WRKSRC} && ${COPYTREE_SHARE} "assets build index.html \
- tests" ${WWWDIR}
- @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
+ tests" ${STAGEDIR}${WWWDIR}
+ @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} \
${WWWDIR:S|^${PREFIX}/|%D/|}' >> ${TMPPLIST}
- @${FIND} ${WWWDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
+ @${FIND} ${STAGEDIR}${WWWDIR} -type f -print0 | ${XARGS} -0 ${CHMOD} 644
@${ECHO_CMD} '@exec ${FIND} ${WWWDIR} -type f -print0 | \
${XARGS} -0 ${CHMOD} 644' >> ${TMPPLIST}
- @${FIND} ${WWWDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
+ @${FIND} ${STAGEDIR}${WWWDIR} -type d -print0 | ${XARGS} -0 ${CHMOD} 755
@${ECHO_CMD} '@exec ${FIND} ${WWWDIR} -type d -print0 | \
${XARGS} -0 ${CHMOD} 755' >> ${TMPPLIST}
post-install:
.if ${PORT_OPTIONS:MAPACHE}
.if !defined(MAINTAINER_MODE)
- @if [ -d "${CONFDIR}" ]; then \
- ${CP} ${WRKDIR}/${CONF} ${CONFDIR}; \
+ @if [ -d "${STAGEDIR}${CONFDIR}" ]; then \
+ ${CP} ${WRKDIR}/${CONF} ${STAGEDIR}${CONFDIR}; \
else \
${ECHO_MSG} "" ; \
${ECHO_MSG} "Please check your Apache 2.x installation -" ; \
@@ -93,10 +92,10 @@ post-install:
@${CAT} ${PKGMESSAGE}
.endif
.if ${PORT_OPTIONS:MDOCS}
- @cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${DOCSDIR}
+ @cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.endif
.if ${PORT_OPTIONS:MNLS}
- @cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${EXAMPLESDIR}
+ @cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
.endif
.include <bsd.port.mk>