# $Id: Portfile 64929 2010-03-17 22:54:08Z gwright@macports.org $ PortSystem 1.0 name hs-haddock set canonicalname haddock version 2.5.0 revision 1 categories devel haskell maintainers nomaintainer platforms darwin description A Haskell Documentation Tool long_description \ This is Haddock, a tool for automatically generating \ documentation from annotated Haskell source code. \ It is primarily intended for documenting libraries, \ but it should be useful for any kind of Haskell code. \ \ Like other systems (IDoc,HDoc), Haddock lets you write \ documentation annotations next to the definitions of \ functions and types in the source code, in a syntax \ that is easy on the eye when writing the source code \ (no heavyweight mark-up). The documentation generated \ by Haddock is fully hyperlinked - click on a type name \ in a type signature to go straight to the definition, \ and documentation, for that type. homepage http://www.haskell.org/${canonicalname}/ master_sites http://hackage.haskell.org/packages/archive/${canonicalname}/${version} distname ${canonicalname}-${version} checksums md5 ec674a6854667f6e6fcb3d0cc3d784bb \ sha1 5468c84152d6d46c8c4803b29e357ab71e49a6f0 \ rmd160 27db8a3f86be5dd01c8035662f338e27f61886c7 universal_variant no depends_build port:ghc \ port:hs-ghc-paths configure { system "cd ${worksrcpath} && runhaskell Setup configure -v --ghc --with-gcc=${configure.cc} --prefix=${prefix} --program-suffix=\"-${version}\"" } build { system "cd ${worksrcpath} && runhaskell Setup build -v" } destroot { system "cd ${worksrcpath} && runhaskell Setup copy --copy-prefix=${destroot}${prefix}" } livecheck.type regex livecheck.regex {version ([0-9.]+) released}