From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 25 20:00:00 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 ECA0565E for ; Sun, 25 May 2014 20:00: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 B02D02C74 for ; Sun, 25 May 2014 20:00: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 s4PK000A072348 for ; Sun, 25 May 2014 20:00:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s4PK00CK072347; Sun, 25 May 2014 20:00:00 GMT (envelope-from gnats) Resent-Date: Sun, 25 May 2014 20:00:00 GMT Resent-Message-Id: <201405252000.s4PK00CK072347@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 93B72608 for ; Sun, 25 May 2014 19:53:01 +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 815782C43 for ; Sun, 25 May 2014 19:53:01 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by cgiserv.freebsd.org (8.14.8/8.14.8) with ESMTP id s4PJr15c028414 for ; Sun, 25 May 2014 19:53:01 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.8/8.14.8/Submit) id s4PJr15w028411; Sun, 25 May 2014 19:53:01 GMT (envelope-from nobody) Message-Id: <201405251953.s4PJr15w028411@cgiserv.freebsd.org> Date: Sun, 25 May 2014 19:53:01 GMT From: Joseph Benden To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/190214: [patch] Add staging support to www/lifetype 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: Sun, 25 May 2014 20:00:01 -0000 >Number: 190214 >Category: ports >Synopsis: [patch] Add staging support to www/lifetype >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: Sun May 25 20:00: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/lifetype. >How-To-Repeat: >Fix: Patch attached with submission follows: diff --git a/www/lifetype/Makefile b/www/lifetype/Makefile index 33c5fef..d891044 100644 --- a/www/lifetype/Makefile +++ b/www/lifetype/Makefile @@ -30,7 +30,6 @@ OPTIONS_DEFINE= BIG5 GD IMAGEMAGICK OPTIONS_DEFAULT= GD BIG5_DESC= Big5 chinese template fix # -NO_STAGE= yes .include .if ${PORT_OPTIONS:MGD} @@ -68,9 +67,9 @@ pre-install: && ${ECHO_CMD} @dirrm ${PLOGDIR} >> ${PLIST} do-install: - @${MKDIR} ${PREFIX}/${PLOGDIR} - @${CP} -R ${WRKSRC}/ ${PREFIX}/${PLOGDIR} - @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${PREFIX}/${PLOGDIR} + @${MKDIR} ${STAGEDIR}${PREFIX}/${PLOGDIR} + @${CP} -R ${WRKSRC}/ ${STAGEDIR}${PREFIX}/${PLOGDIR} + @${CHOWN} -R ${WWWOWN}:${WWWGRP} ${STAGEDIR}${PREFIX}/${PLOGDIR} post-install: @${SED} -e 's|%%PLOGURL%%|${PLOGURL}|' pkg-message > ${PKGMESSAGE} >Release-Note: >Audit-Trail: >Unformatted: