aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2004-10-12 18:59:41 +0800
committermat <mat@FreeBSD.org>2004-10-12 18:59:41 +0800
commit640d2a8f9d89418eb744584b385423039fd6375b (patch)
treefb10eef7d31b75de06ab2a9ba73155c5f1fccca4 /devel
parente030f4e573c99ee3acd749985f869840532f011a (diff)
downloadfreebsd-ports-gnome-640d2a8f9d89418eb744584b385423039fd6375b.tar.gz
freebsd-ports-gnome-640d2a8f9d89418eb744584b385423039fd6375b.tar.zst
freebsd-ports-gnome-640d2a8f9d89418eb744584b385423039fd6375b.zip
Add p5-Test-Tester 0.09, helps to test various Test::Builder
derivatives. PR: ports/70657 Submitted by: Alex Kapranoff <alex@kapranoff.ru>
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Test-Tester/Makefile37
-rw-r--r--devel/p5-Test-Tester/distinfo2
-rw-r--r--devel/p5-Test-Tester/pkg-descr4
-rw-r--r--devel/p5-Test-Tester/pkg-plist9
5 files changed, 53 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 02fe07d11d29..0ee58c8f9c1d 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -991,6 +991,7 @@
SUBDIR += p5-Test-Pod
SUBDIR += p5-Test-Reporter
SUBDIR += p5-Test-Simple
+ SUBDIR += p5-Test-Tester
SUBDIR += p5-Test-Unit
SUBDIR += p5-Tie-Array-Sorted
SUBDIR += p5-Tie-Cache
diff --git a/devel/p5-Test-Tester/Makefile b/devel/p5-Test-Tester/Makefile
new file mode 100644
index 000000000000..8cc05618dd85
--- /dev/null
+++ b/devel/p5-Test-Tester/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: p5-Test-Tester
+# Date created: May 12th 2004
+# Whom: Alex Kapranoff <alex@kapranoff.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Test-Tester
+PORTVERSION= 0.09
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Test
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= mat@FreeBSD.org
+COMMENT= Helps to test various Test::Builder derivatives
+
+PERL_CONFIGURE= yes
+CONFIGURE_ARGS= INSTALLDIRS=site
+INSTALL_TARGET= pure_install
+
+MAN3= Test::Tester.3 Test::Tester::Capture.3 \
+ Test::Tester::CaptureRunner.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+= ${SITE_PERL}/Test/Builder.pm:${PORTSDIR}/devel/p5-Test-Simple
+RUN_DEPENDS+= ${BUILD_DEPENDS}
+.if ${PERL_LEVEL} < 500601
+post-patch:
+ @${PERL} -pi -e '$$_ = "" if /(use|no) warnings/g;' \
+ ${WRKSRC}/lib/Test/Tester.pm ${WRKSRC}/lib/Test/Tester/Delegate.pm
+.endif
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Test-Tester/distinfo b/devel/p5-Test-Tester/distinfo
new file mode 100644
index 000000000000..545d74952fee
--- /dev/null
+++ b/devel/p5-Test-Tester/distinfo
@@ -0,0 +1,2 @@
+MD5 (Test-Tester-0.09.tar.gz) = 2862598a4943af6cc563a6ef3ebd05c2
+SIZE (Test-Tester-0.09.tar.gz) = 17269
diff --git a/devel/p5-Test-Tester/pkg-descr b/devel/p5-Test-Tester/pkg-descr
new file mode 100644
index 000000000000..cc8d77fca89e
--- /dev/null
+++ b/devel/p5-Test-Tester/pkg-descr
@@ -0,0 +1,4 @@
+This modules helps to test modules built using Test::Builder,
+that means test the testing modules.
+
+WWW: http://search.cpan.org/dist/Test-Tester/
diff --git a/devel/p5-Test-Tester/pkg-plist b/devel/p5-Test-Tester/pkg-plist
new file mode 100644
index 000000000000..38312fc8e5a6
--- /dev/null
+++ b/devel/p5-Test-Tester/pkg-plist
@@ -0,0 +1,9 @@
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Tester/.packlist
+%%SITE_PERL%%/Test/Tester.pm
+%%SITE_PERL%%/Test/Tester/Capture.pm
+%%SITE_PERL%%/Test/Tester/CaptureRunner.pm
+%%SITE_PERL%%/Test/Tester/Delegate.pm
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Test/Tester
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Test 2>/dev/null || true
+@dirrm %%SITE_PERL%%/Test/Tester
+@unexec rmdir %D/%%SITE_PERL%%/Test 2>/dev/null || true