PortSystem 1.0
name                haskell-chunks
version             2007.4.18
revision            1
distname            chunks-${version}
description         The chunks library for Haskell
long_description    This library supports templates inspired by the Perl \
                    HTML::Chunks module, but this Haskell implementation \
                    checks at compile time that the templates used exist and \
                    are used correctly. The templates are combined within the \
                    compiled Haskell, removing the dependency on the external \
                    template file.
homepage            http://www.wellquite.org/chunks/
categories          devel
platforms           darwin
maintainers         thomaskeller.biz:me
master_sites        http://www.wellquite.org/non-blog/
checksums           md5 783cd887026c2a096aac448ce8bd714b

depends_build       port:ghc

configure {
	system "cd ${worksrcpath} && runghc Setup.hs configure"
}

build {
	system "cd ${worksrcpath} && runghc Setup.hs build"
}

destroot {
	system "cd ${worksrcpath} && runghc Setup.hs install"
}