summaryrefslogtreecommitdiff
path: root/devel/p5-Test-Most/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/p5-Test-Most/Makefile')
-rw-r--r--devel/p5-Test-Most/Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/devel/p5-Test-Most/Makefile b/devel/p5-Test-Most/Makefile
index d4dbf5988bb..ac0df3498e8 100644
--- a/devel/p5-Test-Most/Makefile
+++ b/devel/p5-Test-Most/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1.1.1 2009/02/14 00:12:30 abs Exp $
+# $NetBSD: Makefile,v 1.2 2009/04/12 10:59:47 sno Exp $
#
-DISTNAME= Test-Most-0.20
+DISTNAME= Test-Most-0.21
PKGNAME= p5-${DISTNAME}
CATEGORIES= devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/}
@@ -9,6 +9,7 @@ MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/perldoc?Test::Most
COMMENT= Most commonly needed test functions and features
+LICENSE= artistic-2.0
DEPENDS+= p5-Exception-Class>=1.14:../../devel/p5-Exception-Class
DEPENDS+= p5-Test-Simple>=0.82:../../devel/p5-Test-Simple
@@ -18,6 +19,16 @@ DEPENDS+= p5-Test-Deep>0:../../devel/p5-Test-Deep
DEPENDS+= p5-Test-Harness>3.07:../../devel/p5-Test-Harness
DEPENDS+= p5-Test-Warn>0.10:../../devel/p5-Test-Warn
+PKG_OPTIONS_VAR= PKG_OPTIONS.p5-Test-Most
+PKG_SUPPORTED_OPTIONS+= data-dumper-names
+PKG_SUGGESTED_OPTIONS+= # empty
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mdata-dumper-names)
+DEPENDS+= p5-Data-Dumper-Names>=0.03:../../devel/p5-Data-Dumper-Names
+.endif
+
PKG_DESTDIR_SUPPORT= user-destdir
PERL5_MODULE_TYPE= Module::Build