Hamlet gives you a type-safe tool for generating HTML code. It works

via Quasi-Quoting, and generating extremely efficient output code.  The
syntax is white-space sensitive, and it helps you avoid cross-site
scripting issues and 404 errors.

WWW:	http://www.yesodweb.com/book/templates

Obtained from:	FreeBSD Haskell
This commit is contained in:
Gabor Pali 2012-02-18 17:13:17 +00:00
parent 4ec18f7207
commit f2ec06ecbd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=291711
5 changed files with 31 additions and 0 deletions

View File

@ -114,6 +114,7 @@ gtk2hs-buildtools_port= devel/hs-gtk2hs-buildtools # executable
gtkglext_port= x11-toolkits/hs-gtkglext
gtksourceview2_port= x11-toolkits/hs-gtksourceview2
haddock_port= devel/hs-haddock # executable
hamlet_port= www/hs-hamlet
happstack_port= www/hs-happstack # executable
happstack-data_port= www/hs-happstack-data
happstack-ixset_port= www/hs-happstack-ixset

View File

@ -286,6 +286,7 @@
SUBDIR += hs-fastcgi
SUBDIR += hs-gitit
SUBDIR += hs-hS3
SUBDIR += hs-hamlet
SUBDIR += hs-happstack
SUBDIR += hs-happstack-data
SUBDIR += hs-happstack-ixset

21
www/hs-hamlet/Makefile Normal file
View File

@ -0,0 +1,21 @@
# New ports collection makefile for: hs-hamlet
# Date created: December 26, 2011
# Whom: haskell@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= hamlet
PORTVERSION= 0.10.7.1
CATEGORIES= www haskell
MAINTAINER= haskell@FreeBSD.org
COMMENT= Haml-like template files that are compile-time checked
LICENSE= BSD
USE_CABAL= blaze-builder>=0.2 blaze-html>=0.4 failure>=0.1 parsec>=2 \
shakespeare>=0.10.2 text>=0.7
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
.include <bsd.port.mk>

2
www/hs-hamlet/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (cabal/hamlet-0.10.7.1.tar.gz) = 1b43acd1b016e3549d0734c9a1e897058d278f61f9b9cbec00896f8bc1bd8952
SIZE (cabal/hamlet-0.10.7.1.tar.gz) = 17062

6
www/hs-hamlet/pkg-descr Normal file
View File

@ -0,0 +1,6 @@
Hamlet gives you a type-safe tool for generating HTML code. It works
via Quasi-Quoting, and generating extremely efficient output code. The
syntax is white-space sensitive, and it helps you avoid cross-site
scripting issues and 404 errors.
WWW: http://www.yesodweb.com/book/templates