git: c30918b1d1fe - main - lang/ghc: Install unsuffixed haddock executable
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 Mar 2026 07:03:58 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c30918b1d1fe2ac1d3e08f43897923aad73ede9c
commit c30918b1d1fe2ac1d3e08f43897923aad73ede9c
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-03-08 09:17:55 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-03-09 07:03:50 +0000
lang/ghc: Install unsuffixed haddock executable
---
lang/ghc/Makefile | 3 +--
lang/ghc/pkg-plist | 1 +
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile
index 29ad1d75ea2b..2f7372af499e 100644
--- a/lang/ghc/Makefile
+++ b/lang/ghc/Makefile
@@ -1,6 +1,6 @@
PORTNAME= ghc
PORTVERSION= ${GHC_VERSION}
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES= lang haskell
MASTER_SITES= https://www.haskell.org/ghc/dist/${PORTVERSION}/:source \
LOCAL/arrowd/:boot
@@ -193,7 +193,6 @@ post-install:
${RM} -r ${STAGEDIR}${PREFIX}/include/*
${FIND} ${STAGEDIR}${DOCSDIR} -name .buildinfo -delete
${FIND} ${STAGEDIR}${PREFIX}/lib/ghc-${GHC_VERSION} -type f -perm +111 -not -name '*js' -exec ${STRIP_CMD} {} +
- ${RM} ${STAGEDIR}${PREFIX}/bin/haddock
.if ${SLAVE_PORT} == "yes"
# Do not install docs for slave GHCs
${FIND} ${STAGEDIR}${PREFIX}/bin -not -type d -not -regex '.*-${GHC_VERSION}' -delete
diff --git a/lang/ghc/pkg-plist b/lang/ghc/pkg-plist
index 39e81735792d..db4cc465c60c 100644
--- a/lang/ghc/pkg-plist
+++ b/lang/ghc/pkg-plist
@@ -4,6 +4,7 @@ bin/ghc-pkg
bin/ghc-pkg-%%GHC_VERSION%%
bin/ghci
bin/ghci-%%GHC_VERSION%%
+bin/haddock
bin/haddock-ghc-%%GHC_VERSION%%
bin/hp2ps
bin/hp2ps-ghc-%%GHC_VERSION%%