# Created by: Oliver Braun <obraun@informatik.unibw-muenchen.de>

PORTNAME=	haddock
PORTVERSION=	2.24.0
CATEGORIES=	devel haskell

MAINTAINER=	haskell@FreeBSD.org
COMMENT=	Documentation-generation tool for Haskell libraries

LICENSE=	BSD3CLAUSE

BROKEN=		Doesn't build with current GHC

USES=		cabal

USE_CABAL=	ghc-paths-0.1.0.12_1 \
		haddock-api-2.24.0 \
		haddock-library-1.9.0

haddock_DATADIR_VARS=	haddock-api

post-install:
	cd ${WRKSRC}/haddock-api-${PORTVERSION}/resources/ && ${COPYTREE_SHARE} \* ${STAGEDIR}${DATADIR}

.include <bsd.port.mk>
