From owner-freebsd-perl@FreeBSD.ORG Sun Nov 14 06:15:22 2004 Return-Path: Delivered-To: freebsd-perl@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2237D16A4CE for ; Sun, 14 Nov 2004 06:15:22 +0000 (GMT) Received: from iris1.directnic.com (iris1.directnic.com [204.251.10.81]) by mx1.FreeBSD.org (Postfix) with SMTP id 7E48743D53 for ; Sun, 14 Nov 2004 06:15:19 +0000 (GMT) (envelope-from ports@c0decafe.net) Received: by iris1.directnic.com (iris/0.161:423476); 14 Nov 2004 06:15:14 +0000 X-Iris-Host: 3263044661/[194.126.28.53] Received: from [194.126.28.53] (EHLO atlantis.local) (194.126.28.53) by pop.directnic.com (iris/0.160:423476/relay) with ESMTP for ; 14 Nov 2004 06:14:37 +0000 Received: from atlantis.local (localhost [127.0.0.1]) by atlantis.local (8.13.1/8.13.1) with ESMTP id iAE6E4v4059717; Sun, 14 Nov 2004 08:14:04 +0200 (EET) (envelope-from ports@c0decafe.net) Received: (from root@localhost) by atlantis.local (8.13.1/8.13.1/Submit) id iAE6E1iu059716; Sun, 14 Nov 2004 08:14:01 +0200 (EET) (envelope-from ports@c0decafe.net) Date: Sun, 14 Nov 2004 08:14:01 +0200 (EET) Message-Id: <200411140614.iAE6E1iu059716@atlantis.local> To: FreeBSD-gnats-submit@freebsd.org From: "ports@c0decafe.net" X-send-pr-version: 3.113 X-GNATS-Notify: cc: perl@freebsd.org Subject: [PATCH] www/p5-Template-Toolkit: OPTIONSnize plugins dependencies X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Nov 2004 06:15:22 -0000 >Submitter-Id: current-users >Originator: ports@c0decafe.net >Organization: >Confidential: no >Synopsis: [PATCH] www/p5-Template-Toolkit: OPTIONSnize plugins dependencies >Severity: non-critical >Priority: low >Category: ports >Class: change-request >Release: FreeBSD 5.3-STABLE i386 >Environment: System: FreeBSD atlantis.local 5.3-STABLE FreeBSD 5.3-STABLE #0: Sat Nov 13 07:00:43 EET 2004 >Description: add Template::Plugin::*'s optional dependencies Port maintainer (perl@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- p5-Template-Toolkit-2.14.patch begins here --- diff -ruN --exclude=CVS /usr/ports/www/p5-Template-Toolkit.orig/Makefile /usr/ports/www/p5-Template-Toolkit/Makefile --- www/p5-Template-Toolkit.orig/Makefile Mon Nov 1 16:56:06 2004 +++ www/p5-Template-Toolkit/Makefile Sun Nov 14 05:01:01 2004 @@ -16,7 +16,21 @@ COMMENT= Extensive Toolkit for template processing BUILD_DEPENDS= ${SITE_PERL}/AppConfig.pm:${PORTSDIR}/devel/p5-AppConfig -RUN_DEPENDS= ${BUILD_DEPENDS} + +OPTIONS=TEXT_AUTOFORMAT "With Text::Autoformat Plugin" off \ + GD "With GD Plugin" off \ + GD_TEXT "With GD::Text Plugin" off \ + GD_GRAPH "With GD::Graph Plugin" off \ + GD_GRAPH3D "With GD::Graph3d Plugin" off \ + IMAGE_INFO "With Image::Info Plugin" off \ + IMAGE_SIZE "With Image::Size Plugin" off \ + DATE_CALC "With Date::Calc Plugin" off \ + POD_POM "With Pod::POM Plugin" off \ + TIE_DBI "With Tie::DBI Plugin" off \ + XML_DOM "With XML::DOM Plugin" off \ + XML_RSS "With XML::RSS Plugin" off \ + XML_XPATH "With XML::XPath Plugin" off \ + DBI "With DBI Plugin" off PERL_CONFIGURE= yes @@ -30,6 +44,51 @@ BUILD_DEPENDS+= ${SITE_PERL}/File/Spec/Functions.pm:${PORTSDIR}/devel/p5-File-Spec .endif .endif + +.if defined(WITH_TEXT_AUTOFORMAT) +BUILD_DEPENDS+=${SITE_PERL}/Text/Autoformat.pm:${PORTSDIR}/textproc/p5-Text-Autoformat +.endif +.if defined(WITH_GD) +BUILD_DEPENDS+=${SITE_PERL}/${PERL_ARCH}/GD.pm:${PORTSDIR}/graphics/p5-GD +.endif +.if defined(WITH_GD_TEXT) +BUILD_DEPENDS+=${SITE_PERL}/GD/Text.pm:${PORTSDIR}/graphics/p5-GD-TextUtil +.endif +.if defined(WITH_GD_GRAPH) +BUILD_DEPENDS+=${SITE_PERL}/GD/Graph.pm:${PORTSDIR}/graphics/p5-GD-Graph +.endif +.if defined(WITH_GD_GRAPH3D) +BUILD_DEPENDS+=${SITE_PERL}/GD/Graph3d.pm:${PORTSDIR}/graphics/p5-GD-Graph3d +.endif +.if defined(WITH_IMAGE_INFO) +BUILD_DEPENDS+=${SITE_PERL}/Image/Info.pm:${PORTSDIR}/graphics/p5-Image-Info +.endif +.if defined(WITH_IMAGE_SIZE) +BUILD_DEPENDS+=${SITE_PERL}/Image/Size.pm:${PORTSDIR}/graphics/p5-Image-Size +.endif +.if defined(WITH_DATE_CALC) +BUILD_DEPENDS+=${SITE_PERL}/${PERL_ARCH}/Date/Calc.pm:${PORTSDIR}/devel/p5-Date-Calc +.endif +.if defined(WITH_POD_POM) +BUILD_DEPENDS+=${SITE_PERL}/Pod/POM.pm:${PORTSDIR}/textproc/p5-Pod-POM +.endif +.if defined(WITH_TIE_DBI) +BUILD_DEPENDS+=${SITE_PERL}/Tie/DBI.pm:${PORTSDIR}/databases/p5-Tie-DBI +.endif +.if defined(WITH_XML_DOM) +BUILD_DEPENDS+=${SITE_PERL}/XML/DOM.pm:${PORTSDIR}/textproc/p5-XML-DOM +.endif +.if defined(WITH_XML_RSS) +BUILD_DEPENDS+=${SITE_PERL}/XML/RSS.pm:${PORTSDIR}/textproc/p5-XML-RSS +.endif +.if defined(WITH_XML_XPATH) +BUILD_DEPENDS+=${SITE_PERL}/XML/XPath.pm:${PORTSDIR}/textproc/p5-XML-XPath +.endif +.if defined(WITH_DBI) +BUILD_DEPENDS+=${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI +.endif + +RUN_DEPENDS= ${BUILD_DEPENDS} .if defined(BATCH) CONFIGURE_ENV= | --- p5-Template-Toolkit-2.14.patch ends here ---