aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2004-11-27 20:09:07 +0800
committersem <sem@FreeBSD.org>2004-11-27 20:09:07 +0800
commit654270bae6a1b90c357987b40fbf27cde2394faf (patch)
treeae4eb2869c02e5f9e9eb076a9422c5bb4eb7225c /devel
parent481092f374e60f6ee6da787f8162fbeaca7b56cf (diff)
downloadfreebsd-ports-gnome-654270bae6a1b90c357987b40fbf27cde2394faf.tar.gz
freebsd-ports-gnome-654270bae6a1b90c357987b40fbf27cde2394faf.tar.zst
freebsd-ports-gnome-654270bae6a1b90c357987b40fbf27cde2394faf.zip
New port: devel/p5-Test-LectroTest -- specification tests maker
PR: ports/72306 Submitted by: Alex Kapranoff <kappa(at)rambler-co.ru>
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/p5-Test-LectroTest/Makefile33
-rw-r--r--devel/p5-Test-LectroTest/distinfo2
-rw-r--r--devel/p5-Test-LectroTest/pkg-descr7
-rw-r--r--devel/p5-Test-LectroTest/pkg-plist7
5 files changed, 50 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index b47ebb9621a0..8625ed803168 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1013,6 +1013,7 @@
SUBDIR += p5-Test-Exception
SUBDIR += p5-Test-Harness
SUBDIR += p5-Test-Inline
+ SUBDIR += p5-Test-LectroTest
SUBDIR += p5-Test-Manifest
SUBDIR += p5-Test-MockObject
SUBDIR += p5-Test-NoWarnings
diff --git a/devel/p5-Test-LectroTest/Makefile b/devel/p5-Test-LectroTest/Makefile
new file mode 100644
index 000000000000..30d2e17628b5
--- /dev/null
+++ b/devel/p5-Test-LectroTest/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: p5-Test-LectroTest
+# Date created: October 4th 2004
+# Whom: Alex Kapranoff <alex@kapranoff.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Test-LectroTest
+PORTVERSION= 0.2007
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Test
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= alex@kapranoff.ru
+COMMENT= Easy, automatic, specification-based tests
+
+PERL_MODBUILD= yes
+
+MAN3= Test::LectroTest.3 Test::LectroTest::Generator.3 \
+ Test::LectroTest::Property.3 Test::LectroTest::TestRunner.3 \
+ Test::LectroTest::Tutorial.3
+
+BUILD_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/Filter/Util/Call.pm:${PORTSDIR}/devel/p5-Filter
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Test-LectroTest/distinfo b/devel/p5-Test-LectroTest/distinfo
new file mode 100644
index 000000000000..97eed15f2352
--- /dev/null
+++ b/devel/p5-Test-LectroTest/distinfo
@@ -0,0 +1,2 @@
+MD5 (Test-LectroTest-0.2007.tar.gz) = 15ee6bfc39dd925bf73a043c0a6f9d40
+SIZE (Test-LectroTest-0.2007.tar.gz) = 37048
diff --git a/devel/p5-Test-LectroTest/pkg-descr b/devel/p5-Test-LectroTest/pkg-descr
new file mode 100644
index 000000000000..260001541782
--- /dev/null
+++ b/devel/p5-Test-LectroTest/pkg-descr
@@ -0,0 +1,7 @@
+This module provides a simple (yet full featured) automated,
+specification-based testing system for Perl. To use it, you declare
+properties that specify the expected behavior of your software.
+LectroTest then checks your software to see whether those properties
+hold for semi-random input values in the specified range.
+
+WWW: http://community.moertel.com/LectroTest
diff --git a/devel/p5-Test-LectroTest/pkg-plist b/devel/p5-Test-LectroTest/pkg-plist
new file mode 100644
index 000000000000..f67c8211ee24
--- /dev/null
+++ b/devel/p5-Test-LectroTest/pkg-plist
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Test/LectroTest.pm
+%%SITE_PERL%%/Test/LectroTest/Generator.pm
+%%SITE_PERL%%/Test/LectroTest/Property.pm
+%%SITE_PERL%%/Test/LectroTest/TestRunner.pm
+%%SITE_PERL%%/Test/LectroTest/Tutorial.pod
+@dirrm %%SITE_PERL%%/Test/LectroTest
+@dirrm %%SITE_PERL%%/Test