# $Id: Portfile,v 1.3 2005/09/06 02:26:28 gwright Exp $ PortSystem 1.0 name haddock version 0.7 categories devel maintainers gwright@opendarwin.org 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/haddock/ master_sites ${homepage} distfiles ${name}-${version}-src${extract.suffix} checksums md5 759419e78416d5f093190968a4dc18f5 depends_build bin:ghc:ghc configure.args --prefix=${destroot}${prefix} \ --mandir=${destroot}${prefix}/share/man post-destroot { reinplace s|${destroot}${prefix}|${prefix}|g ${destroot}${prefix}/bin/${name}-${version} }