From owner-freebsd-ports-bugs@FreeBSD.ORG Thu May 29 14:40:01 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.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 E16CC737 for ; Thu, 29 May 2014 14:40:00 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BF05D2109 for ; Thu, 29 May 2014 14:40:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s4TEe0Pc019819 for ; Thu, 29 May 2014 14:40:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4TEe0af019809; Thu, 29 May 2014 14:40:00 GMT (envelope-from gnats) Resent-Date: Thu, 29 May 2014 14:40:00 GMT Resent-Message-Id: <201405291440.s4TEe0af019809@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Joseph Benden 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 717AF475 for ; Thu, 29 May 2014 14:34:26 +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 45A6920CC for ; Thu, 29 May 2014 14:34:26 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s4TEYQLW038254 for ; Thu, 29 May 2014 14:34:26 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s4TEYQar038251; Thu, 29 May 2014 14:34:26 GMT (envelope-from nobody) Message-Id: <201405291434.s4TEYQar038251@cgiserv.freebsd.org> Date: Thu, 29 May 2014 14:34:26 GMT From: Joseph Benden To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/190371: [patch] Add staging support to www/punbb X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 May 2014 14:40:01 -0000 >Number: 190371 >Category: ports >Synopsis: [patch] Add staging support to www/punbb >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: Thu May 29 14:40: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/punbb. >How-To-Repeat: >Fix: Patch attached with submission follows: diff --git a/www/punbb/Makefile b/www/punbb/Makefile index 08cf2da..dcf071e 100644 --- a/www/punbb/Makefile +++ b/www/punbb/Makefile @@ -24,14 +24,13 @@ SUB_FILES= pkg-message NO_BUILD= yes USE_PHP= yes -USE_BZIP2= yes +USES= tar:bzip2 OPTIONS_DEFINE= LANGUAGE_PACK EXTRAS OPTIONS_DEFAULT= LANGUAGE_PACK EXTRAS LANGUAGE_PACK_DESC= Install language packs EXTRAS_DESC= Install all plugins available -NO_STAGE= yes .include .if ${PORT_OPTIONS:MLANGUAGE_PACK} @@ -111,22 +110,22 @@ PLIST_SUB+= PLUGINS="@comment " .endif do-install: - @cd ${WRKSRC}/upload && ${COPYTREE_SHARE} . ${WWWDIR} + @cd ${WRKSRC}/upload && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} .for i in ${LANGFILES} - ${UNZIP_CMD} -o ${DISTDIR}/${i} -d ${WWWDIR}/lang -x '*/.DS_Store' -x '*/._.DS_Store' + ${UNZIP_CMD} -o ${DISTDIR}/${i} -d ${STAGEDIR}${WWWDIR}/lang -x '*/.DS_Store' -x '*/._.DS_Store' .endfor .for i in ${PLUGINS} - ${UNZIP_CMD} -o ${DISTDIR}/${i} -d ${WWWDIR}/plugins + ${UNZIP_CMD} -o ${DISTDIR}/${i} -d ${STAGEDIR}${WWWDIR}/plugins .endfor .if !defined(NOPORTEXAMPLES) - @${INSTALL} -d ${EXAMPLESDIR} - cd ${WRKSRC}/extras && ${INSTALL_DATA} ${PORTEXAMPLES} ${EXAMPLESDIR} + @${INSTALL} -d ${STAGEDIR}${EXAMPLESDIR} + cd ${WRKSRC}/extras && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR} .endif - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR} + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR} @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' >> ${TMPPLIST} post-install: >Release-Note: >Audit-Trail: >Unformatted: