Date: Tue, 27 May 2014 17:07:34 GMT From: Joseph Benden <joe@thrallingpenguin.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/190318: [patch] Add staging support to www/phpmp Message-ID: <201405271707.s4RH7YrM024582@cgiserv.freebsd.org> Resent-Message-ID: <201405271710.s4RHA0Lj046266@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 190318 >Category: ports >Synopsis: [patch] Add staging support to www/phpmp >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 27 17:10: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/phpmp. >How-To-Repeat: >Fix: Patch attached with submission follows: diff --git a/www/phpmp/Makefile b/www/phpmp/Makefile index 92bb347..ecf40b0 100644 --- a/www/phpmp/Makefile +++ b/www/phpmp/Makefile @@ -17,18 +17,13 @@ USE_PHP= pcre sockets PHPMP?= ${WWWDIR_REL} PLIST_SUB+= PHPMP=${PHPMP} -NO_STAGE= yes do-install: - @${MKDIR} ${PREFIX}/${PHPMP} - @${CP} -R ${WRKSRC}/ ${PREFIX}/${PHPMP} - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${PHPMP} - @${CHMOD} -R 755 ${PREFIX}/${PHPMP} + @${MKDIR} ${STAGEDIR}${PREFIX}/${PHPMP} + @${CP} -R ${WRKSRC}/ ${STAGEDIR}${PREFIX}/${PHPMP} + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${PHPMP} + @${CHMOD} -R 755 ${STAGEDIR}${PREFIX}/${PHPMP} post-install: @${CAT} ${PKGMESSAGE} - @if [ ! -f ${PREFIX}/${PHPMP}/config.php ]; then \ - ${CP} -p ${PREFIX}/${PHPMP}/config.php.sample \ - ${PREFIX}/${PHPMP}/config.php ; \ - fi .include <bsd.port.mk> >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405271707.s4RH7YrM024582>