Date: Thu, 29 May 2014 19:24:26 GMT From: Joseph Benden <joe@thrallingpenguin.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/190380: [patch] Add staging support to www/repos-style Message-ID: <201405291924.s4TJOQA6003558@cgiserv.freebsd.org> Resent-Message-ID: <201405291930.s4TJU0KZ018986@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 190380 >Category: ports >Synopsis: [patch] Add staging support to www/repos-style >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: Thu May 29 19:30: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/repos-style. >How-To-Repeat: >Fix: Patch attached with submission follows: diff --git a/www/repos-style/Makefile b/www/repos-style/Makefile index dc6fc23..94e3436 100644 --- a/www/repos-style/Makefile +++ b/www/repos-style/Makefile @@ -24,18 +24,14 @@ WRKSRC= ${WRKDIR}/repos-web SUB_LIST+= PORTNAME=${PORTNAME} SUB_FILES+= pkg-message -NO_STAGE= yes pre-install: # Prevent installation of .orig files by deleting them. @${FIND} ${WRKSRC} -name '*.orig' -delete ${MV} ${WRKSRC}/open/log/index.php ${WRKSRC}/open/log/index.dist.php do-install: - @${MKDIR} ${WWWDIR} - @(cd ${WRKSRC} && ${PAX} -r -w . ${WWWDIR}) - if [ ! -f ${WWWDIR}/open/log/index.php ]; then \ - ${CP} -p ${WWWDIR}/open/log/index.dist.php ${WWWDIR}/open/log/index.php; \ - fi + @${MKDIR} ${STAGEDIR}${WWWDIR} + @(cd ${WRKSRC} && ${PAX} -r -w . ${STAGEDIR}${WWWDIR}) post-install: @${CAT} ${PKGMESSAGE} >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405291924.s4TJOQA6003558>