From nobody@FreeBSD.org  Fri May 23 18:18:16 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id C3B842D7
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 23 May 2014 18:18:16 +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 97D562881
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 23 May 2014 18:18:16 +0000 (UTC)
Received: from cgiserv.freebsd.org ([127.0.1.6])
	by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s4NIIGtt059866
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 23 May 2014 18:18:16 GMT
	(envelope-from nobody@cgiserv.freebsd.org)
Received: (from nobody@localhost)
	by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s4NIIGdZ059859;
	Fri, 23 May 2014 18:18:16 GMT
	(envelope-from nobody)
Message-Id: <201405231818.s4NIIGdZ059859@cgiserv.freebsd.org>
Date: Fri, 23 May 2014 18:18:16 GMT
From: Joseph Benden <joe@thrallingpenguin.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] Add staging support to www/ismail
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         190151
>Category:       ports
>Synopsis:       [patch] Add staging support to www/ismail
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    swills
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 23 18:20:01 UTC 2014
>Closed-Date:    
>Last-Modified:  Fri May 23 18:20:08 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/ismail.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff --git a/www/ismail/Makefile b/www/ismail/Makefile
index 5f80c2d..a95527d 100644
--- a/www/ismail/Makefile
+++ b/www/ismail/Makefile
@@ -24,7 +24,6 @@ OPTIONS_SINGLE=	DATASTORE
 OPTIONS_SINGLE_DATASTORE=	MYSQL PGSQL
 OPTIONS_DEFAULT=	MYSQL
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 .if ${PORT_OPTIONS:MMYSQL}
@@ -39,7 +38,7 @@ PLIST_FILES+=	${EXAMPLESDIR_REL}/pgsql.schema
 PLIST_DIRS+=	${EXAMPLESDIR_REL}
 .endif
 
-LIB_DEPENDS+=	c-client4:${PORTSDIR}/mail/cclient
+LIB_DEPENDS+=	libc-client4.so:${PORTSDIR}/mail/cclient
 
 pre-install:
 	@${ECHO_MSG} ""
@@ -48,20 +47,20 @@ pre-install:
 	@${ECHO_MSG} ""
 
 do-install:
-	@${MKDIR} ${WWWDIR}
-	${TAR} --exclude '*~' -C ${WRKSRC}/${PORTNAME} -cf - . | ${TAR} -C ${WWWDIR} -xf -
-	@${CHOWN} -R www:www ${WWWDIR}
+	@${MKDIR} ${STAGEDIR}${WWWDIR}
+	${TAR} --exclude '*~' -C ${WRKSRC}/${PORTNAME} -cf - . | ${TAR} -C ${STAGEDIR}${WWWDIR} -xf -
+	@${CHOWN} -R www:www ${STAGEDIR}${WWWDIR}
 .if ${PORT_OPTIONS:MDOCS}
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${WRKSRC}/docs.html ${DOCSDIR}
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/docs.html ${STAGEDIR}${DOCSDIR}
 .endif
 .if ${PORT_OPTIONS:MMYSQL}
-	@${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/examples/mysql4.schema ${EXAMPLESDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/examples/mysql4.schema ${STAGEDIR}${EXAMPLESDIR}
 .endif
 .if ${PORT_OPTIONS:MPGSQL}
-	@${MKDIR} ${EXAMPLESDIR}
-	${INSTALL_DATA} ${WRKSRC}/examples/pgsql.schema ${EXAMPLESDIR}
+	@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+	${INSTALL_DATA} ${WRKSRC}/examples/pgsql.schema ${STAGEDIR}${EXAMPLESDIR}
 .endif
 
 post-install:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->swills 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Fri May 23 18:20:08 UTC 2014 
Responsible-Changed-Why:  
swills@ wants this submitter's PRs (via the GNATS Auto Assign Tool) 

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