aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2011-08-14 19:27:44 +0800
committerpgj <pgj@FreeBSD.org>2011-08-14 19:27:44 +0800
commit6a15b726b129ed1d6455a2f13b682229fcad5bbc (patch)
tree40ff0cc53f1d131da1db36d84d223fad1267552f
parent67f7721f9d748b26c0e47fd7c99dab939940db60 (diff)
downloadfreebsd-ports-graphics-6a15b726b129ed1d6455a2f13b682229fcad5bbc.tar.gz
freebsd-ports-graphics-6a15b726b129ed1d6455a2f13b682229fcad5bbc.tar.zst
freebsd-ports-graphics-6a15b726b129ed1d6455a2f13b682229fcad5bbc.zip
Haskell 98 comonads.
WWW: http://github.com/ekmett/comonad/ Obtained from: FreeBSD Haskell
-rw-r--r--lang/ghc/bsd.hackage.mk1
-rw-r--r--math/Makefile1
-rw-r--r--math/hs-comonad/Makefile20
-rw-r--r--math/hs-comonad/distinfo2
-rw-r--r--math/hs-comonad/pkg-descr3
5 files changed, 27 insertions, 0 deletions
diff --git a/lang/ghc/bsd.hackage.mk b/lang/ghc/bsd.hackage.mk
index a44fdea26f1..b967b1b5f95 100644
--- a/lang/ghc/bsd.hackage.mk
+++ b/lang/ghc/bsd.hackage.mk
@@ -42,6 +42,7 @@ cgi_port= www/hs-cgi
checkers_port= devel/hs-checkers
citeproc-hs_port= textproc/hs-citeproc-hs
cmdargs_port= devel/hs-cmdargs
+comonad_port= math/hs-comonad
convertible_port= devel/hs-convertible
cpphs_port= devel/hs-cpphs # executable
criterion_port= benchmarks/hs-criterion
diff --git a/math/Makefile b/math/Makefile
index 7e85349e221..1d5bf16027f 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -125,6 +125,7 @@
SUBDIR += hs-Agda-executable
SUBDIR += hs-categories
SUBDIR += hs-category-extras
+ SUBDIR += hs-comonad
SUBDIR += hs-erf
SUBDIR += hs-mwc-random
SUBDIR += hs-probability
diff --git a/math/hs-comonad/Makefile b/math/hs-comonad/Makefile
new file mode 100644
index 00000000000..7ab9999e3b6
--- /dev/null
+++ b/math/hs-comonad/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: hs-comonad
+# Date created: July 16, 2011
+# Whom: haskell@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= comonad
+PORTVERSION= 1.1.1
+CATEGORIES= math haskell
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= Haskell 98 comonads
+
+LICENSE= BSD
+
+USE_CABAL= semigroups>=0.7.1 transformers>=0.2.0
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>
diff --git a/math/hs-comonad/distinfo b/math/hs-comonad/distinfo
new file mode 100644
index 00000000000..d870bd20774
--- /dev/null
+++ b/math/hs-comonad/distinfo
@@ -0,0 +1,2 @@
+SHA256 (cabal/comonad-1.1.1.tar.gz) = 0a2dca160f26f5a0d82ce1e6734f0774b95dceb6b5616e369f6923bb188ebe49
+SIZE (cabal/comonad-1.1.1.tar.gz) = 4201
diff --git a/math/hs-comonad/pkg-descr b/math/hs-comonad/pkg-descr
new file mode 100644
index 00000000000..cb5cabbf60d
--- /dev/null
+++ b/math/hs-comonad/pkg-descr
@@ -0,0 +1,3 @@
+Haskell 98 comonads.
+
+WWW: http://github.com/ekmett/comonad/ \ No newline at end of file