Date: Sun, 14 Nov 2004 08:14:01 +0200 (EET) From: "ports@c0decafe.net" <ports@c0decafe.net> To: FreeBSD-gnats-submit@freebsd.org Cc: perl@freebsd.org Subject: [PATCH] www/p5-Template-Toolkit: OPTIONSnize plugins dependencies Message-ID: <200411140614.iAE6E1iu059716@atlantis.local>
next in thread | raw e-mail | index | archive | help
>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 ---
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411140614.iAE6E1iu059716>