diff options
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/haddock/Makefile | 40 | ||||
-rw-r--r-- | devel/haddock/distinfo | 2 | ||||
-rw-r--r-- | devel/haddock/pkg-comment | 1 | ||||
-rw-r--r-- | devel/haddock/pkg-descr | 8 | ||||
-rw-r--r-- | devel/haddock/pkg-plist | 34 | ||||
-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 |
11 files changed, 171 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index f7bb4640ddf3..b61535df5c66 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -196,6 +196,7 @@ SUBDIR += gtgt SUBDIR += gtranslator SUBDIR += gvd + SUBDIR += haddock SUBDIR += happy SUBDIR += happydoc SUBDIR += hmake diff --git a/devel/haddock/Makefile b/devel/haddock/Makefile new file mode 100644 index 000000000000..9efe0ed23afc --- /dev/null +++ b/devel/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/haddock/distinfo b/devel/haddock/distinfo new file mode 100644 index 000000000000..dee60e5c2f6a --- /dev/null +++ b/devel/haddock/distinfo @@ -0,0 +1,2 @@ +MD5 (haddock-0.2-src.tar.gz) = 89ef4be3a5f0d4d75b47dfedfca3f494 + diff --git a/devel/haddock/pkg-comment b/devel/haddock/pkg-comment new file mode 100644 index 000000000000..b60bd6d16a9d --- /dev/null +++ b/devel/haddock/pkg-comment @@ -0,0 +1 @@ +A documentation tool for Haskell diff --git a/devel/haddock/pkg-descr b/devel/haddock/pkg-descr new file mode 100644 index 000000000000..2504df29fb2c --- /dev/null +++ b/devel/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/haddock/pkg-plist b/devel/haddock/pkg-plist new file mode 100644 index 000000000000..5f31d00ddaee --- /dev/null +++ b/devel/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 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 |