# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $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.14.0 categories devel haskell maintainers gwright platforms darwin license BSD description User interface to Haskell's Cabal build system. long_description \ The 'cabal' command-line program simplifies the process of managing \ Haskell software by automating the fetching, configuration, \ compilation and installation of Haskell libraries and programs. homepage http://www.haskell.org/cabal master_sites http://hackage.haskell.org/packages/archive/${canonicalname}/${version} distname ${canonicalname}-${version} checksums sha256 f4f2b50269ff59d67b5f3d82d50f7706b6bad1117295a7c81f32bbe72add5bd8 \ rmd160 a0e1e0f0d189abbb984d968f8650280632027769 universal_variant no depends_lib port:hs-zlib \ port:hs-HTTP \ port:hs-random configure { system -W ${worksrcpath} "runhaskell Setup configure -v --ghc --prefix=${prefix} --with-gcc=${configure.cc} --program-suffix=\"-${version}\"" } build { system -W ${worksrcpath} "runhaskell Setup build -v" } destroot { system -W ${worksrcpath} "runhaskell Setup copy -v --destdir=${destroot}" }