Skip site navigation (1)Skip section navigation (2)
Date:      Thu,  9 May 2002 19:12:18 +0200 (CEST)
From:      Oliver Braun <obraun@informatik.unibw-muenchen.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/37892: New Port: devel/haddock 0.2 (A Haskell Documentation Tool)
Message-ID:  <20020509171218.18A725A549@nemesis.informatik.unibw-muenchen.de>

next in thread | raw e-mail | index | archive | help

>Number:         37892
>Category:       ports
>Synopsis:       New Port: devel/haddock 0.2 (A Haskell Documentation Tool)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 09 10:20:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Braun
>Release:        FreeBSD 4.6-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD nemesis.informatik.unibw-muenchen.de 4.6-PRERELEASE FreeBSD 4.6-PRERELEASE #0: Thu May 2 11:59:09 CEST 2002 root@nemesis.informatik.unibw-muenchen.de:/usr/obj/usr/src/sys/NEMESIS_OB i386


>Description:

[This PR obsoletes PR ports/37636]

Haddock is a tool for automatically generating documentation from annotated
Haskell source code. The documentation generated by Haddock is fully
hyperlinked.

Haddock can generate documentation in multiple formats; currently HTML is
implemented, and there is partial support for generating DocBook.

WWW:    http://www.haskell.org/haddock/

Regards,
         Olli

>How-To-Repeat:
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	haddock
#	haddock/Makefile
#	haddock/distinfo
#	haddock/pkg-comment
#	haddock/pkg-descr
#	haddock/pkg-plist
#
echo c - haddock
mkdir -p haddock > /dev/null 2>&1
echo x - haddock/Makefile
sed 's/^X//' >haddock/Makefile << 'END-of-haddock/Makefile'
X# New ports collection makefile for:	haddock
X# Date created:				09 May 2002
X# Whom:					Oliver Braun <obraun@informatik.unibw-muenchen.de>
X#
X# $FreeBSD$
X
XPORTNAME=	haddock
XPORTVERSION=	0.2
XCATEGORIES=	devel
XMASTER_SITES=	http://www.haskell.org/haddock/
XDISTNAME=	${PORTNAME}-${PORTVERSION}-src
X
XMAINTAINER=	obraun@informatik.unibw-muenchen.de
X
XBUILD_DEPENDS=	ghc:${PORTSDIR}/lang/ghc
X.if !defined(NOPORTDOCS)
XBUILD_DEPENDS+=	${LOCALBASE}/share/sgml/docbook/dsssl/modular:${PORTSDIR}/textproc/dsssl-docbook-modular \
X		${LOCALBASE}/share/sgml/docbook/catalog:${PORTSDIR}/textproc/docbook \
X		${LOCALBASE}/share/sgml/iso8879:${PORTSDIR}/textproc/iso8879 \
X		${LOCALBASE}/share/sgml/docbook/3.1:${PORTSDIR}/textproc/docbook-310 \
X		jade:${PORTSDIR}/textproc/jade
X.endif
X
XWRKSRC=		${WRKDIR}/${DISTNAME:S/-src//g}
XUSE_GMAKE=	yes
XGNU_CONFIGURE=	yes
X
Xpost-build:
X.if !defined(NOPORTDOCS)
X	@(cd ${WRKSRC}/haddock/doc && \
X	 ${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} html)
X.endif
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@(cd ${WRKSRC}/haddock/doc && ${CP} -R haddock ${PREFIX}/share/doc)
X.endif
X
X.include <bsd.port.mk>
END-of-haddock/Makefile
echo x - haddock/distinfo
sed 's/^X//' >haddock/distinfo << 'END-of-haddock/distinfo'
XMD5 (haddock-0.2-src.tar.gz) = 4edc3ad3211d9b8294f270cc092931db
END-of-haddock/distinfo
echo x - haddock/pkg-comment
sed 's/^X//' >haddock/pkg-comment << 'END-of-haddock/pkg-comment'
XA documentation tool for Haskell
END-of-haddock/pkg-comment
echo x - haddock/pkg-descr
sed 's/^X//' >haddock/pkg-descr << 'END-of-haddock/pkg-descr'
XHaddock is a tool for automatically generating documentation from
Xannotated Haskell source code. The documentation generated by Haddock
Xis fully hyperlinked.
X
XWWW:	http://www.haskell.org/haddock/
X
X-- Oliver Braun
Xobraun@informatik.unibw-muenchen.de
END-of-haddock/pkg-descr
echo x - haddock/pkg-plist
sed 's/^X//' >haddock/pkg-plist << 'END-of-haddock/pkg-plist'
Xbin/haddock
Xbin/haddock-0.2
Xlib/haddock-0.2/haddock.bin
Xlib/haddock-0.2/haddock.css
Xlib/haddock-0.2/haskell_icon.gif
X%%PORTDOCS%%share/doc/haddock/docbook.css
X%%PORTDOCS%%share/doc/haddock/haddock.html
X%%PORTDOCS%%share/doc/haddock/introduction.html
X%%PORTDOCS%%share/doc/haddock/invoking.html
X%%PORTDOCS%%share/doc/haddock/license.html
X%%PORTDOCS%%share/doc/haddock/markup.html
X%%PORTDOCS%%share/doc/haddock/module-attributes.html
X%%PORTDOCS%%share/doc/haddock/x251.html
X%%PORTDOCS%%share/doc/haddock/x276.html
X%%PORTDOCS%%share/doc/haddock/x281.html
X%%PORTDOCS%%share/doc/haddock/x322.html
X%%PORTDOCS%%share/doc/haddock/x337.html
X%%PORTDOCS%%share/doc/haddock/x405.html
X%%PORTDOCS%%share/doc/haddock/x57.html
X%%PORTDOCS%%share/doc/haddock/stylesheet-images/caution.gif
X%%PORTDOCS%%share/doc/haddock/stylesheet-images/home.gif
X%%PORTDOCS%%share/doc/haddock/stylesheet-images/important.gif
X%%PORTDOCS%%share/doc/haddock/stylesheet-images/next.gif
X%%PORTDOCS%%share/doc/haddock/stylesheet-images/note.gif
X%%PORTDOCS%%share/doc/haddock/stylesheet-images/prev.gif
X%%PORTDOCS%%share/doc/haddock/stylesheet-images/tip.gif
X%%PORTDOCS%%share/doc/haddock/stylesheet-images/toc-blank.gif
X%%PORTDOCS%%share/doc/haddock/stylesheet-images/toc-minus.gif
X%%PORTDOCS%%share/doc/haddock/stylesheet-images/toc-plus.gif
X%%PORTDOCS%%share/doc/haddock/stylesheet-images/up.gif
X%%PORTDOCS%%share/doc/haddock/stylesheet-images/warning.gif
X@dirrm lib/haddock-0.2
X%%PORTDOCS%%@dirrm share/doc/haddock/stylesheet-images
X%%PORTDOCS%%@dirrm share/doc/haddock
END-of-haddock/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020509171218.18A725A549>