From dd1997a73f913308462f64f0c7645fff133edf08 Mon Sep 17 00:00:00 2001
From: miwi <miwi@FreeBSD.org>
Date: Sun, 25 May 2014 05:16:29 +0000
Subject: - Stage support

PR:		190030
---
 www/diamanda/Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'www')

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:
-- 
cgit