aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2012-02-19 01:11:03 +0800
committerpgj <pgj@FreeBSD.org>2012-02-19 01:11:03 +0800
commit7e6c233505e9cdd10db14e91ac9d2450c3dd6697 (patch)
tree1c7d6a1cfdf2760d5b9ab3fc85830cfea5d747f8
parente75b3808ade4bf707c6278e7b97b37bdc9a476ca (diff)
downloadfreebsd-ports-graphics-7e6c233505e9cdd10db14e91ac9d2450c3dd6697.tar.gz
freebsd-ports-graphics-7e6c233505e9cdd10db14e91ac9d2450c3dd6697.tar.zst
freebsd-ports-graphics-7e6c233505e9cdd10db14e91ac9d2450c3dd6697.zip
Shakespeare is a template family for type-safe, efficient templates with
simple variable interpolation. Shakespeare templates can be used inline with a quasi-quoter or in an external file. Shakespeare interpolates variables according to the type being inserted. WWW: http://www.yesodweb.com/book/templates Obtained from: FreeBSD Haskell
-rw-r--r--lang/ghc/bsd.hackage.mk1
-rw-r--r--www/Makefile1
-rw-r--r--www/hs-shakespeare/Makefile20
-rw-r--r--www/hs-shakespeare/distinfo2
-rw-r--r--www/hs-shakespeare/pkg-descr6
5 files changed, 30 insertions, 0 deletions
diff --git a/lang/ghc/bsd.hackage.mk b/lang/ghc/bsd.hackage.mk
index 1d6d0835c76..f6ad39d344c 100644
--- a/lang/ghc/bsd.hackage.mk
+++ b/lang/ghc/bsd.hackage.mk
@@ -212,6 +212,7 @@ sendfile_port= net/hs-sendfile
semigroupoids_port= math/hs-semigroupoids
semigroups_port= math/hs-semigroups
SHA_port= security/hs-SHA
+shakespeare_port= www/hs-shakespeare
show_port= devel/hs-show
simple-sendfile_port= net/hs-simple-sendfile
skein_port= security/hs-skein
diff --git a/www/Makefile b/www/Makefile
index 584e0206774..763bcfdb72f 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -299,6 +299,7 @@
SUBDIR += hs-oeis
SUBDIR += hs-recaptcha
SUBDIR += hs-scgi
+ SUBDIR += hs-shakespeare
SUBDIR += hs-snap
SUBDIR += hs-snap-core
SUBDIR += hs-snap-server
diff --git a/www/hs-shakespeare/Makefile b/www/hs-shakespeare/Makefile
new file mode 100644
index 00000000000..fcfaedb1362
--- /dev/null
+++ b/www/hs-shakespeare/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: hs-shakespeare
+# Date created: December 25, 2011
+# Whom: haskell@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= shakespeare
+PORTVERSION= 0.10.2
+CATEGORIES= www haskell
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= A toolkit for making compile-time interpolated templates
+
+LICENSE= BSD
+
+USE_CABAL= parsec>=2 text>=0.7
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>
diff --git a/www/hs-shakespeare/distinfo b/www/hs-shakespeare/distinfo
new file mode 100644
index 00000000000..c31bc4ab300
--- /dev/null
+++ b/www/hs-shakespeare/distinfo
@@ -0,0 +1,2 @@
+SHA256 (cabal/shakespeare-0.10.2.tar.gz) = 8c63e160932ac004624ee9dfb02a13a5049e3434b08751f7783df0646a63779c
+SIZE (cabal/shakespeare-0.10.2.tar.gz) = 6202
diff --git a/www/hs-shakespeare/pkg-descr b/www/hs-shakespeare/pkg-descr
new file mode 100644
index 00000000000..93ffd238640
--- /dev/null
+++ b/www/hs-shakespeare/pkg-descr
@@ -0,0 +1,6 @@
+Shakespeare is a template family for type-safe, efficient templates with
+simple variable interpolation. Shakespeare templates can be used inline
+with a quasi-quoter or in an external file. Shakespeare interpolates
+variables according to the type being inserted.
+
+WWW: http://www.yesodweb.com/book/templates