2013-02-12 12:29:55 +01:00
|
|
|
# Created by: clive
|
2001-03-08 13:56:44 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= Template-Toolkit
|
2012-02-09 02:54:14 +01:00
|
|
|
PORTVERSION= 2.24
|
2001-04-01 05:28:18 +02:00
|
|
|
CATEGORIES= www textproc perl5
|
2011-09-05 16:43:55 +02:00
|
|
|
MASTER_SITES= CPAN \
|
|
|
|
http://www.template-toolkit.org/download/
|
2001-03-08 13:56:44 +01:00
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
2004-02-05 16:32:08 +01:00
|
|
|
MAINTAINER= perl@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Extensive Toolkit for template processing
|
2001-03-08 13:56:44 +01:00
|
|
|
|
2011-09-05 16:43:55 +02:00
|
|
|
BUILD_DEPENDS= p5-AppConfig>=1.56:${PORTSDIR}/devel/p5-AppConfig
|
|
|
|
RUN_DEPENDS= p5-AppConfig>=1.56:${PORTSDIR}/devel/p5-AppConfig
|
2001-04-02 14:24:15 +02:00
|
|
|
|
2012-01-23 20:06:01 +01:00
|
|
|
TEST_DEPENDS= p5-Image-Size>=0:${PORTSDIR}/graphics/p5-Image-Size \
|
|
|
|
p5-Pod-POM>=0:${PORTSDIR}/textproc/p5-Pod-POM
|
|
|
|
|
2012-05-31 13:19:32 +02:00
|
|
|
OPTIONS_DEFINE= DATE_CALC IMAGE_INFO IMAGE_SIZE POD_POM
|
|
|
|
DATE_CALC_DESC= With Date::Calc Plugin
|
|
|
|
IMAGE_INFO_DESC= With Image::Info Plugin
|
|
|
|
IMAGE_SIZE_DESC= With Image::Size Plugin
|
|
|
|
POD_POM_DESC= With Pod::POM Plugin
|
2004-11-23 11:26:43 +01:00
|
|
|
|
2001-03-08 13:56:44 +01:00
|
|
|
PERL_CONFIGURE= yes
|
2011-09-05 16:43:55 +02:00
|
|
|
CONFIGURE_ARGS= TT_ACCEPT=y
|
2001-03-08 13:56:44 +01:00
|
|
|
|
2011-09-05 16:43:55 +02:00
|
|
|
.include "Makefile.man"
|
2001-04-06 17:34:51 +02:00
|
|
|
|
2011-09-05 16:43:55 +02:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2012-05-31 13:19:32 +02:00
|
|
|
.if ${PORT_OPTIONS:MDATE_CALC}
|
2011-09-05 16:43:55 +02:00
|
|
|
BUILD_DEPENDS+= p5-Date-Calc>=0:${PORTSDIR}/devel/p5-Date-Calc
|
|
|
|
RUN_DEPENDS+= p5-Date-Calc>=0:${PORTSDIR}/devel/p5-Date-Calc
|
|
|
|
.endif
|
2001-04-08 20:10:14 +02:00
|
|
|
|
2012-05-31 13:19:32 +02:00
|
|
|
.if ${PORT_OPTIONS:MIMAGE_INFO}
|
2011-09-05 16:43:55 +02:00
|
|
|
BUILD_DEPENDS+= p5-Image-Info>=0:${PORTSDIR}/graphics/p5-Image-Info
|
|
|
|
RUN_DEPENDS+= p5-Image-Info>=0:${PORTSDIR}/graphics/p5-Image-Info
|
2004-11-23 11:26:43 +01:00
|
|
|
.endif
|
2011-09-05 16:43:55 +02:00
|
|
|
|
2012-05-31 13:19:32 +02:00
|
|
|
.if ${PORT_OPTIONS:MIMAGE_SIZE}
|
2011-09-05 16:43:55 +02:00
|
|
|
BUILD_DEPENDS+= p5-Image-Size>=0:${PORTSDIR}/graphics/p5-Image-Size
|
|
|
|
RUN_DEPENDS+= p5-Image-Size>=0:${PORTSDIR}/graphics/p5-Image-Size
|
2004-11-23 11:26:43 +01:00
|
|
|
.endif
|
2011-09-05 16:43:55 +02:00
|
|
|
|
2012-05-31 13:19:32 +02:00
|
|
|
.if ${PORT_OPTIONS:MPOD_POM}
|
2011-09-05 16:43:55 +02:00
|
|
|
BUILD_DEPENDS+= p5-Pod-POM>=0:${PORTSDIR}/textproc/p5-Pod-POM
|
|
|
|
RUN_DEPENDS+= p5-Pod-POM>=0:${PORTSDIR}/textproc/p5-Pod-POM
|
2004-11-23 11:26:43 +01:00
|
|
|
.endif
|
|
|
|
|
2001-04-02 14:24:15 +02:00
|
|
|
post-patch:
|
2011-09-05 16:43:55 +02:00
|
|
|
@${REINPLACE_CMD} -e '/PREFIX/ s|/usr/local|${PREFIX}/share|' \
|
2001-04-02 14:24:15 +02:00
|
|
|
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
|
2004-10-12 12:25:55 +02:00
|
|
|
|
2011-09-05 16:43:55 +02:00
|
|
|
.include <bsd.port.mk>
|