aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2010-06-07 11:47:52 +0800
committerpgj <pgj@FreeBSD.org>2010-06-07 11:47:52 +0800
commit37cba21ddb56f684a61a2c3c181ce775ac699d29 (patch)
tree9dceb30a378c069070b10453ed8591689aa9bdca
parente0bbd9ea453b0dd94302a540ba613776baf4139e (diff)
downloadfreebsd-ports-gnome-37cba21ddb56f684a61a2c3c181ce775ac699d29.tar.gz
freebsd-ports-gnome-37cba21ddb56f684a61a2c3c181ce775ac699d29.tar.zst
freebsd-ports-gnome-37cba21ddb56f684a61a2c3c181ce775ac699d29.zip
Some classes for generalized boolean operations.
WWW: http://hackage.haskell.org/package/Boolean
-rw-r--r--devel/Makefile1
-rw-r--r--devel/hs-Boolean/Makefile16
-rw-r--r--devel/hs-Boolean/distinfo3
-rw-r--r--devel/hs-Boolean/pkg-descr3
-rw-r--r--devel/hs-Boolean/pkg-plist14
-rw-r--r--lang/ghc/bsd.hackage.mk1
6 files changed, 38 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index bb5e9a2107d3..53442024c6f0 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -543,6 +543,7 @@
SUBDIR += hp48cc
SUBDIR += hp48xgcc
SUBDIR += hptools
+ SUBDIR += hs-Boolean
SUBDIR += hs-DeepArrow
SUBDIR += hs-FileManip
SUBDIR += hs-MemoTrie
diff --git a/devel/hs-Boolean/Makefile b/devel/hs-Boolean/Makefile
new file mode 100644
index 000000000000..3a6f794db17a
--- /dev/null
+++ b/devel/hs-Boolean/Makefile
@@ -0,0 +1,16 @@
+# New ports collection makefile for: hs-Boolean
+# Date created: June 5, 2010
+# Whom: Gabor Pali <pgj@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Boolean
+PORTVERSION= 0.0.1
+CATEGORIES= devel haskell
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= Generalized booleans
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>
diff --git a/devel/hs-Boolean/distinfo b/devel/hs-Boolean/distinfo
new file mode 100644
index 000000000000..d49991e1da3a
--- /dev/null
+++ b/devel/hs-Boolean/distinfo
@@ -0,0 +1,3 @@
+MD5 (Boolean-0.0.1.tar.gz) = b6cc0d88fae2629693128cb1a7a30cbb
+SHA256 (Boolean-0.0.1.tar.gz) = dafcfb2e9d7f7aa24a3d3ceb385424176297cdf6f6044028d42d0fea1cae7765
+SIZE (Boolean-0.0.1.tar.gz) = 3174
diff --git a/devel/hs-Boolean/pkg-descr b/devel/hs-Boolean/pkg-descr
new file mode 100644
index 000000000000..01bad48dd50e
--- /dev/null
+++ b/devel/hs-Boolean/pkg-descr
@@ -0,0 +1,3 @@
+Some classes for generalized boolean operations.
+
+WWW: http://hackage.haskell.org/package/Boolean
diff --git a/devel/hs-Boolean/pkg-plist b/devel/hs-Boolean/pkg-plist
new file mode 100644
index 000000000000..499079e3b760
--- /dev/null
+++ b/devel/hs-Boolean/pkg-plist
@@ -0,0 +1,14 @@
+@comment $FreeBSD$
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Boolean.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%%/COPYING
+%%NOPORTDOCS%%@dirrmtry %%DOCSDIR%%
+@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data
+@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 33a31510efab..af2354215eb8 100644
--- a/lang/ghc/bsd.hackage.mk
+++ b/lang/ghc/bsd.hackage.mk
@@ -20,6 +20,7 @@ ansi-wl-pprint_port= devel/hs-ansi-wl-pprint
arrows_port= devel/hs-arrows
binary_port= devel/hs-binary
bio_port= science/hs-bio
+Boolean_port= devel/hs-Boolean
brainfuck_port= lang/hs-brainfuck # executable
bytestring-csv_port= textproc/hs-bytestring-csv
c2hs_port= devel/hs-c2hs # exectuable