aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2014-05-25 13:16:29 +0800
committermiwi <miwi@FreeBSD.org>2014-05-25 13:16:29 +0800
commitdd1997a73f913308462f64f0c7645fff133edf08 (patch)
treeaeab9417d54ac9edac7dc0b242a1e95bf24c060b /www
parentf16ce7a093f9030974dc76389ccd1334c41171d1 (diff)
downloadfreebsd-ports-gnome-dd1997a73f913308462f64f0c7645fff133edf08.tar.gz
freebsd-ports-gnome-dd1997a73f913308462f64f0c7645fff133edf08.tar.zst
freebsd-ports-gnome-dd1997a73f913308462f64f0c7645fff133edf08.zip
- Stage support
PR: 190030
Diffstat (limited to 'www')
-rw-r--r--www/diamanda/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/www/diamanda/Makefile b/www/diamanda/Makefile
index ec2e18da0734..47b4e879b9ae 100644
--- a/www/diamanda/Makefile
+++ b/www/diamanda/Makefile
@@ -25,15 +25,14 @@ USE_PYTHON= yes
USES= tar:bzip2 gettext
SUB_FILES= pkg-message
-NO_STAGE= yes
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -i '' -e 's|/home/piotr/svn/diamanda|${PREFIX}/${WWWDIR}|g' ${WRKSRC}/settings.py ${WRKSRC}/urls.py
do-install:
- @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}
- @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
+ @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
+ @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' >> ${TMPPLIST}
post-install: