aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2012-05-22 16:39:23 +0800
committertobez <tobez@FreeBSD.org>2012-05-22 16:39:23 +0800
commitf22118db41052b32b548ee3a3863f9279a73d4ef (patch)
treeff05fe9ea9c546de1e7c4cd191737ad4b7f03e48 /devel
parent40c4c2b5def63dad89cf756602939242c7c20b9d (diff)
downloadfreebsd-ports-gnome-f22118db41052b32b548ee3a3863f9279a73d4ef.tar.gz
freebsd-ports-gnome-f22118db41052b32b548ee3a3863f9279a73d4ef.tar.zst
freebsd-ports-gnome-f22118db41052b32b548ee3a3863f9279a73d4ef.zip
Add TEST_DEPENDS and do other cosmetic changes.
PR: 167920 Submitted by: sunpoet
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Parse-RecDescent/Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/devel/p5-Parse-RecDescent/Makefile b/devel/p5-Parse-RecDescent/Makefile
index 11ae629d9579..13aaaabca855 100644
--- a/devel/p5-Parse-RecDescent/Makefile
+++ b/devel/p5-Parse-RecDescent/Makefile
@@ -7,17 +7,19 @@
PORTNAME= Parse-RecDescent
PORTVERSION= 1.967.009
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= CPAN:JTBRAUN
PKGNAMEPREFIX= p5-
-DISTNAME= ${PORTNAME}-${PORTVERSION:C/\.(...)$/\1/}
+DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E}
MAINTAINER= tobez@FreeBSD.org
COMMENT= A recursive descent parsing framework for Perl
BUILD_DEPENDS= p5-ExtUtils-MakeMaker>=6.62:${PORTSDIR}/devel/p5-ExtUtils-MakeMaker
+TEST_DEPENDS= p5-Test-Warn>=0:${PORTSDIR}/devel/p5-Test-Warn
+
PERL_CONFIGURE= YES
MAN3= Parse::RecDescent.3
@@ -28,10 +30,4 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/tutorial/* ${DOCSDIR}/tutorial
.endif
-.include <bsd.port.pre.mk>
-
-.if ${PERL_LEVEL} < 500900
-RUN_DEPENDS+= p5-version>=0:${PORTSDIR}/devel/p5-version
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>