Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 May 2014 14:50:09 GMT
From:      Joseph Benden <joe@thrallingpenguin.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/190010: [patch] Add staging support to www/b2evolution
Message-ID:  <201405201450.s4KEo9W2059256@cgiserv.freebsd.org>
Resent-Message-ID: <201405201500.s4KF00gw082001@freefall.freebsd.org>

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

>Number:         190010
>Category:       ports
>Synopsis:       [patch] Add staging support to www/b2evolution
>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 15:00: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@lucy:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Adds staging support to www/b2evolution.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/www/b2evolution/Makefile b/www/b2evolution/Makefile
index fdae3ef..ca018fc 100644
--- a/www/b2evolution/Makefile
+++ b/www/b2evolution/Makefile
@@ -29,7 +29,6 @@ WARNING=	${PKGDIR}/pkg-warning
 OPTIONS_DEFINE=	MYSQL
 OPTIONS_DEFAULT=	MYSQL
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MMYSQL}
@@ -47,11 +46,11 @@ pre-install:
 		&& ${ECHO_CMD} @dirrm ${B2EVO_DIR} >> ${PLIST}
 
 do-install:
-	${MKDIR} ${PREFIX}/${B2EVO_DIR}
-	@${CHMOD} 755 ${PREFIX}/${B2EVO_DIR}
-	@${CP} -R ${WRKSRC}/ ${PREFIX}/${B2EVO_DIR}
-	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${B2EVO_DIR}
-	@${CHMOD} 665 ${PREFIX}/${B2EVO_DIR}/blogs/conf/_config.php
+	${MKDIR} ${STAGEDIR}${PREFIX}/${B2EVO_DIR}
+	@${CHMOD} 755 ${STAGEDIR}${PREFIX}/${B2EVO_DIR}
+	@${CP} -R ${WRKSRC}/ ${STAGEDIR}${PREFIX}/${B2EVO_DIR}
+	@${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${B2EVO_DIR}
+	@${CHMOD} 665 ${STAGEDIR}${PREFIX}/${B2EVO_DIR}/blogs/conf/_config.php
 
 post-install:
 	@${SED} -e 's|%%PREFIX%%|${PREFIX}|' \


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



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