# Created by: Oliver Braun # $FreeBSD$ PORTNAME= haddock PORTVERSION= 2.13.2 PORTREVISION= 4 CATEGORIES= devel haskell MAINTAINER= haskell@FreeBSD.org COMMENT= Documentation-generation tool for Haskell libraries LICENSE= BSD USE_CABAL= ghc-paths xhtml>=3000.2 USE_ALEX= true USE_HAPPY= true EXECUTABLE= haddock-${PORTVERSION} PLIST_SUB+= GHC_HADDOCK_CMD=${GHC_HADDOCK_CMD} HADDOCK=${PREFIX}/bin/haddock EXECUTABLE=${PREFIX}/bin/${EXECUTABLE} CONFIGURE_ARGS+= --program-suffix=-${PORTVERSION} post-install:: @${LN} -sf ${PREFIX}/bin/${EXECUTABLE} ${PREFIX}/bin/haddock .include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk" .include