blob: 8c8abb652101290461de618a5b2b2aab3311648d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Created by: clive
# $FreeBSD$
PORTNAME= Template-Toolkit
PORTVERSION= 2.27
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
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
BUILD_DEPENDS= p5-AppConfig>=1.56:devel/p5-AppConfig
RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= p5-Image-Size>=0:graphics/p5-Image-Size \
p5-Pod-POM>=0:textproc/p5-Pod-POM
OPTIONS_DEFINE= DATE_CALC IMAGE_INFO IMAGE_SIZE POD_POM
DATE_CALC_DESC= Include Date::Calc Plugin
IMAGE_INFO_DESC=Include Image::Info Plugin
IMAGE_SIZE_DESC=Include Image::Size Plugin
POD_POM_DESC= Include Pod::POM Plugin
USES= perl5
USE_PERL5= configure
CONFIGURE_ARGS= TT_ACCEPT=y
DATE_CALC_BUILD_DEPENDS= p5-Date-Calc>=0:devel/p5-Date-Calc
DATE_CALC_RUN_DEPENDS= p5-Date-Calc>=0:devel/p5-Date-Calc
IMAGE_INFO_BUILD_DEPENDS= p5-Image-Info>=0:graphics/p5-Image-Info
IMAGE_INFO_RUN_DEPENDS= p5-Image-Info>=0:graphics/p5-Image-Info
IMAGE_SIZE_BUILD_DEPENDS= p5-Image-Size>=0:graphics/p5-Image-Size
IMAGE_SIZE_RUN_DEPENDS= p5-Image-Size>=0:graphics/p5-Image-Size
POD_POM_BUILD_DEPENDS= p5-Pod-POM>=0:textproc/p5-Pod-POM
POD_POM_RUN_DEPENDS= p5-Pod-POM>=0:textproc/p5-Pod-POM
post-patch:
@${REINPLACE_CMD} -e '/PREFIX/ s|/usr/local|${PREFIX}/share|' ${WRKSRC}/Makefile.PL
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Template/Stash/XS/XS.so
.include <bsd.port.mk>
|