aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjhale <jhale@FreeBSD.org>2012-10-13 08:21:02 +0800
committerjhale <jhale@FreeBSD.org>2012-10-13 08:21:02 +0800
commit97898ce24463528172f90b257e5bf6855c6011c5 (patch)
treedfb8be32a44b84378176abcbee09afa99fec5dee
parent9ed4e2eabdd4d19ff57ddd21428116e203f64b79 (diff)
downloadfreebsd-ports-gnome-97898ce24463528172f90b257e5bf6855c6011c5.tar.gz
freebsd-ports-gnome-97898ce24463528172f90b257e5bf6855c6011c5.tar.zst
freebsd-ports-gnome-97898ce24463528172f90b257e5bf6855c6011c5.zip
- Update to 1.5019 [1]
- Fix portlint(1) warnings about BUILD/RUN_DEPENDS [1] - Add regression-test target since TEST_DEPENDS were already there - Trim Makefile header PR: ports/168112 [1] Submitted by: Muhammad Moinur Rahman <5u623l20@gmail.com> [1] Approved by: tobez (maintainer timeout, 5 months) [1] makc, avilla (mentors, implicit) Feature safe: yes
-rw-r--r--textproc/p5-Text-Xslate/Makefile30
-rw-r--r--textproc/p5-Text-Xslate/distinfo4
2 files changed, 20 insertions, 14 deletions
diff --git a/textproc/p5-Text-Xslate/Makefile b/textproc/p5-Text-Xslate/Makefile
index 6cca75656b7b..90f9780387ad 100644
--- a/textproc/p5-Text-Xslate/Makefile
+++ b/textproc/p5-Text-Xslate/Makefile
@@ -1,12 +1,8 @@
-# New ports collection makefile for: textproc/p5-Text-Xslate
-# Date created: 10 June 2010
-# Whom: Anton Berezin <tobez@FreeBSD.org>
-#
+# Whom: Anton Berezin <tobez@FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= Text-Xslate
-PORTVERSION= 1.5009
+PORTVERSION= 1.5019
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:GFUJI
@@ -18,13 +14,14 @@ COMMENT= High performance template engine
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
-COMMON_DEPENDS= p5-parent>=0.221:${PORTSDIR}/devel/p5-parent \
+BUILD_DEPENDS= p5-parent>=0.221:${PORTSDIR}/devel/p5-parent \
p5-Mouse>=0.61:${PORTSDIR}/devel/p5-Mouse \
p5-Any-Moose>=0.13:${PORTSDIR}/devel/p5-Any-Moose \
- p5-Data-MessagePack>=0.38:${PORTSDIR}/devel/p5-Data-MessagePack
-BUILD_DEPENDS= ${COMMON_DEPENDS}
-RUN_DEPENDS= ${COMMON_DEPENDS}
-TEST_DEPENDS= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple \
+ p5-Data-MessagePack>=0.38:${PORTSDIR}/devel/p5-Data-MessagePack \
+ p5-MRO-Compat>=0:${PORTSDIR}/devel/p5-MRO-Compat
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+TEST_DEPENDS= p5-File-Copy-Recursive>=0:${PORTSDIR}/devel/p5-File-Copy-Recursive \
+ p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple \
p5-Test-Requires>=0:${PORTSDIR}/devel/p5-Test-Requires
MAKE_JOBS_UNSAFE= yes
@@ -59,4 +56,13 @@ MAN3= Text::Xslate.3 \
Text::Xslate::Type::Raw.3 \
Text::Xslate::Util.3
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 501600
+BUILD_DEPENDS+= p5-ExtUtils-MakeMaker>=6.59:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker
+.endif
+
+regression-test: build
+ @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} test
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Text-Xslate/distinfo b/textproc/p5-Text-Xslate/distinfo
index 6668f81f60c4..be870c5b1373 100644
--- a/textproc/p5-Text-Xslate/distinfo
+++ b/textproc/p5-Text-Xslate/distinfo
@@ -1,2 +1,2 @@
-SHA256 (Text-Xslate-1.5009.tar.gz) = 17441381291968eafc7c15f84737c589556289ed4e60b4ed7c76320ddee54ce8
-SIZE (Text-Xslate-1.5009.tar.gz) = 208643
+SHA256 (Text-Xslate-1.5019.tar.gz) = 30b3c48e39102e6ffc26499a0aca76ed0e835a7e6553533b5c1cc296da24ba0d
+SIZE (Text-Xslate-1.5019.tar.gz) = 211521