Date: Wed, 21 May 2014 00:36:50 GMT From: Joseph Benden <joe@thrallingpenguin.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/190047: [patch] Add staging support to www/formication Message-ID: <201405210036.s4L0aoK1006747@cgiserv.freebsd.org> Resent-Message-ID: <201405210040.s4L0e1v1045873@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 190047 >Category: ports >Synopsis: [patch] Add staging support to www/formication >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: Wed May 21 00:40:01 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/formication. >How-To-Repeat: >Fix: Patch attached with submission follows: diff --git a/www/formication/Makefile b/www/formication/Makefile index 8e77be0..1240db0 100644 --- a/www/formication/Makefile +++ b/www/formication/Makefile @@ -21,7 +21,6 @@ PORTDOCS= BLURB COPYING feedback.fcn feedback.html formication.txt PLIST_FILES= www/cgi-bin/formication.pl SUB_FILES+= pkg-message -NO_STAGE= yes .include <bsd.port.pre.mk> PLIST_DIRSTRY= www/cgi-bin @@ -32,12 +31,12 @@ post-patch: ${WRKSRC}/formication.pl do-install: - @${MKDIR} ${PREFIX}/www/cgi-bin - @${INSTALL_DATA} ${WRKSRC}/formication.pl ${PREFIX}/www/cgi-bin + @${MKDIR} ${STAGEDIR}${PREFIX}/www/cgi-bin + @${INSTALL_DATA} ${WRKSRC}/formication.pl ${STAGEDIR}${PREFIX}/www/cgi-bin .if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR}/ + ${MKDIR} ${STAGEDIR}${DOCSDIR}/ . for i in ${PORTDOCS} - @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}/ + @${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}/ . endfor .endif >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405210036.s4L0aoK1006747>