aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2012-08-22 23:18:33 +0800
committerkuriyama <kuriyama@FreeBSD.org>2012-08-22 23:18:33 +0800
commit7104ad12987b35c87f591fd3688752bea515e6ec (patch)
treef49be5233fdda83f23482d056e4db31a32332679
parenta91ea636726cf914ebfbe74ab3ffe265d14b1091 (diff)
downloadfreebsd-ports-gnome-7104ad12987b35c87f591fd3688752bea515e6ec.tar.gz
freebsd-ports-gnome-7104ad12987b35c87f591fd3688752bea515e6ec.tar.zst
freebsd-ports-gnome-7104ad12987b35c87f591fd3688752bea515e6ec.zip
Test::Mock::Guard is mock test library using RAII. This module is able
to change method behavior by each scope. WWW: http://search.cpan.org/dist/Test-Mock-Guard/
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Test-Mock-Guard/Makefile24
-rw-r--r--devel/p5-Test-Mock-Guard/distinfo2
-rw-r--r--devel/p5-Test-Mock-Guard/pkg-descr4
-rw-r--r--devel/p5-Test-Mock-Guard/pkg-plist7
5 files changed, 38 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index e3ebd6f3125b..e19380699e14 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -2607,6 +2607,7 @@
SUBDIR += p5-Test-Memory-Cycle
SUBDIR += p5-Test-Mini
SUBDIR += p5-Test-Mini-Unit
+ SUBDIR += p5-Test-Mock-Guard
SUBDIR += p5-Test-Mock-LWP
SUBDIR += p5-Test-Mock-LWP-Dispatch
SUBDIR += p5-Test-MockModule
diff --git a/devel/p5-Test-Mock-Guard/Makefile b/devel/p5-Test-Mock-Guard/Makefile
new file mode 100644
index 000000000000..4c2c14a3991a
--- /dev/null
+++ b/devel/p5-Test-Mock-Guard/Makefile
@@ -0,0 +1,24 @@
+# New ports collection makefile for: Test::Mock::Guard
+# Date created: 22 Aug 2012
+# Whom: Jun Kuriyama <kuriyama@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Test-Mock-Guard
+PORTVERSION= 0.08
+CATEGORIES= devel perl5
+MASTER_SITES= CPAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= kuriyama@FreeBSD.org
+COMMENT= Perl extension for simple mock test library using RAII
+
+BUILD_DEPENDS= p5-Class-Load>=0.06:${PORTSDIR}/devel/p5-Class-Load
+RUN_DEPENDS= p5-Class-Load>=0.06:${PORTSDIR}/devel/p5-Class-Load
+
+PERL_CONFIGURE= yes
+
+MAN3= Test::Mock::Guard.3
+
+.include <bsd.port.mk>
diff --git a/devel/p5-Test-Mock-Guard/distinfo b/devel/p5-Test-Mock-Guard/distinfo
new file mode 100644
index 000000000000..717305df5715
--- /dev/null
+++ b/devel/p5-Test-Mock-Guard/distinfo
@@ -0,0 +1,2 @@
+SHA256 (Test-Mock-Guard-0.08.tar.gz) = 1b52ab1c1c207e79a205d262dc4c7f8afa3aa7831bb2576629d89832ff84b930
+SIZE (Test-Mock-Guard-0.08.tar.gz) = 29128
diff --git a/devel/p5-Test-Mock-Guard/pkg-descr b/devel/p5-Test-Mock-Guard/pkg-descr
new file mode 100644
index 000000000000..9a22c06443d0
--- /dev/null
+++ b/devel/p5-Test-Mock-Guard/pkg-descr
@@ -0,0 +1,4 @@
+Test::Mock::Guard is mock test library using RAII. This module is able
+to change method behavior by each scope.
+
+WWW: http://search.cpan.org/dist/Test-Mock-Guard/
diff --git a/devel/p5-Test-Mock-Guard/pkg-plist b/devel/p5-Test-Mock-Guard/pkg-plist
new file mode 100644
index 000000000000..f893b3020962
--- /dev/null
+++ b/devel/p5-Test-Mock-Guard/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Mock/Guard/.packlist
+%%SITE_PERL%%/Test/Mock/Guard.pm
+@dirrmtry %%SITE_PERL%%/Test/Mock
+@dirrmtry %%SITE_PERL%%/Test
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Mock/Guard
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Mock
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test