summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/ghc/bsd.hackage.mk1
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/hs-yaml/Makefile20
-rw-r--r--textproc/hs-yaml/distinfo2
-rw-r--r--textproc/hs-yaml/pkg-descr7
5 files changed, 31 insertions, 0 deletions
diff --git a/lang/ghc/bsd.hackage.mk b/lang/ghc/bsd.hackage.mk
index 0eb0b04df466..9443ddfd05c7 100644
--- a/lang/ghc/bsd.hackage.mk
+++ b/lang/ghc/bsd.hackage.mk
@@ -273,6 +273,7 @@ xmobar_port= x11/hs-xmobar # executable
xmonad_port= x11-wm/hs-xmonad # executable
xmonad-contrib_port= x11-wm/hs-xmonad-contrib
xss-sanitize_port= www/hs-xss-sanitize
+yaml_port= textproc/hs-yaml
zip-archive_port= archivers/hs-zip-archive
zlib_port= archivers/hs-zlib
zlib-bindings_port= archivers/hs-zlib-bindings
diff --git a/textproc/Makefile b/textproc/Makefile
index 1d74b5adfe7d..5cca727ae094 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -271,6 +271,7 @@
SUBDIR += hs-xml-enumerator
SUBDIR += hs-xml-types
SUBDIR += hs-xmlhtml
+ SUBDIR += hs-yaml
SUBDIR += hsb-aspell
SUBDIR += htdig
SUBDIR += html
diff --git a/textproc/hs-yaml/Makefile b/textproc/hs-yaml/Makefile
new file mode 100644
index 000000000000..813fffc653f8
--- /dev/null
+++ b/textproc/hs-yaml/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: hs-yaml
+# Date created: December 26, 2011
+# Whom: haskell@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= yaml
+PORTVERSION= 0.4.1.2
+CATEGORIES= textproc haskell
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= Low-level binding to the libyaml C library
+
+LICENSE= BSD
+
+USE_CABAL= enumerator>=0.4 transformers>=0.1
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>
diff --git a/textproc/hs-yaml/distinfo b/textproc/hs-yaml/distinfo
new file mode 100644
index 000000000000..653615b1f7cf
--- /dev/null
+++ b/textproc/hs-yaml/distinfo
@@ -0,0 +1,2 @@
+SHA256 (cabal/yaml-0.4.1.2.tar.gz) = 6b93bc20f24ae3f965ea78edcd527311c9a03275baaaf336a060f2f98a76eeb0
+SIZE (cabal/yaml-0.4.1.2.tar.gz) = 61176
diff --git a/textproc/hs-yaml/pkg-descr b/textproc/hs-yaml/pkg-descr
new file mode 100644
index 000000000000..96fa4ac60528
--- /dev/null
+++ b/textproc/hs-yaml/pkg-descr
@@ -0,0 +1,7 @@
+Provides support for parsing and emitting Yaml documents.
+
+This package includes the full libyaml C library version 0.1.2 by Kirill
+Simonov in the package so you don't need to worry about any non-Haskell
+dependencies.
+
+WWW: http://github.com/snoyberg/yaml/