aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2012-02-19 00:14:50 +0800
committerpgj <pgj@FreeBSD.org>2012-02-19 00:14:50 +0800
commit5e1060ce1a441ca07f8a14bbcf937f79785bbd5d (patch)
treee3a6845d3f1bf8e047051999426c8047f67e139a
parent321caaa4ff0c250f384a02503d7c2a740b13d5a3 (diff)
downloadfreebsd-ports-gnome-5e1060ce1a441ca07f8a14bbcf937f79785bbd5d.tar.gz
freebsd-ports-gnome-5e1060ce1a441ca07f8a14bbcf937f79785bbd5d.tar.zst
freebsd-ports-gnome-5e1060ce1a441ca07f8a14bbcf937f79785bbd5d.zip
A simple type class for success/failure computations.
WWW: http://www.haskell.org/haskellwiki/Failure Obtained from: FreeBSD Haskell
-rw-r--r--devel/Makefile1
-rw-r--r--devel/hs-failure/Makefile20
-rw-r--r--devel/hs-failure/distinfo2
-rw-r--r--devel/hs-failure/pkg-descr3
-rw-r--r--lang/ghc/bsd.hackage.mk1
5 files changed, 27 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index cc6d97276b4e..bac255d0d039 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -613,6 +613,7 @@
SUBDIR += hs-dlist
SUBDIR += hs-drift
SUBDIR += hs-enumerator
+ SUBDIR += hs-failure
SUBDIR += hs-fgl
SUBDIR += hs-filemanip
SUBDIR += hs-filestore
diff --git a/devel/hs-failure/Makefile b/devel/hs-failure/Makefile
new file mode 100644
index 000000000000..c04d0c7b0006
--- /dev/null
+++ b/devel/hs-failure/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: hs-failure
+# Date created: December 25, 2011
+# Whom: haskell@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= failure
+PORTVERSION= 0.1.2
+CATEGORIES= devel haskell
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= A simple type class for success/failure computations
+
+LICENSE= BSD
+
+USE_CABAL= transformers>=0.2
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>
diff --git a/devel/hs-failure/distinfo b/devel/hs-failure/distinfo
new file mode 100644
index 000000000000..25a0f3a7826d
--- /dev/null
+++ b/devel/hs-failure/distinfo
@@ -0,0 +1,2 @@
+SHA256 (cabal/failure-0.1.2.tar.gz) = 44abf6f86ac17a40e0acf9ae0f3b9d1f823cc7ee56b5769be262ceb23e90fc92
+SIZE (cabal/failure-0.1.2.tar.gz) = 1687
diff --git a/devel/hs-failure/pkg-descr b/devel/hs-failure/pkg-descr
new file mode 100644
index 000000000000..6b565720d680
--- /dev/null
+++ b/devel/hs-failure/pkg-descr
@@ -0,0 +1,3 @@
+A simple type class for success/failure computations.
+
+WWW: http://www.haskell.org/haskellwiki/Failure
diff --git a/lang/ghc/bsd.hackage.mk b/lang/ghc/bsd.hackage.mk
index b93c9e83a73b..c525d0767d89 100644
--- a/lang/ghc/bsd.hackage.mk
+++ b/lang/ghc/bsd.hackage.mk
@@ -82,6 +82,7 @@ entropy_port= security/hs-entropy
enumerator_port= devel/hs-enumerator
epic_port= lang/hs-epic # executable
erf_port= math/hs-erf
+failure_port= devel/hs-failure
fastcgi_port= www/hs-fastcgi # lib_depends
feed_port= textproc/hs-feed
fgl_port= devel/hs-fgl