Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 May 2014 15:00:00 GMT
From:      Joseph Benden <joe@thrallingpenguin.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/190113: [patch] Add staging support to www/gallery3
Message-ID:  <201405221500.s4MF002u053404@cgiserv.freebsd.org>
Resent-Message-ID: <201405221510.s4MFA1tE029207@freefall.freebsd.org>

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

>Number:         190113
>Category:       ports
>Synopsis:       [patch] Add staging support to www/gallery3
>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:   Thu May 22 15:10: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/gallery3.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/www/gallery3/Makefile b/www/gallery3/Makefile
index 7f3da51..9d992a9 100644
--- a/www/gallery3/Makefile
+++ b/www/gallery3/Makefile
@@ -25,7 +25,6 @@ OPTIONS_DEFINE=	DCRAW FFMPEG GD GRAPHMAGICK IMAGEMAGICK JHEAD \
 		NETPBM NLS UNZIP
 OPTIONS_DEFAULT=	IMAGEMAGICK JHEAD UNZIP
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if defined(GALLERY3DIR)
@@ -76,8 +75,8 @@ RUN_DEPENDS+=	unzip:${PORTSDIR}/archivers/unzip
 .endif
 
 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}
 
 .if !defined(BATCH)


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



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