98ae1eaf36
As usual, it is recommended to rebuild or reinstall all the dependent ports and the lang/ghc port itself in one of the following ways: # portmaster -w -r ghc or # portupgrade -fr lang/ghc In case of pkg(8), it is probably safer to remove all the GHC-dependent packages along with GHC and reinstall everything from scratch. For example: # pkg query "%ro" ghc > ghc-pkgs.txt # pkg delete -y lang/ghc In ghc-pkgs.txt, check and remove all the packages that have been moved on the update, then use this command: # pkg install -y `cat ghc-pkgs.txt` Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D16038
28 lines
641 B
Makefile
28 lines
641 B
Makefile
# Created by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= haddock
|
|
PORTVERSION= 2.19.0.1
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel haskell
|
|
|
|
MAINTAINER= haskell@FreeBSD.org
|
|
COMMENT= Documentation-generation tool for Haskell libraries
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
|
|
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}
|
|
|
|
.include "${.CURDIR}/../../lang/ghc/bsd.cabal.mk"
|
|
.include <bsd.port.mk>
|