diff options
author | dwcjr <dwcjr@FreeBSD.org> | 2002-05-22 02:46:56 +0800 |
---|---|---|
committer | dwcjr <dwcjr@FreeBSD.org> | 2002-05-22 02:46:56 +0800 |
commit | c77c9aa5fba0d0599d948b61481c56478199dac1 (patch) | |
tree | 5192d619d54ce65a32358331816033b79c295187 /devel/hs-haddock | |
parent | d77743001d22da2befda388aa42abd2a764d9aaf (diff) | |
download | freebsd-ports-gnome-c77c9aa5fba0d0599d948b61481c56478199dac1.tar.gz freebsd-ports-gnome-c77c9aa5fba0d0599d948b61481c56478199dac1.tar.zst freebsd-ports-gnome-c77c9aa5fba0d0599d948b61481c56478199dac1.zip |
Add haddock 0.2, a documentation tool for Haskell.
PR: 37892
Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Diffstat (limited to 'devel/hs-haddock')
-rw-r--r-- | devel/hs-haddock/Makefile | 40 | ||||
-rw-r--r-- | devel/hs-haddock/distinfo | 2 | ||||
-rw-r--r-- | devel/hs-haddock/pkg-comment | 1 | ||||
-rw-r--r-- | devel/hs-haddock/pkg-descr | 8 | ||||
-rw-r--r-- | devel/hs-haddock/pkg-plist | 34 |
5 files changed, 85 insertions, 0 deletions
diff --git a/devel/hs-haddock/Makefile b/devel/hs-haddock/Makefile new file mode 100644 index 000000000000..9efe0ed23afc --- /dev/null +++ b/devel/hs-haddock/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: haddock +# Date created: 09 May 2002 +# Whom: Oliver Braun <obraun@informatik.unibw-muenchen.de> +# +# $FreeBSD$ + +PORTNAME= haddock +PORTVERSION= 0.2 +CATEGORIES= devel +MASTER_SITES= http://www.haskell.org/haddock/ +DISTNAME= ${PORTNAME}-${PORTVERSION}-src + +MAINTAINER= obraun@informatik.unibw-muenchen.de + +BUILD_DEPENDS= ghc:${PORTSDIR}/lang/ghc + +.if !defined(NOPORTDOCS) +BUILD_DEPENDS+= ${LOCALBASE}/share/sgml/docbook/dsssl/modular:${PORTSDIR}/textproc/dsssl-docbook-modular \ + ${LOCALBASE}/share/sgml/docbook/catalog:${PORTSDIR}/textproc/docbook \ + ${LOCALBASE}/share/sgml/iso8879:${PORTSDIR}/textproc/iso8879 \ + ${LOCALBASE}/share/sgml/docbook/3.1:${PORTSDIR}/textproc/docbook-310 \ + jade:${PORTSDIR}/textproc/jade +.endif + +WRKSRC= ${WRKDIR}/${DISTNAME:S/-src//g} +USE_GMAKE= yes +GNU_CONFIGURE= yes + +post-build: +.if !defined(NOPORTDOCS) + @(cd ${WRKSRC}/haddock/doc && \ + ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} html) +.endif + +post-install: +.if !defined(NOPORTDOCS) + @(cd ${WRKSRC}/haddock/doc && ${CP} -R haddock ${PREFIX}/share/doc) +.endif + +.include <bsd.port.mk> diff --git a/devel/hs-haddock/distinfo b/devel/hs-haddock/distinfo new file mode 100644 index 000000000000..dee60e5c2f6a --- /dev/null +++ b/devel/hs-haddock/distinfo @@ -0,0 +1,2 @@ +MD5 (haddock-0.2-src.tar.gz) = 89ef4be3a5f0d4d75b47dfedfca3f494 + diff --git a/devel/hs-haddock/pkg-comment b/devel/hs-haddock/pkg-comment new file mode 100644 index 000000000000..b60bd6d16a9d --- /dev/null +++ b/devel/hs-haddock/pkg-comment @@ -0,0 +1 @@ +A documentation tool for Haskell diff --git a/devel/hs-haddock/pkg-descr b/devel/hs-haddock/pkg-descr new file mode 100644 index 000000000000..2504df29fb2c --- /dev/null +++ b/devel/hs-haddock/pkg-descr @@ -0,0 +1,8 @@ +Haddock is a tool for automatically generating documentation from +annotated Haskell source code. The documentation generated by Haddock +is fully hyperlinked. + +WWW: http://www.haskell.org/haddock/ + +-- Oliver Braun +obraun@informatik.unibw-muenchen.de diff --git a/devel/hs-haddock/pkg-plist b/devel/hs-haddock/pkg-plist new file mode 100644 index 000000000000..5f31d00ddaee --- /dev/null +++ b/devel/hs-haddock/pkg-plist @@ -0,0 +1,34 @@ +bin/haddock +bin/haddock-0.2 +lib/haddock-0.2/haddock.bin +lib/haddock-0.2/haddock.css +lib/haddock-0.2/haskell_icon.gif +%%PORTDOCS%%share/doc/haddock/docbook.css +%%PORTDOCS%%share/doc/haddock/haddock.html +%%PORTDOCS%%share/doc/haddock/introduction.html +%%PORTDOCS%%share/doc/haddock/invoking.html +%%PORTDOCS%%share/doc/haddock/license.html +%%PORTDOCS%%share/doc/haddock/markup.html +%%PORTDOCS%%share/doc/haddock/module-attributes.html +%%PORTDOCS%%share/doc/haddock/x251.html +%%PORTDOCS%%share/doc/haddock/x276.html +%%PORTDOCS%%share/doc/haddock/x281.html +%%PORTDOCS%%share/doc/haddock/x322.html +%%PORTDOCS%%share/doc/haddock/x337.html +%%PORTDOCS%%share/doc/haddock/x405.html +%%PORTDOCS%%share/doc/haddock/x57.html +%%PORTDOCS%%share/doc/haddock/stylesheet-images/caution.gif +%%PORTDOCS%%share/doc/haddock/stylesheet-images/home.gif +%%PORTDOCS%%share/doc/haddock/stylesheet-images/important.gif +%%PORTDOCS%%share/doc/haddock/stylesheet-images/next.gif +%%PORTDOCS%%share/doc/haddock/stylesheet-images/note.gif +%%PORTDOCS%%share/doc/haddock/stylesheet-images/prev.gif +%%PORTDOCS%%share/doc/haddock/stylesheet-images/tip.gif +%%PORTDOCS%%share/doc/haddock/stylesheet-images/toc-blank.gif +%%PORTDOCS%%share/doc/haddock/stylesheet-images/toc-minus.gif +%%PORTDOCS%%share/doc/haddock/stylesheet-images/toc-plus.gif +%%PORTDOCS%%share/doc/haddock/stylesheet-images/up.gif +%%PORTDOCS%%share/doc/haddock/stylesheet-images/warning.gif +@dirrm lib/haddock-0.2 +%%PORTDOCS%%@dirrm share/doc/haddock/stylesheet-images +%%PORTDOCS%%@dirrm share/doc/haddock |