aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2010-05-22 06:03:36 +0800
committerpgj <pgj@FreeBSD.org>2010-05-22 06:03:36 +0800
commit0c0d366e48ddd95fa2fbc394bc69cf322f8e15e2 (patch)
treee8f5c77d0ff43c05047672ab1c944780348b6969
parent976d02b01acf5806cc29100430b92eb32087ba4b (diff)
downloadfreebsd-ports-gnome-0c0d366e48ddd95fa2fbc394bc69cf322f8e15e2.tar.gz
freebsd-ports-gnome-0c0d366e48ddd95fa2fbc394bc69cf322f8e15e2.tar.zst
freebsd-ports-gnome-0c0d366e48ddd95fa2fbc394bc69cf322f8e15e2.zip
QuickCheck2 support for the test-framework package.
WWW: http://batterseapower.github.com/test-framework/
-rw-r--r--devel/Makefile1
-rw-r--r--devel/hs-test-framework-quickcheck2/Makefile18
-rw-r--r--devel/hs-test-framework-quickcheck2/distinfo3
-rw-r--r--devel/hs-test-framework-quickcheck2/pkg-descr3
-rw-r--r--devel/hs-test-framework-quickcheck2/pkg-plist16
-rw-r--r--lang/ghc/bsd.hackage.mk1
6 files changed, 42 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 6c57c3eda6b9..5f6e6b1e6f68 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -597,6 +597,7 @@
SUBDIR += hs-terminfo
SUBDIR += hs-test-framework
SUBDIR += hs-test-framework-unit
+ SUBDIR += hs-test-framework-quickcheck2
SUBDIR += hs-testpack
SUBDIR += hs-transformers
SUBDIR += hs-unamb
diff --git a/devel/hs-test-framework-quickcheck2/Makefile b/devel/hs-test-framework-quickcheck2/Makefile
new file mode 100644
index 000000000000..12f1cf59bb88
--- /dev/null
+++ b/devel/hs-test-framework-quickcheck2/Makefile
@@ -0,0 +1,18 @@
+# New ports collection makefile for: hs-test-framework-quickcheck2
+# Date created: May 21, 2010
+# Whom: Gabor Pali <pgj@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= test-framework-quickcheck2
+PORTVERSION= 0.2.7
+CATEGORIES= devel haskell
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= QuickCheck2 support for the test-framework package
+
+USE_HACKAGE= QuickCheck>=2.1.0.3 test-framework>=0.2.0
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>
diff --git a/devel/hs-test-framework-quickcheck2/distinfo b/devel/hs-test-framework-quickcheck2/distinfo
new file mode 100644
index 000000000000..9c589a1c8d05
--- /dev/null
+++ b/devel/hs-test-framework-quickcheck2/distinfo
@@ -0,0 +1,3 @@
+MD5 (test-framework-quickcheck2-0.2.7.tar.gz) = afe8655f52a3831b7ec0109201467caf
+SHA256 (test-framework-quickcheck2-0.2.7.tar.gz) = 1ea980dc40905f313cc0a9dce192e22a03d33e34579104384067307ea7a07ac9
+SIZE (test-framework-quickcheck2-0.2.7.tar.gz) = 4566
diff --git a/devel/hs-test-framework-quickcheck2/pkg-descr b/devel/hs-test-framework-quickcheck2/pkg-descr
new file mode 100644
index 000000000000..b5f8f13880ce
--- /dev/null
+++ b/devel/hs-test-framework-quickcheck2/pkg-descr
@@ -0,0 +1,3 @@
+QuickCheck2 support for the test-framework package.
+
+WWW: http://batterseapower.github.com/test-framework/
diff --git a/devel/hs-test-framework-quickcheck2/pkg-plist b/devel/hs-test-framework-quickcheck2/pkg-plist
new file mode 100644
index 000000000000..a6907b589d92
--- /dev/null
+++ b/devel/hs-test-framework-quickcheck2/pkg-plist
@@ -0,0 +1,16 @@
+@comment $FreeBSD$
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Test/Framework/Providers/QuickCheck2.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/HS%%PORTNAME%%-%%PORTVERSION%%.o
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/libHS%%PORTNAME%%-%%PORTVERSION%%.a
+%%LIBDIR_REL%%/register.sh
+%%NOPORTDOCS%%%%DOCSDIR%%/LICENSE
+%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%%
+@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Test/Framework/Providers
+@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Test/Framework
+@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Test
+@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%
+@dirrm %%LIBDIR_REL%%
+@exec /bin/sh %D/%%LIBDIR_REL%%/register.sh
+@exec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
+@unexec %D/bin/ghc-pkg unregister %%PORTNAME%%-%%PORTVERSION%%
+@unexec /bin/rm -f %D/lib/ghc-%%GHC_VERSION%%/package.conf.old
diff --git a/lang/ghc/bsd.hackage.mk b/lang/ghc/bsd.hackage.mk
index 4d3bbdf08d58..97f2907fe0fd 100644
--- a/lang/ghc/bsd.hackage.mk
+++ b/lang/ghc/bsd.hackage.mk
@@ -105,6 +105,7 @@ Tensor_port= devel/hs-Tensor
terminfo_port= devel/hs-terminfo
test-framework_port= devel/hs-test-framework
test-framework-hunit_port= devel/hs-test-framework-hunit
+test-framework-quickcheck2_port= devel/hs-test-framework-quickcheck2
testpack_port= devel/hs-testpack
texmath_port= textproc/hs-texmath # executable
transformers_port= devel/hs-transformers