Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 2014 18:30:47 GMT
From:      Joseph Benden <joe@thrallingpenguin.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/190030: [patch] Add staging support to www/diamanda
Message-ID:  <201405201830.s4KIUlV7028271@cgiserv.freebsd.org>
Resent-Message-ID: <201405201840.s4KIe1d2011298@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         190030
>Category:       ports
>Synopsis:       [patch] Add staging support to www/diamanda
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 20 18:40:01 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Joseph Benden
>Release:        FreeBSD 11
>Organization:
>Environment:
FreeBSD lucy 11.0-CURRENT FreeBSD 11.0-CURRENT #4 r264887: Thu Apr 24 12:43:46 MST 2014     root@lucy:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Adds staging support to www/diamanda.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/www/diamanda/Makefile b/www/diamanda/Makefile
index ec2e18d..47b4e87 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:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405201830.s4KIUlV7028271>