aboutsummaryrefslogtreecommitdiff
path: root/devel/hs-haddock/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/hs-haddock/Makefile')
-rw-r--r--devel/hs-haddock/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/devel/hs-haddock/Makefile b/devel/hs-haddock/Makefile
index 4e5f79e2ae18..97836694bc0b 100644
--- a/devel/hs-haddock/Makefile
+++ b/devel/hs-haddock/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= haddock
-PORTVERSION= 2.14.3
-PORTREVISION= 1
+PORTVERSION= 2.16.1
CATEGORIES= devel haskell
MAINTAINER= haskell@FreeBSD.org
@@ -11,13 +10,15 @@ COMMENT= Documentation-generation tool for Haskell libraries
LICENSE= BSD3CLAUSE
-USE_CABAL= ghc-paths
+USE_CABAL= haddock-api>=2.16
USE_ALEX= true
USE_HAPPY= true
EXECUTABLE= haddock-${PORTVERSION}
+STANDALONE= yes
+
PLIST_SUB+= GHC_HADDOCK_CMD=${GHC_HADDOCK_CMD} HADDOCK=${PREFIX}/bin/haddock EXECUTABLE=${PREFIX}/bin/haddock-${PORTVERSION}
CONFIGURE_ARGS+= --program-suffix=-${PORTVERSION}