summaryrefslogblamecommitdiff
path: root/www/p5-Template-Toolkit/Makefile
blob: ddbac095e1a9364ac855a4a2cebe3b07786cafc1 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                           
                    
                                  



                                        
                                 
                                                         
 
                                                                          
                                                                        


                                                            

                   

                                                                 

                          




                                                                                  




                       









                                                                        


                                                                



                                                                  

                                                                      













                                                                             




                                                                       

                                                                            
                                                                            

                                                             


                                                   
           
                                                                      

                                                       
                           
# New ports collection makefile for:	p5-Template-Toolkit
# Date Created:				3 Mar, 2001
# Whom:					clive
#
# $FreeBSD$
#

PORTNAME=	Template-Toolkit
PORTVERSION=	2.08
CATEGORIES=	www textproc perl5
MASTER_SITES=	${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR=	Template
PKGNAMEPREFIX=	p5-

MAINTAINER=	tobez@FreeBSD.org
COMMENT=	Extensive Toolkit for template processing

BUILD_DEPENDS=	${SITE_PERL}/AppConfig.pm:${PORTSDIR}/devel/p5-AppConfig \
		${SITE_PERL}/File/Temp.pm:${PORTSDIR}/devel/p5-File-Temp
RUN_DEPENDS=	${BUILD_DEPENDS}

SITE_PERL=	${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
PERL_CONFIGURE=	yes

MASTER_SITE_BACKUP+=	http://www.template-toolkit.org/download/

.include <bsd.port.pre.mk>

.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)
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 \
	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::GD::Graph::area.3 \
	Template::Plugin::GD::Graph::bars.3 \
	Template::Plugin::GD::Graph::bars3d.3 \
	Template::Plugin::GD::Graph::lines.3 \
	Template::Plugin::GD::Graph::lines3d.3 \
	Template::Plugin::GD::Graph::linespoints.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::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}

post-patch:
	${PERL} -pi -e 's,${LOCALBASE}/tt2,${LOCALBASE}/share/tt2,g' \
		${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}

.include <bsd.port.post.mk>