ports/190010: [patch] Add staging support to www/b2evolution
Joseph Benden
joe at thrallingpenguin.com
Tue May 20 15:00:01 UTC 2014
>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 at 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:
More information about the freebsd-ports-bugs
mailing list