aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2012-02-13 10:24:19 +0800
committerpgj <pgj@FreeBSD.org>2012-02-13 10:24:19 +0800
commit6faaaf97b3d4027df94bb235b1f8cfc3134b60cc (patch)
treedb059a7776a8010660266f5f4cafea4517ba05d1
parentc7793531a46858070c6365d79750fdd1be227158 (diff)
downloadfreebsd-ports-gnome-6faaaf97b3d4027df94bb235b1f8cfc3134b60cc.tar.gz
freebsd-ports-gnome-6faaaf97b3d4027df94bb235b1f8cfc3134b60cc.tar.zst
freebsd-ports-gnome-6faaaf97b3d4027df94bb235b1f8cfc3134b60cc.zip
Provides newtype wrappers for phantom types to avoid unsafely passing dummy
arguments. WWW: http://github.com/ekmett/tagged Obtained from: FreeBSD Haskell
-rw-r--r--devel/hs-tagged/Makefile20
-rw-r--r--devel/hs-tagged/distinfo2
-rw-r--r--devel/hs-tagged/pkg-descr4
-rw-r--r--lang/ghc/bsd.hackage.mk1
4 files changed, 27 insertions, 0 deletions
diff --git a/devel/hs-tagged/Makefile b/devel/hs-tagged/Makefile
new file mode 100644
index 000000000000..2347e6b2f4eb
--- /dev/null
+++ b/devel/hs-tagged/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: hs-tagged
+# Date created: March 13, 2011
+# Whom: haskell@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= tagged
+PORTVERSION= 0.2.3.1
+CATEGORIES= devel haskell
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= Newtype wrappers for phantom types to avoid unsafely passing dummy arguments
+
+LICENSE= BSD
+
+USE_CABAL= data-default>=0.2 semigroups>=0.8
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>
diff --git a/devel/hs-tagged/distinfo b/devel/hs-tagged/distinfo
new file mode 100644
index 000000000000..af6d9bc360d7
--- /dev/null
+++ b/devel/hs-tagged/distinfo
@@ -0,0 +1,2 @@
+SHA256 (cabal/tagged-0.2.3.1.tar.gz) = 76d44c8fd5eff2022519639795543b4c3c31a88a784e35d1f9997e5f064fac51
+SIZE (cabal/tagged-0.2.3.1.tar.gz) = 3872
diff --git a/devel/hs-tagged/pkg-descr b/devel/hs-tagged/pkg-descr
new file mode 100644
index 000000000000..316a32c35eda
--- /dev/null
+++ b/devel/hs-tagged/pkg-descr
@@ -0,0 +1,4 @@
+Provides newtype wrappers for phantom types to avoid unsafely passing dummy
+arguments.
+
+WWW: http://github.com/ekmett/tagged
diff --git a/lang/ghc/bsd.hackage.mk b/lang/ghc/bsd.hackage.mk
index 13d957d0a401..d45e8698a602 100644
--- a/lang/ghc/bsd.hackage.mk
+++ b/lang/ghc/bsd.hackage.mk
@@ -184,6 +184,7 @@ Stream_port= devel/hs-Stream
stringsearch_port= textproc/hs-stringsearch
svgcairo_port= graphics/hs-svgcairo
syb_port= devel/hs-syb
+tagged_port= devel/hs-tagged
tagsoup_port= textproc/hs-tagsoup # executable
tar_port= archivers/hs-tar
Tensor_port= devel/hs-Tensor