aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2010-05-22 06:00:21 +0800
committerpgj <pgj@FreeBSD.org>2010-05-22 06:00:21 +0800
commit976d02b01acf5806cc29100430b92eb32087ba4b (patch)
tree56ca6dcacae34ffab53ca105da7a5817273572d6
parent840e0c4d626a07e52cd1c0409ba7c4aa4c96d0fd (diff)
downloadfreebsd-ports-gnome-976d02b01acf5806cc29100430b92eb32087ba4b.tar.gz
freebsd-ports-gnome-976d02b01acf5806cc29100430b92eb32087ba4b.tar.zst
freebsd-ports-gnome-976d02b01acf5806cc29100430b92eb32087ba4b.zip
HUnit 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-hunit/Makefile18
-rw-r--r--devel/hs-test-framework-hunit/distinfo3
-rw-r--r--devel/hs-test-framework-hunit/pkg-descr3
-rw-r--r--devel/hs-test-framework-hunit/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 6504161e09af..6c57c3eda6b9 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -596,6 +596,7 @@
SUBDIR += hs-split
SUBDIR += hs-terminfo
SUBDIR += hs-test-framework
+ SUBDIR += hs-test-framework-unit
SUBDIR += hs-testpack
SUBDIR += hs-transformers
SUBDIR += hs-unamb
diff --git a/devel/hs-test-framework-hunit/Makefile b/devel/hs-test-framework-hunit/Makefile
new file mode 100644
index 000000000000..c36a9671b90b
--- /dev/null
+++ b/devel/hs-test-framework-hunit/Makefile
@@ -0,0 +1,18 @@
+# New ports collection makefile for: hs-test-framework-hunit
+# Date created: May 21, 2010
+# Whom: Gabor Pali <pgj@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= test-framework-hunit
+PORTVERSION= 0.2.6
+CATEGORIES= devel haskell
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= HUnit support for the test-framework package
+
+USE_HACKAGE= test-framework>=0.2.0
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>
diff --git a/devel/hs-test-framework-hunit/distinfo b/devel/hs-test-framework-hunit/distinfo
new file mode 100644
index 000000000000..4a47a34a883c
--- /dev/null
+++ b/devel/hs-test-framework-hunit/distinfo
@@ -0,0 +1,3 @@
+MD5 (test-framework-hunit-0.2.6.tar.gz) = 7c012ca5426d743b3cf35e231d6f6072
+SHA256 (test-framework-hunit-0.2.6.tar.gz) = f910e18e62615f64fac9bf4938a34cc36fad9d86e6ba31edcb79731e0ef46fc7
+SIZE (test-framework-hunit-0.2.6.tar.gz) = 2639
diff --git a/devel/hs-test-framework-hunit/pkg-descr b/devel/hs-test-framework-hunit/pkg-descr
new file mode 100644
index 000000000000..d440c1729d35
--- /dev/null
+++ b/devel/hs-test-framework-hunit/pkg-descr
@@ -0,0 +1,3 @@
+HUnit support for the test-framework package.
+
+WWW: http://batterseapower.github.com/test-framework/
diff --git a/devel/hs-test-framework-hunit/pkg-plist b/devel/hs-test-framework-hunit/pkg-plist
new file mode 100644
index 000000000000..e4038008e399
--- /dev/null
+++ b/devel/hs-test-framework-hunit/pkg-plist
@@ -0,0 +1,16 @@
+@comment $FreeBSD$
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Test/Framework/Providers/HUnit.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 df8e5ba0f4d2..4d3bbdf08d58 100644
--- a/lang/ghc/bsd.hackage.mk
+++ b/lang/ghc/bsd.hackage.mk
@@ -104,6 +104,7 @@ tagsoup_port= textproc/hs-tagsoup # executable
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
testpack_port= devel/hs-testpack
texmath_port= textproc/hs-texmath # executable
transformers_port= devel/hs-transformers