diff options
| author | Gleb Popov <arrowd@FreeBSD.org> | 2026-03-08 09:17:55 +0000 |
|---|---|---|
| committer | Gleb Popov <arrowd@FreeBSD.org> | 2026-03-09 07:03:50 +0000 |
| commit | c30918b1d1fe2ac1d3e08f43897923aad73ede9c (patch) | |
| tree | 841425de12a68c9d4fb5875c358699956a895ec8 | |
| parent | cb77c218ab286d1b0c562b2f8fc74de9e69d4079 (diff) | |
lang/ghc: Install unsuffixed haddock executable
| -rw-r--r-- | lang/ghc/Makefile | 3 | ||||
| -rw-r--r-- | 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%% |
