aboutsummaryrefslogtreecommitdiffstats
path: root/devel/hs-hsb2hs
diff options
context:
space:
mode:
Diffstat (limited to 'devel/hs-hsb2hs')
-rw-r--r--devel/hs-hsb2hs/Makefile18
-rw-r--r--devel/hs-hsb2hs/distinfo2
-rw-r--r--devel/hs-hsb2hs/pkg-descr6
3 files changed, 26 insertions, 0 deletions
diff --git a/devel/hs-hsb2hs/Makefile b/devel/hs-hsb2hs/Makefile
new file mode 100644
index 00000000000..62692b468a3
--- /dev/null
+++ b/devel/hs-hsb2hs/Makefile
@@ -0,0 +1,18 @@
+# $FreeBSD$
+
+PORTNAME= hsb2hs
+PORTVERSION= 0.3.1
+CATEGORIES= devel haskell
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= Preprocesses a file, adding blobs from files as string literals
+
+LICENSE= BSD3CLAUSE
+
+USE_CABAL= preprocessor-tools>1.0
+
+EXECUTABLE= hsb2hs
+STANDALONE= yes
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>
diff --git a/devel/hs-hsb2hs/distinfo b/devel/hs-hsb2hs/distinfo
new file mode 100644
index 00000000000..dfc1480a378
--- /dev/null
+++ b/devel/hs-hsb2hs/distinfo
@@ -0,0 +1,2 @@
+SHA256 (cabal/hsb2hs-0.3.1.tar.gz) = 8ad800820554f273ada083dfce2f463d920fb1ceb053255023a4c883b090f9d8
+SIZE (cabal/hsb2hs-0.3.1.tar.gz) = 2387
diff --git a/devel/hs-hsb2hs/pkg-descr b/devel/hs-hsb2hs/pkg-descr
new file mode 100644
index 00000000000..60ea929041e
--- /dev/null
+++ b/devel/hs-hsb2hs/pkg-descr
@@ -0,0 +1,6 @@
+Hsb2hs is a preprocessor that allows you to include the contents of
+files as string literals in your Haskell programs and libraries. It is
+an alternative to file-embed for those who do not want to rely on
+Template Haskell.
+
+WWW: http://hackage.haskell.org/package/hsb2hs