ports/190042: [patch] Add staging support to www/e107

Joseph Benden joe at thrallingpenguin.com
Tue May 20 23:50:01 UTC 2014


>Number:         190042
>Category:       ports
>Synopsis:       [patch] Add staging support to www/e107
>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 23:50:00 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/e107.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/www/e107/Makefile b/www/e107/Makefile
index 155a609..8efd438 100644
--- a/www/e107/Makefile
+++ b/www/e107/Makefile
@@ -13,7 +13,6 @@ COMMENT=	A content management system written in PHP
 USE_PHP=	mysql xml
 WRKSRC=		${WRKDIR}/e107
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
 NO_BUILD=	yes
@@ -35,9 +34,9 @@ pre-install:
 	@${FIND} -s -d ${WRKSRC} -type d | ${SED} "s#${WRKSRC}#@dirrm ${E107DIR}#g" >> ${PLIST}
 
 do-install:
-	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${WWWDIR}
-	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}
-	@${CHMOD} -R 755 ${WWWDIR}
+	@cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
+	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR}
+	@${CHMOD} -R 755 ${STAGEDIR}${WWWDIR}
 
 	@${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \
 		>> ${TMPPLIST}


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


More information about the freebsd-ports-bugs mailing list