# $Id$

PortSystem 1.0
name                haskell-hinstaller
version             2007.5.13
revision            1
distname            hinstaller-${version}
description         The hinstaller library for Haskell
long_description    This module allows you to incorporate arbitrary files into \
                    a haskell module during compilation. The files are then \
                    available to you through functions which allows you to \
                    write installer-type applications which write out the \
                    files when run. Thus this can be considered in the same \
                    model as Java .jar files or executable zip or other \
                    file archives.
homepage            http://www.wellquite.org/hinstaller/
categories          devel
platforms           darwin
maintainers         thomaskeller.biz:me
master_sites        http://hackage.haskell.org/packages/archive/hinstaller/${version}/
checksums           md5 3ae4db8f48e9cf7dec9438c7689ede3a

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"
}