aboutsummaryrefslogtreecommitdiffstats
path: root/www/hs-shakespeare-js
diff options
context:
space:
mode:
authorpgj <pgj@FreeBSD.org>2012-02-19 01:32:38 +0800
committerpgj <pgj@FreeBSD.org>2012-02-19 01:32:38 +0800
commit0f13569f0a643f9ba42a9d0120b78cea042dd5a0 (patch)
treec9ecf14698d8f8f56e168feb3871efce45b1af40 /www/hs-shakespeare-js
parent49eabeb2c4f84e0b842331dd30606bbaaf394b31 (diff)
downloadfreebsd-ports-gnome-0f13569f0a643f9ba42a9d0120b78cea042dd5a0.tar.gz
freebsd-ports-gnome-0f13569f0a643f9ba42a9d0120b78cea042dd5a0.tar.zst
freebsd-ports-gnome-0f13569f0a643f9ba42a9d0120b78cea042dd5a0.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. In this case, the variable type needs a ToJavascript instance. There is also shakespeare-coffeescript for coffeescript templates. Coffescript is a language that compiles down to javascript. It expects a coffeescript compiler in your path, and variable should be a ToCoffee instance. WWW: http://www.yesodweb.com/book/templates Obtained from: FreeBSD Haskell
Diffstat (limited to 'www/hs-shakespeare-js')
-rw-r--r--www/hs-shakespeare-js/Makefile20
-rw-r--r--www/hs-shakespeare-js/distinfo2
-rw-r--r--www/hs-shakespeare-js/pkg-descr12
3 files changed, 34 insertions, 0 deletions
diff --git a/www/hs-shakespeare-js/Makefile b/www/hs-shakespeare-js/Makefile
new file mode 100644
index 000000000000..69764eb6acfb
--- /dev/null
+++ b/www/hs-shakespeare-js/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: hs-shakespeare-js
+# Date created: December 26, 2011
+# Whom: haskell@FreeBSD.org
+#
+# $FreeBSD$
+#
+
+PORTNAME= shakespeare-js
+PORTVERSION= 0.10.4
+CATEGORIES= www haskell
+
+MAINTAINER= haskell@FreeBSD.org
+COMMENT= Stick your Haskell variables into JavaScript at compile time
+
+LICENSE= BSD
+
+USE_CABAL= shakespeare>=0.10 text>=0.7
+
+.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
+.include <bsd.port.mk>
diff --git a/www/hs-shakespeare-js/distinfo b/www/hs-shakespeare-js/distinfo
new file mode 100644
index 000000000000..22ef6788540b
--- /dev/null
+++ b/www/hs-shakespeare-js/distinfo
@@ -0,0 +1,2 @@
+SHA256 (cabal/shakespeare-js-0.10.4.tar.gz) = 5c763bc910eb2397e5a5d0fa097bd2b30aca7f2a06abdd5fb6f86234da48b096
+SIZE (cabal/shakespeare-js-0.10.4.tar.gz) = 4515
diff --git a/www/hs-shakespeare-js/pkg-descr b/www/hs-shakespeare-js/pkg-descr
new file mode 100644
index 000000000000..bdad4b129138
--- /dev/null
+++ b/www/hs-shakespeare-js/pkg-descr
@@ -0,0 +1,12 @@
+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. In this case, the
+variable type needs a ToJavascript instance.
+
+There is also shakespeare-coffeescript for coffeescript templates.
+Coffescript is a language that compiles down to javascript. It expects
+a coffeescript compiler in your path, and variable should be a ToCoffee
+instance.
+
+WWW: http://www.yesodweb.com/book/templates