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/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/www/p5-Template-Toolkit/Makefile b/www/p5-Template-Toolkit/Makefile
index 7e2bdbe8743f..cc3075a098ec 100644
--- a/www/p5-Template-Toolkit/Makefile
+++ b/www/p5-Template-Toolkit/Makefile
@@ -3,6 +3,7 @@
PORTNAME= Template-Toolkit
PORTVERSION= 2.26
+PORTREVISION= 1
CATEGORIES= www textproc perl5
MASTER_SITES= CPAN \
http://www.template-toolkit.org/download/
@@ -11,6 +12,9 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Extensive Toolkit for template processing
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
BUILD_DEPENDS= p5-AppConfig>=1.56:${PORTSDIR}/devel/p5-AppConfig
RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= p5-Image-Size>=0:${PORTSDIR}/graphics/p5-Image-Size \
@@ -39,7 +43,9 @@ POD_POM_BUILD_DEPENDS= p5-Pod-POM>=0:${PORTSDIR}/textproc/p5-Pod-POM
POD_POM_RUN_DEPENDS= p5-Pod-POM>=0:${PORTSDIR}/textproc/p5-Pod-POM
post-patch:
- @${REINPLACE_CMD} -e '/PREFIX/ s|/usr/local|${PREFIX}/share|' \
- ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
+ @${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>