aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Data-Dumper-Concise/Makefile
diff options
context:
space:
mode:
authorWen Heping <wen@FreeBSD.org>2011-03-03 08:22:01 +0000
committerWen Heping <wen@FreeBSD.org>2011-03-03 08:22:01 +0000
commit15db1efb813ccb04a9514e6f4a65706916a1e7d7 (patch)
treeae5ada965a61bc8e7336381d4650020603928d4e /devel/p5-Data-Dumper-Concise/Makefile
parent935c10e602dfd6711ddc3f3b312b9983b5a2f65c (diff)
downloadports-15db1efb813ccb04a9514e6f4a65706916a1e7d7.tar.gz
ports-15db1efb813ccb04a9514e6f4a65706916a1e7d7.zip
Notes
Diffstat (limited to 'devel/p5-Data-Dumper-Concise/Makefile')
-rw-r--r--devel/p5-Data-Dumper-Concise/Makefile18
1 files changed, 15 insertions, 3 deletions
diff --git a/devel/p5-Data-Dumper-Concise/Makefile b/devel/p5-Data-Dumper-Concise/Makefile
index 35eb8898c547..f1ad65191b64 100644
--- a/devel/p5-Data-Dumper-Concise/Makefile
+++ b/devel/p5-Data-Dumper-Concise/Makefile
@@ -6,16 +6,28 @@
#
PORTNAME= Data-Dumper-Concise
-PORTVERSION= 2.010
+PORTVERSION= 2.020
CATEGORIES= devel perl5
MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:FREW
PKGNAMEPREFIX= p5-
MAINTAINER= cjk32@cam.ac.uk
COMMENT= Less indentation and newlines plus sub deparsing
-BUILD_DEPENDS= p5-Devel-ArgNames>=0.03:${PORTSDIR}/devel/p5-Devel-ArgNames
-RUN_DEPENDS= p5-Devel-ArgNames>=0.03:${PORTSDIR}/devel/p5-Devel-ArgNames
+BUILD_DEPENDS= p5-Data-Dumper>=0:${PORTSDIR}/devel/p5-Data-Dumper
+RUN_DEPENDS= p5-Data-Dumper>=0:${PORTSDIR}/devel/p5-Data-Dumper
+
+TEST_DEPENDS = p5-Error-Simple>=0:${PORTSDIR}/devel/p5-Error-Simple
+
+OPTIONS= ARGNAMES "Enable DwarnN subroutine" On
+
+.include <bsd.port.options.mk>
+
+.if defined(WITH_ARGNAMES)
+BUILD_DEPENDS+= p5-Devel-ArgNames>=0.03:${PORTSDIR}/devel/p5-Devel-ArgNames
+RUN_DEPENDS+= p5-Devel-ArgNames>=0.03:${PORTSDIR}/devel/p5-Devel-ArgNames
+.endif
PERL_CONFIGURE= yes