ports/190029: [patch] Add staging support to www/dalbum
Joseph Benden
joe at thrallingpenguin.com
Tue May 20 18:30:02 UTC 2014
>Number: 190029
>Category: ports
>Synopsis: [patch] Add staging support to www/dalbum
>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:30: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/dalbum.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff --git a/www/dalbum/Makefile b/www/dalbum/Makefile
index f1478ef..cdca6b8 100644
--- a/www/dalbum/Makefile
+++ b/www/dalbum/Makefile
@@ -21,7 +21,6 @@ PLIST_SUB+= DALBUM_DIR=${DALBUM_DIR}
SUB_LIST+= DALBUM_DIR=${DALBUM_DIR}
SUB_FILES= pkg-message
-NO_STAGE= yes
do-extract:
@${RM} -rf ${WRKDIR}
@${MKDIR} -p ${WRKSRC}
@@ -35,8 +34,8 @@ post-patch:
@${RM} ${WRKSRC}/config/config.php.*
do-install:
- @${MKDIR} -m 0775 ${PREFIX}/${DALBUM_DIR}
- @cd ${WRKSRC} && ${FIND} . -print | ${CPIO} --quiet -pdum -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${DALBUM_DIR}
+ @${MKDIR} -m 0775 ${STAGEDIR}${PREFIX}/${DALBUM_DIR}
+ @cd ${WRKSRC} && ${FIND} . -print | ${CPIO} --quiet -pdum -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${DALBUM_DIR}
post-install:
@${CAT} ${PKGMESSAGE}
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list