aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
Diffstat (limited to 'devel')
-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
5 files changed, 41 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