# Created by: clive # $FreeBSD$ PORTNAME= Template-Toolkit PORTVERSION= 2.24 CATEGORIES= www textproc perl5 MASTER_SITES= CPAN \ http://www.template-toolkit.org/download/ PKGNAMEPREFIX= p5- MAINTAINER= perl@FreeBSD.org COMMENT= Extensive Toolkit for template processing BUILD_DEPENDS= p5-AppConfig>=1.56:${PORTSDIR}/devel/p5-AppConfig RUN_DEPENDS= p5-AppConfig>=1.56:${PORTSDIR}/devel/p5-AppConfig TEST_DEPENDS= p5-Image-Size>=0:${PORTSDIR}/graphics/p5-Image-Size \ p5-Pod-POM>=0:${PORTSDIR}/textproc/p5-Pod-POM 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 PERL_CONFIGURE= yes CONFIGURE_ARGS= TT_ACCEPT=y .include "Makefile.man" .include .if ${PORT_OPTIONS:MDATE_CALC} BUILD_DEPENDS+= p5-Date-Calc>=0:${PORTSDIR}/devel/p5-Date-Calc RUN_DEPENDS+= p5-Date-Calc>=0:${PORTSDIR}/devel/p5-Date-Calc .endif .if ${PORT_OPTIONS:MIMAGE_INFO} BUILD_DEPENDS+= p5-Image-Info>=0:${PORTSDIR}/graphics/p5-Image-Info RUN_DEPENDS+= p5-Image-Info>=0:${PORTSDIR}/graphics/p5-Image-Info .endif .if ${PORT_OPTIONS:MIMAGE_SIZE} BUILD_DEPENDS+= p5-Image-Size>=0:${PORTSDIR}/graphics/p5-Image-Size RUN_DEPENDS+= p5-Image-Size>=0:${PORTSDIR}/graphics/p5-Image-Size .endif .if ${PORT_OPTIONS:MPOD_POM} BUILD_DEPENDS+= p5-Pod-POM>=0:${PORTSDIR}/textproc/p5-Pod-POM RUN_DEPENDS+= p5-Pod-POM>=0:${PORTSDIR}/textproc/p5-Pod-POM .endif post-patch: @${REINPLACE_CMD} -e '/PREFIX/ s|/usr/local|${PREFIX}/share|' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} .include