Skip to content
Permalink
Browse files

New port: Haddock-0.6.

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@5835 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Gregory Wright
Gregory Wright committed Mar 16, 2004
1 parent fb578d0 commit 1b571240b9ffc8893f2914590c52ef24ea51f6e3
Showing with 39 additions and 0 deletions.
  1. +39 −0 devel/haddock/Portfile
@@ -0,0 +1,39 @@
# $Id: Portfile,v 1.1 2004/03/16 17:13:03 gwright Exp $

PortSystem 1.0
name haddock
version 0.6
categories devel
maintainers gwright@comcast.com
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 6f15d15a3e4352f77f003fb133b1d9b2

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

0 comments on commit 1b57124

Please sign in to comment.
You can’t perform that action at this time.