aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2014-06-05 05:25:03 +0000
committerMartin Wilke <miwi@FreeBSD.org>2014-06-05 05:25:03 +0000
commit9b262218ec4dd5c25c8e680746f10fe92648c059 (patch)
tree804f0e525bca16ca6b7fca077e8924cd8836ffbf /www
parent3fb88a05844170a8b8c9f0d3a4426d82082cafa8 (diff)
downloadports-9b262218ec4dd5c25c8e680746f10fe92648c059.tar.gz
ports-9b262218ec4dd5c25c8e680746f10fe92648c059.zip
Notes
Diffstat (limited to 'www')
-rw-r--r--www/phpgedview/Makefile16
1 files changed, 3 insertions, 13 deletions
diff --git a/www/phpgedview/Makefile b/www/phpgedview/Makefile
index 91c1aec0e0f9..1f8b495c10f9 100644
--- a/www/phpgedview/Makefile
+++ b/www/phpgedview/Makefile
@@ -25,7 +25,6 @@ OPTIONS_MULTI_DB= MYSQL PGSQL SQLITE
OPTIONS_DEFAULT= SQLITE
DB_DESC= Data storage
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MMYSQL}
@@ -48,19 +47,10 @@ post-extract:
.endfor
do-install:
- @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}
- @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/index ${WWWDIR}/media
- @${CHMOD} -R u+w ${WWWDIR}/index ${WWWDIR}/media
+ @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
+ @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}/index ${STAGEDIR}${WWWDIR}/media
+ @${CHMOD} -R u+w ${STAGEDIR}${WWWDIR}/index ${STAGEDIR}${WWWDIR}/media
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}/index ${WWWDIR}/media' >>${TMPPLIST}
@${ECHO_CMD} '@exec ${CHMOD} -R u+w ${WWWDIR}/index ${WWWDIR}/media' >>${TMPPLIST}
-post-install:
-.for f in ${DISTATE}
- @if [ ! -f ${WWWDIR}/${f} ]; then \
- ${CP} -p ${WWWDIR}/${f}-dist ${WWWDIR}/${f}; \
- ${CHMOD} a+w ${WWWDIR}/${f}; \
- fi
-.endfor
- @${CAT} ${PKGMESSAGE}
-
.include <bsd.port.mk>