# $Id$ PortSystem 1.0 # hs-cabal installs an executable, not a library, so PortGroup haskell # is inappropriate. name hs-cabal set canonicalname cabal-install version 0.6.2 categories devel haskell maintainers gwright platforms darwin description User interface to Haskell's Cabal build system. long_description \ Cabal is a system for building and packaging Haskell \ libraries and programs It defines a common interface \ for package authors and distributors to easily build \ their applications in a portable way. Cabal is part of \ a larger infrastructure for distributing, organizing, \ and cataloging Haskell libraries and programs. homepage http://www.haskell.org/cabal master_sites http://hackage.haskell.org/packages/archive/${canonicalname}/${version} distname ${canonicalname}-${version} checksums md5 8cb1c19233a9a114faf0eea7c46cb23e \ sha1 415bdf6ae7029b488b99c2da288af10634024ac7 \ rmd160 f7ae2a8155b28ee1b736e9abf00c32fe55e7c80f depends_lib port:hs-libcabal \ port:hs-zlib \ port:hs-http configure { system "cd ${worksrcpath} && runhaskell Setup configure --ghc --prefix=${prefix}" } build { system "cd ${worksrcpath} && runhaskell Setup build" } destroot { system "cd ${worksrcpath} && runhaskell Setup copy --copy-prefix=${destroot}${prefix}" }