aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabor Pali <pgj@FreeBSD.org>2010-06-07 03:44:28 +0000
committerGabor Pali <pgj@FreeBSD.org>2010-06-07 03:44:28 +0000
commited7f3a167c82d1f2b3c5df37c052e0a8d8980451 (patch)
tree35dc6e1cc7fc73eea2bdb390d08717eb56b83ea9
parentcf04614d85e2632c11b44e41c0ac6b57eafc321a (diff)
downloadports-ed7f3a167c82d1f2b3c5df37c052e0a8d8980451.tar.gz
ports-ed7f3a167c82d1f2b3c5df37c052e0a8d8980451.zip
Notes
-rw-r--r--devel/Makefile1
-rw-r--r--devel/hs-primitive/Makefile18
-rw-r--r--devel/hs-primitive/distinfo3
-rw-r--r--devel/hs-primitive/pkg-descr4
-rw-r--r--devel/hs-primitive/pkg-plist25
-rw-r--r--lang/ghc/bsd.hackage.mk1
6 files changed, 52 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index a023f470eb38..bb5e9a2107d3 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -591,6 +591,7 @@
SUBDIR += hs-mmap
SUBDIR += hs-mueval
SUBDIR += hs-pcre-light
+ SUBDIR += hs-primitive
SUBDIR += hs-reactive
SUBDIR += hs-readline
SUBDIR += hs-safe
diff --git a/devel/hs-primitive/Makefile b/devel/hs-primitive/Makefile
new file mode 100644
index 000000000000..ecc936ba4f31
--- /dev/null
+++ b/devel/hs-primitive/Makefile
@@ -0,0 +1,18 @@
+# New ports collection makefile for: hs-primitive
+# Date created: June 5, 2010
+# Whom: Gabor Pali <pgj@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= primitive
+PORTVERSION= 0.3
+CATEGORIES= devel haskell
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= Wrappers for primitive operations
+
+CABAL_SETUP= Setup.hs
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>
diff --git a/devel/hs-primitive/distinfo b/devel/hs-primitive/distinfo
new file mode 100644
index 000000000000..ce1c42468403
--- /dev/null
+++ b/devel/hs-primitive/distinfo
@@ -0,0 +1,3 @@
+MD5 (primitive-0.3.tar.gz) = c676bc633309c346aec784c37ce334cb
+SHA256 (primitive-0.3.tar.gz) = b63cb5dd3417433429b3ad5489791bddd0973b96b7c3314a4ecc9e6a68b2a35d
+SIZE (primitive-0.3.tar.gz) = 7168
diff --git a/devel/hs-primitive/pkg-descr b/devel/hs-primitive/pkg-descr
new file mode 100644
index 000000000000..29c4e5982e1a
--- /dev/null
+++ b/devel/hs-primitive/pkg-descr
@@ -0,0 +1,4 @@
+This package provides wrappers for primitive array operations from
+GHC.Prim.
+
+WWW: http://code.haskell.org/primitive
diff --git a/devel/hs-primitive/pkg-plist b/devel/hs-primitive/pkg-plist
new file mode 100644
index 000000000000..c44ed7ab99ab
--- /dev/null
+++ b/devel/hs-primitive/pkg-plist
@@ -0,0 +1,25 @@
+@comment $FreeBSD$
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/include/primitive-memops.h
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Control/Monad/Primitive.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Primitive.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Primitive/Addr.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Primitive/Array.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Primitive/ByteArray.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Primitive/MachDeps.hi
+%%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Primitive/Types.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%%/include
+@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data/Primitive
+@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Data
+@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Control/Monad
+@dirrm %%LIBDIR_REL%%/ghc-%%GHC_VERSION%%/Control
+@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 1a636969db1d..33a31510efab 100644
--- a/lang/ghc/bsd.hackage.mk
+++ b/lang/ghc/bsd.hackage.mk
@@ -87,6 +87,7 @@ pcap_port= net/hs-pcap
pcre-light_port= devel/hs-pcre-light # lib_depends
polyparse_port= textproc/hs-polyparse
porte_port= ports-mgmt/hs-porte # executable
+primitive_port= devel/hs-primitive
probability_port= math/hs-probability
QuickCheck_port= devel/hs-QuickCheck
reactive_port= devel/hs-reactive