aboutsummaryrefslogtreecommitdiffstats
path: root/www/p5-Template-Toolkit/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/p5-Template-Toolkit/Makefile')
-rw-r--r--www/p5-Template-Toolkit/Makefile117
1 files changed, 79 insertions, 38 deletions
diff --git a/www/p5-Template-Toolkit/Makefile b/www/p5-Template-Toolkit/Makefile
index 7a4abda47b43..bee36c35588a 100644
--- a/www/p5-Template-Toolkit/Makefile
+++ b/www/p5-Template-Toolkit/Makefile
@@ -6,13 +6,13 @@
#
PORTNAME= Template-Toolkit
-PORTVERSION= 2.08
+PORTVERSION= 2.13
CATEGORIES= www textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Template
PKGNAMEPREFIX= p5-
-MAINTAINER= tobez@FreeBSD.org
+MAINTAINER= perl@FreeBSD.org
COMMENT= Extensive Toolkit for template processing
BUILD_DEPENDS= ${SITE_PERL}/AppConfig.pm:${PORTSDIR}/devel/p5-AppConfig \
@@ -27,7 +27,6 @@ MASTER_SITE_BACKUP+= http://www.template-toolkit.org/download/
.if ${PERL_LEVEL} < 500601
BUILD_DEPENDS+= ${SITE_PERL}/File/Spec/Functions.pm:${PORTSDIR}/devel/p5-File-Spec
-RUN_DEPENDS+= ${SITE_PERL}/File/Spec/Functions.pm:${PORTSDIR}/devel/p5-File-Spec
.endif
.if defined(BATCH)
@@ -35,25 +34,46 @@ CONFIGURE_ENV= |
.endif
MAN1= tpage.1 ttree.1
-MAN3= Template.3 Template::Base.3 Template::Constants.3 \
- Template::Context.3 Template::Document.3 Template::Exception.3 \
- Template::FAQ.3 Template::Filters.3 Template::Iterator.3 \
- Template::Library::HTML.3 Template::Library::PostScript.3 \
- Template::Library::Splash.3 Template::Manual.3 \
- Template::Manual::Config.3 Template::Manual::Credits.3 \
- Template::Manual::Directives.3 Template::Manual::Filters.3 \
- Template::Manual::Internals.3 Template::Manual::Intro.3 \
- Template::Manual::Plugins.3 Template::Manual::Refs.3 \
- Template::Manual::Syntax.3 Template::Manual::Variables.3 \
- Template::Manual::Views.3 Template::Manual::VMethods.3 \
- Template::Modules.3 Template::Namespace::Constants.3 \
+MAN3= Template.3 \
+ Template::Base.3 \
+ Template::Constants.3 \
+ Template::Context.3 \
+ Template::Document.3 \
+ Template::Exception.3 \
+ Template::FAQ.3 \
+ Template::Filters.3 \
+ Template::Iterator.3 \
+ Template::Library::HTML.3 \
+ Template::Library::PostScript.3 \
+ Template::Library::Splash.3 \
+ Template::Manual.3 \
+ Template::Manual::Config.3 \
+ Template::Manual::Credits.3 \
+ Template::Manual::Directives.3 \
+ Template::Manual::Filters.3 \
+ Template::Manual::Internals.3 \
+ Template::Manual::Intro.3 \
+ Template::Manual::Plugins.3 \
+ Template::Manual::Refs.3 \
+ Template::Manual::Syntax.3 \
+ Template::Manual::VMethods.3 \
+ Template::Manual::Variables.3 \
+ Template::Manual::Views.3 \
+ Template::Modules.3 \
+ Template::Namespace::Constants.3 \
Template::Parser.3 \
- Template::Plugin.3 Template::Plugin::Autoformat.3 \
- Template::Plugin::CGI.3 Template::Plugin::DBI.3 \
- Template::Plugin::Datafile.3 Template::Plugin::Date.3 \
- Template::Plugin::Directory.3 Template::Plugin::Dumper.3 \
- Template::Plugin::File.3 Template::Plugin::Filter.3 \
- Template::Plugin::Format.3 Template::Plugin::GD::Constants.3 \
+ Template::Plugin.3 \
+ Template::Plugin::Autoformat.3 \
+ Template::Plugin::CGI.3 \
+ Template::Plugin::DBI.3 \
+ Template::Plugin::Datafile.3 \
+ Template::Plugin::Date.3 \
+ Template::Plugin::Directory.3 \
+ Template::Plugin::Dumper.3 \
+ Template::Plugin::File.3 \
+ Template::Plugin::Filter.3 \
+ Template::Plugin::Format.3 \
+ Template::Plugin::GD::Constants.3 \
Template::Plugin::GD::Graph::area.3 \
Template::Plugin::GD::Graph::bars.3 \
Template::Plugin::GD::Graph::bars3d.3 \
@@ -63,26 +83,47 @@ MAN3= Template.3 Template::Base.3 Template::Constants.3 \
Template::Plugin::GD::Graph::mixed.3 \
Template::Plugin::GD::Graph::pie.3 \
Template::Plugin::GD::Graph::pie3d.3 \
- Template::Plugin::GD::Graph::points.3 Template::Plugin::GD::Image.3 \
- Template::Plugin::GD::Polygon.3 Template::Plugin::GD::Text.3 \
+ Template::Plugin::GD::Graph::points.3 \
+ Template::Plugin::GD::Image.3 \
+ Template::Plugin::GD::Polygon.3 \
+ Template::Plugin::GD::Text.3 \
Template::Plugin::GD::Text::Align.3 \
- Template::Plugin::GD::Text::Wrap.3 Template::Plugin::HTML.3 \
- Template::Plugin::Iterator.3 Template::Plugin::Pod.3 \
- Template::Plugin::String.3 Template::Plugin::Table.3 \
- Template::Plugin::URL.3 Template::Plugin::View.3 \
- Template::Plugin::Wrap.3 Template::Plugin::XML::DOM.3 \
- Template::Plugin::XML::RSS.3 Template::Plugin::XML::Simple.3 \
- Template::Plugin::XML::Style.3 Template::Plugin::XML::XPath.3 \
- Template::Plugins.3 Template::Provider.3 Template::Service.3 \
- Template::Stash.3 Template::Stash::Context.3 Template::Stash::XS.3 \
- Template::Test.3 Template::Tools::tpage.3 Template::Tools::ttree.3 \
- Template::Tutorial.3 Template::Tutorial::Datafile.3 \
- Template::Tutorial::Web.3 Template::View.3
-
-MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+ Template::Plugin::GD::Text::Wrap.3 \
+ Template::Plugin::HTML.3 \
+ Template::Plugin::Image.3 \
+ Template::Plugin::Iterator.3 \
+ Template::Plugin::Pod.3 \
+ Template::Plugin::Procedural.3 \
+ Template::Plugin::String.3 \
+ Template::Plugin::Table.3 \
+ Template::Plugin::URL.3 \
+ Template::Plugin::View.3 \
+ Template::Plugin::Wrap.3 \
+ Template::Plugin::XML::DOM.3 \
+ Template::Plugin::XML::RSS.3 \
+ Template::Plugin::XML::Simple.3 \
+ Template::Plugin::XML::Style.3 \
+ Template::Plugin::XML::XPath.3 \
+ Template::Plugins.3 \
+ Template::Provider.3 \
+ Template::Service.3 \
+ Template::Stash.3 \
+ Template::Stash::Context.3 \
+ Template::Stash::XS.3 \
+ Template::Test.3 \
+ Template::Tools::tpage.3 \
+ Template::Tools::ttree.3 \
+ Template::Tutorial.3 \
+ Template::Tutorial::Datafile.3 \
+ Template::Tutorial::Web.3 \
+ Template::View.3
post-patch:
- ${PERL} -pi -e 's,${LOCALBASE}/tt2,${LOCALBASE}/share/tt2,g' \
+ ${PERL} -pi -e 's,${LOCALBASE}/tt2,${PREFIX}/share/tt2,g' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
+.if ${PERL_LEVEL} >= 500800
+MAN3+= Template::Config.3
+.endif
+
.include <bsd.port.post.mk>