aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorantoine <antoine@FreeBSD.org>2014-09-12 04:37:35 +0800
committerantoine <antoine@FreeBSD.org>2014-09-12 04:37:35 +0800
commitdba0d5e26166aa2027f818ecdf6a265f0b73bbfd (patch)
tree45faced151f2d1a4b00928686378d9d0eed3932b
parentbc42dabd31cd213908766c97731d34755372a31e (diff)
downloadfreebsd-ports-gnome-dba0d5e26166aa2027f818ecdf6a265f0b73bbfd.tar.gz
freebsd-ports-gnome-dba0d5e26166aa2027f818ecdf6a265f0b73bbfd.tar.zst
freebsd-ports-gnome-dba0d5e26166aa2027f818ecdf6a265f0b73bbfd.zip
Allow staging as a regular user
-rw-r--r--www/typolight/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/www/typolight/Makefile b/www/typolight/Makefile
index e8beef547fc9..fbc8f58c16bc 100644
--- a/www/typolight/Makefile
+++ b/www/typolight/Makefile
@@ -13,15 +13,10 @@ NO_BUILD= yes
USE_PHP= xsl mysql iconv gd
USE_MYSQL= yes
SUB_FILES= pkg-message
-WWWDIR?= ${PREFIX}/www/${PORTNAME}
-
-.include <bsd.port.pre.mk>
do-install:
@${MKDIR} ${STAGEDIR}${WWWDIR}
${CP} -R ${WRKSRC}/ ${STAGEDIR}${WWWDIR}
- ${TOUCH} ${STAGEDIR}${WWWDIR}/system/config/localconfig.php
- @${CHOWN} ${WWWOWN} ${STAGEDIR}${WWWDIR}/system/config/localconfig.php
create-plist:
@${FIND} -s ${WRKSRC}/${file} -not -type d \
@@ -31,4 +26,4 @@ create-plist:
@${FIND} -ds ${WRKSRC}/${file} -type d \
| ${SED} -e 's,^${WRKSRC},@dirrm %%WWWDIR%%,' >> ${PLIST}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>