Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 May 2014 22:18:47 GMT
From:      Joseph Benden <joe@thrallingpenguin.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/190357: [patch] Add staging support to www/pnews
Message-ID:  <201405282218.s4SMIlus007306@cgiserv.freebsd.org>
Resent-Message-ID: <201405282220.s4SMK0W8023553@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405282218.s4SMIlus007306>