aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorlth <lth@FreeBSD.org>2012-09-16 23:20:12 +0800
committerlth <lth@FreeBSD.org>2012-09-16 23:20:12 +0800
commit6dfbc8cd65e719e7a93f3383deec68923f5b8d8a (patch)
treed11c51937692bb121ff8af6678fcba236491204f /devel
parent4970d21bfd03b3760508de4c2293fdbb1c16d6ab (diff)
downloadfreebsd-ports-gnome-6dfbc8cd65e719e7a93f3383deec68923f5b8d8a.tar.gz
freebsd-ports-gnome-6dfbc8cd65e719e7a93f3383deec68923f5b8d8a.tar.zst
freebsd-ports-gnome-6dfbc8cd65e719e7a93f3383deec68923f5b8d8a.zip
Add p5-Moose-Test 0.01, a Test Runner for the Moose test suite.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Moose-Test/Makefile22
-rw-r--r--devel/p5-Moose-Test/distinfo2
-rw-r--r--devel/p5-Moose-Test/pkg-descr5
-rw-r--r--devel/p5-Moose-Test/pkg-plist7
5 files changed, 37 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index f60f5168138a..de7d4d70ab8a 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2165,6 +2165,7 @@
SUBDIR += p5-Moose
SUBDIR += p5-Moose-Autobox
SUBDIR += p5-Moose-Policy
+ SUBDIR += p5-Moose-Test
SUBDIR += p5-MooseX-Aliases
SUBDIR += p5-MooseX-App
SUBDIR += p5-MooseX-App-Cmd
diff --git a/devel/p5-Moose-Test/Makefile b/devel/p5-Moose-Test/Makefile
new file mode 100644
index 000000000000..b2415230c5c3
--- /dev/null
+++ b/devel/p5-Moose-Test/Makefile
@@ -0,0 +1,22 @@
+# $FreeBSD$
+
+PORTNAME= Moose-Test
+PORTVERSION= 0.01
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:SARTAK
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= lth@FreeBSD.org
+COMMENT= A Test Runner for the Moose test suite
+
+BUILD_DEPENDS= p5-Mouse>=0:${PORTSDIR}/devel/p5-Mouse \
+ p5-Path-Class>=0:${PORTSDIR}/devel/p5-Path-Class
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Moose::Test.3 \
+ Moose::Test::Case.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Moose-Test/distinfo b/devel/p5-Moose-Test/distinfo
new file mode 100644
index 000000000000..1f3db6ff7204
--- /dev/null
+++ b/devel/p5-Moose-Test/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Moose-Test-0.01.tar.gz) = bf8610385946f8bf360ae288e42bd63e59948c91678e55a23605344956a4f25e
+SIZE (Moose-Test-0.01.tar.gz) = 16097
diff --git a/devel/p5-Moose-Test/pkg-descr b/devel/p5-Moose-Test/pkg-descr
new file mode 100644
index 000000000000..c5583f53949a
--- /dev/null
+++ b/devel/p5-Moose-Test/pkg-descr
@@ -0,0 +1,5 @@
+This module provides an abstraction over the Moose test
+cases such that it makes it easier for them to be re-used
+in different contexts.
+
+WWW: http://search.cpan.org/dist/Moose-Test/
diff --git a/devel/p5-Moose-Test/pkg-plist b/devel/p5-Moose-Test/pkg-plist
new file mode 100644
index 000000000000..edb22ac081f1
--- /dev/null
+++ b/devel/p5-Moose-Test/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Moose/Test.pm
+%%SITE_PERL%%/Moose/Test/Case.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Moose/Test/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Moose/Test
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Moose
+@dirrmtry %%SITE_PERL%%/Moose/Test
+@dirrmtry %%SITE_PERL%%/Moose