aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-06-05 13:25:03 +0800
committermiwi <miwi@FreeBSD.org>2014-06-05 13:25:03 +0800
commit2dc8f04ba9d24ebedd41e4e5c52201833f276525 (patch)
tree804f0e525bca16ca6b7fca077e8924cd8836ffbf /www
parentd7bb6a2f17457491cf50db37aced0f52f5fef1d9 (diff)
downloadfreebsd-ports-gnome-2dc8f04ba9d24ebedd41e4e5c52201833f276525.tar.gz
freebsd-ports-gnome-2dc8f04ba9d24ebedd41e4e5c52201833f276525.tar.zst
freebsd-ports-gnome-2dc8f04ba9d24ebedd41e4e5c52201833f276525.zip
- Stage support
PR: 190316
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>