ports/190357: [patch] Add staging support to www/pnews

Joseph Benden joe at thrallingpenguin.com
Wed May 28 22:20:00 UTC 2014


>Number:         190357
>Category:       ports
>Synopsis:       [patch] Add staging support to www/pnews
>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 28 22:20: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/pnews.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/www/pnews/Makefile b/www/pnews/Makefile
index 324feb4..d538a62 100644
--- a/www/pnews/Makefile
+++ b/www/pnews/Makefile
@@ -19,11 +19,10 @@ PNEWSDIR?=	www/pnews
 PNEWSFULLDIR=	${PREFIX}/${PNEWSDIR}
 PLIST_SUB+=	PNEWSDIR="${PNEWSDIR}"
 
-NO_STAGE=	yes
 do-install:
-	@${MKDIR} ${PNEWSFULLDIR}
-	@${CP} -R ${WRKSRC}/* ${PNEWSFULLDIR}
-	@${CP} -R ${WRKSRC}/.htaccess ${WRKSRC}/* ${PNEWSFULLDIR}
-	@${FIND} ${PNEWSFULLDIR} -path '*/.svn' | ${XARGS} ${RM} -fr
+	@${MKDIR} ${STAGEDIR}${PNEWSFULLDIR}
+	@${CP} -R ${WRKSRC}/* ${STAGEDIR}${PNEWSFULLDIR}
+	@${CP} -R ${WRKSRC}/.htaccess ${WRKSRC}/* ${STAGEDIR}${PNEWSFULLDIR}
+	@${FIND} ${STAGEDIR}${PNEWSFULLDIR} -path '*/.svn' | ${XARGS} ${RM} -fr
 
 .include <bsd.port.mk>


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list