blob: 6b405af332a760be6a2f044493a793709eebf007 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Created by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
# $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 <bsd.port.mk>
|