mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
1a75cb1d44
- Update HACKAGE_SITE to follow changes in upstream - MAKE_ENV now sets LC_ALL and DESTDIR for Haskell Cabal ports - Further minor cosmetical changes: replace USE_GMAKE with USES, get rid of ${DO_NADA}, some refactoring Obtained from: FreeBSD Haskell
30 lines
690 B
Makefile
30 lines
690 B
Makefile
# Created by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= haddock
|
|
PORTVERSION= 2.13.2
|
|
PORTREVISION= 2
|
|
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>
|