From nobody@FreeBSD.org  Mon May 19 04:50:51 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 62873EEA
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 19 May 2014 04:50:51 +0000 (UTC)
Received: from cgiserv.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client did not present a certificate)
	by mx1.freebsd.org (Postfix) with ESMTPS id 507692DF9
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 19 May 2014 04:50:51 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s4J4opXp041758
	for <freebsd-gnats-submit@FreeBSD.org>; Mon, 19 May 2014 04:50:51 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s4J4opuE041757;
	Mon, 19 May 2014 04:50:51 GMT
	(envelope-from nobody)
Message-Id: <201405190450.s4J4opuE041757@cgiserv.freebsd.org>
Date: Mon, 19 May 2014 04:50:51 GMT
From: Joseph Benden <joe@thrallingpenguin.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] Add staging support to www/pound
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         189937
>Category:       ports
>Synopsis:       [patch] Add staging support to www/pound
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    anders
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon May 19 05:00:01 UTC 2014
>Closed-Date:    
>Last-Modified:  Mon May 19 05:00:05 UTC 2014
>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/pound.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/www/pound/Makefile b/www/pound/Makefile
index def20fa..48f015b 100644
--- a/www/pound/Makefile
+++ b/www/pound/Makefile
@@ -29,10 +29,10 @@ OPTIONS_DEFAULT=	PCRE
 MSDAV_DESC=	Microsoft WebDAV extension support
 
 CONFIGURE_ARGS=	--disable-tcmalloc --disable-hoard
-PLIST_FILES=	sbin/pound sbin/poundctl
+PLIST_FILES=	sbin/pound sbin/poundctl man/man8/pound.8.gz \
+				man/man8/poundctl.8.gz
 PORTDOCS=	README FAQ CHANGELOG
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MMSDAV}
@@ -40,7 +40,7 @@ CONFIGURE_ARGS+=	--enable-msdav
 .endif
 
 .if ${PORT_OPTIONS:MPCRE}
-LIB_DEPENDS+=		pcre.3:${PORTSDIR}/devel/pcre
+LIB_DEPENDS+=		libpcre.so:${PORTSDIR}/devel/pcre
 CFLAGS+=		"-I${LOCALBASE}/include"
 CPPFLAGS+=		"-I${LOCALBASE}/include"
 LDFLAGS+=		"-L${LOCALBASE}/lib"
@@ -48,11 +48,14 @@ LDFLAGS+=		"-L${LOCALBASE}/lib"
 CONFIGURE_ARGS+=	--disable-pcreposix
 .endif
 
+post-build:
+	${RM} /root/.rnd
+
 post-install:
 .if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
 .endif
 


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->anders 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon May 19 05:00:05 UTC 2014 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=189937 
>Unformatted:
