ports/190113: [patch] Add staging support to www/gallery3
Joseph Benden
joe at thrallingpenguin.com
Thu May 22 15:10:02 UTC 2014
>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 at 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:
More information about the freebsd-ports-bugs
mailing list