From owner-freebsd-ports-bugs@FreeBSD.ORG Wed May 21 00:00:03 2014 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.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 42A97A91 for ; Wed, 21 May 2014 00:00:03 +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 20393211D for ; Wed, 21 May 2014 00:00:03 +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 s4L002hA023495 for ; Wed, 21 May 2014 00:00:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4L002qA023494; Wed, 21 May 2014 00:00:02 GMT (envelope-from gnats) Resent-Date: Wed, 21 May 2014 00:00:02 GMT Resent-Message-Id: <201405210000.s4L002qA023494@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 57275A7E for ; Tue, 20 May 2014 23:59:31 +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 4549D2111 for ; Tue, 20 May 2014 23:59:31 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s4KNxVIJ040363 for ; Tue, 20 May 2014 23:59:31 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s4KNxVRD040362; Tue, 20 May 2014 23:59:31 GMT (envelope-from nobody) Message-Id: <201405202359.s4KNxVRD040362@cgiserv.freebsd.org> Date: Tue, 20 May 2014 23:59:31 GMT From: Joseph Benden To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/190043: [patch] Add staging support to www/efront 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: Wed, 21 May 2014 00:00:03 -0000 >Number: 190043 >Category: ports >Synopsis: [patch] Add staging support to www/efront >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 21 00:00:02 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/efront. >How-To-Repeat: >Fix: Patch attached with submission follows: diff --git a/www/efront/Makefile b/www/efront/Makefile index 1202ee1..5340973 100644 --- a/www/efront/Makefile +++ b/www/efront/Makefile @@ -21,19 +21,17 @@ EFRONT_DIRS= libraries PEAR \ NO_BUILD= yes SUB_FILES= pkg-message -NO_STAGE= yes .include do-install: - @if [ ! -f ${WWWDIR} ]; then \ - ${MKDIR} ${WWWDIR} ; fi + ${MKDIR} ${STAGEDIR}${WWWDIR} .for i in ${EFRONT_FILES} - @cd ${WRKDIR} && ${CP} ${i} ${WWWDIR} + @cd ${WRKDIR} && ${CP} ${i} ${STAGEDIR}${WWWDIR} .endfor .for i in ${EFRONT_DIRS} - @cd ${WRKDIR} && ${COPYTREE_SHARE} ${i} ${WWWDIR} + @cd ${WRKDIR} && ${COPYTREE_SHARE} ${i} ${STAGEDIR}${WWWDIR} .endfor - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR} - @${CHMOD} -R 755 ${WWWDIR} + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${WWWDIR} + @${CHMOD} -R 755 ${STAGEDIR}${WWWDIR} post-install: @${ECHO_CMD} '@exec ${CHOWN} -R ${WWWOWN}:${WWWGRP} ${WWWDIR}' \ >Release-Note: >Audit-Trail: >Unformatted: