ports/190047: [patch] Add staging support to www/formication
Joseph Benden
joe at thrallingpenguin.com
Wed May 21 00:40:01 UTC 2014
>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 at 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:
More information about the freebsd-ports-bugs
mailing list