From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Nov 8 18:40:06 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4ABF91065672 for ; Mon, 8 Nov 2010 18:40:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 0170A8FC22 for ; Mon, 8 Nov 2010 18:40:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oA8Ie5H7060049 for ; Mon, 8 Nov 2010 18:40:05 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oA8Ie5Qk060048; Mon, 8 Nov 2010 18:40:05 GMT (envelope-from gnats) Resent-Date: Mon, 8 Nov 2010 18:40:05 GMT Resent-Message-Id: <201011081840.oA8Ie5Qk060048@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, Sunpoet Po-Chuan Hsieh Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA677106566B for ; Mon, 8 Nov 2010 18:35:49 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: from mail-px0-f182.google.com (mail-px0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id B92DD8FC14 for ; Mon, 8 Nov 2010 18:35:49 +0000 (UTC) Received: by pxi1 with SMTP id 1so1147162pxi.13 for ; Mon, 08 Nov 2010 10:35:49 -0800 (PST) Received: by 10.229.96.132 with SMTP id h4mr5377100qcn.205.1289241347466; Mon, 08 Nov 2010 10:35:47 -0800 (PST) Received: from sunpoet.net (sunpoet.net [220.133.12.240]) by mx.google.com with ESMTPS id x9sm169225qco.46.2010.11.08.10.35.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 08 Nov 2010 10:35:46 -0800 (PST) Received: by sunpoet.net (Postfix, from userid 1000) id D709E2AECA16; Tue, 9 Nov 2010 02:35:36 +0800 (CST) Message-Id: <20101108183536.D709E2AECA16@sunpoet.net> Date: Tue, 9 Nov 2010 02:35:36 +0800 (CST) From: Sunpoet Po-Chuan Hsieh Sender: Sunpoet Hsieh To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: appleboy.tw@gmail.com Subject: ports/152058: [PATCH] www/gallery3: add missing OPTIONS X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2010 18:40:06 -0000 >Number: 152058 >Category: ports >Synopsis: [PATCH] www/gallery3: add missing OPTIONS >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: Mon Nov 08 18:40:05 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Sunpoet Po-Chuan Hsieh >Release: FreeBSD 8.1-STABLE amd64 >Organization: The FreeBSD Project >Environment: System: FreeBSD bonjour.sunpoet.net 8.1-STABLE FreeBSD 8.1-STABLE #0: Sat Oct 23 16:01:16 CST 2010 >Description: - Add missing OPTIONS: UNZIP (default on) - Sort OPTIONS - Use bsd.port.options.mk - Bump PORTREVISION for dependency change: WITH_UNZIP Port maintainer (appleboy.tw@gmail.com) is cc'd. Generated with FreeBSD Port Tools 0.99 >How-To-Repeat: >Fix: --- gallery3-3.0_7.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/www/gallery3/Makefile,v retrieving revision 1.73 diff -u -u -r1.73 Makefile --- Makefile 8 Nov 2010 07:54:12 -0000 1.73 +++ Makefile 8 Nov 2010 15:28:01 -0000 @@ -7,7 +7,7 @@ PORTNAME= gallery3 PORTVERSION= 3.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= www MASTER_SITES= SF/gallery/${PORTNAME}/${PORTVERSION} DISTNAME= gallery-${PORTVERSION} @@ -25,58 +25,59 @@ SUB_FILES= pkg-message -OPTIONS= NETPBM "Enable netpbm support" off \ - IMAGEMAGICK "Enable imagemagick support" on \ +OPTIONS= DCRAW "Enable dcraw support" off \ + FFMPEG "Enable ffmpeg support" off \ + GD "Enable gd support" off \ GRAPHMAGICK "Enable graphicsmagick support" off \ + IMAGEMAGICK "Enable imagemagick support" on \ JHEAD "Enable jhead support" on \ - GD "Enable gd support" off \ - DCRAW "Enable dcraw support" off \ - FFMPEG "Enable ffmpeg support" off \ - NLS "Enable National Language Support" on + NETPBM "Enable netpbm support" off \ + NLS "Enable National Language Support" on \ + UNZIP "Enable unzip support" on -.include +.include -.if defined(WITH_GD) -USE_PHP+= gd -RUN_DEPENDS+= pngtogd:${PORTSDIR}/graphics/gd +.if defined(GALLERY3DIR) +# Continue to support legacy GALLERY3DIR variable +WWWDIR= ${GALLERY3DIR} .endif -.if defined(WITH_NLS) -USE_PHP+= gettext -USE_GETTEXT= yes # Pet portlint +.if defined(WITH_DCRAW) +RUN_DEPENDS+= dcraw:${PORTSDIR}/graphics/dcraw .endif -.if defined(WITH_NETPBM) -RUN_DEPENDS+= giftopnm:${PORTSDIR}/graphics/netpbm +.if defined(WITH_FFMPEG) +LIB_DEPENDS+= avcodec.1:${PORTSDIR}/multimedia/ffmpeg +.endif + +.if defined(WITH_GD) +USE_PHP+= gd +RUN_DEPENDS+= pngtogd:${PORTSDIR}/graphics/gd .endif .if defined(WITH_GRAPHMAGICK) RUN_DEPENDS+= gm:${PORTSDIR}/graphics/GraphicsMagick .endif -.if defined(WITH_IMAGEMAGICK) +.if !defined(WITHOUT_IMAGEMAGICK) RUN_DEPENDS+= convert:${PORTSDIR}/graphics/ImageMagick .endif -.if defined(WITH_JHEAD) +.if !defined(WITHOUT_JHEAD) RUN_DEPENDS+= jhead:${PORTSDIR}/graphics/jhead .endif -.if defined(WITH_UNZIP) -RUN_DEPENDS+= unzip:${PORTSDIR}/archivers/unzip +.if defined(WITH_NETPBM) +RUN_DEPENDS+= giftopnm:${PORTSDIR}/graphics/netpbm .endif -.if defined(WITH_FFMPEG) -LIB_DEPENDS+= avcodec.1:${PORTSDIR}/multimedia/ffmpeg - -.endif -.if defined(WITH_DCRAW) -RUN_DEPENDS+= dcraw:${PORTSDIR}/graphics/dcraw +.if !defined(WITHOUT_NLS) +USE_PHP+= gettext +USE_GETTEXT= yes # Pet portlint .endif -.if defined(GALLERY3DIR) -# Continue to support legacy GALLERY3DIR variable -WWWDIR= ${GALLERY3DIR} +.if !defined(WITHOUT_UNZIP) +RUN_DEPENDS+= unzip:${PORTSDIR}/archivers/unzip .endif do-install: @@ -88,4 +89,4 @@ @${CAT} ${PKGMESSAGE} .endif -.include +.include --- gallery3-3.0_7.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: