git: d11724f3464e - main - shells/bash: Move manpages to share/man
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 21 Jan 2024 17:43:38 UTC
The branch main has been updated by ehaupt:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d11724f3464e00a64c8cf4bca15ec0e91d14b4cd
commit d11724f3464e00a64c8cf4bca15ec0e91d14b4cd
Author: Emanuel Haupt <ehaupt@FreeBSD.org>
AuthorDate: 2024-01-21 16:29:43 +0000
Commit: Emanuel Haupt <ehaupt@FreeBSD.org>
CommitDate: 2024-01-21 17:43:24 +0000
shells/bash: Move manpages to share/man
---
shells/bash/Makefile | 4 ++++
shells/bash/pkg-plist | 4 ++--
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/shells/bash/Makefile b/shells/bash/Makefile
index 4282e6fc2799..1bccb38b44ee 100644
--- a/shells/bash/Makefile
+++ b/shells/bash/Makefile
@@ -1,6 +1,7 @@
PORTNAME= bash
PATCHLEVEL= 26
PORTVERSION= 5.2.${PATCHLEVEL:S/^0//g}
+PORTREVISION= 1
CATEGORIES= shells
MASTER_SITES= GNU
DISTNAME= ${PORTNAME}-${PORTVERSION:R}
@@ -76,6 +77,9 @@ STANDARD_PATH= /sbin:/bin:/usr/sbin:/usr/bin
CPPFLAGS+= -DDEFAULT_PATH_VALUE='\"${STANDARD_PATH}:${LOCALBASE}/sbin:${LOCALBASE}/bin\"' \
-DSTANDARD_UTILS_PATH='\"${STANDARD_PATH}\"'
+# remove after manprefix migration
+GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
+
post-patch:
# Ensure y.tab.c is regenerated
${TOUCH} ${WRKSRC}/parse.y
diff --git a/shells/bash/pkg-plist b/shells/bash/pkg-plist
index 35ea19a1fdbb..7db654ced8af 100644
--- a/shells/bash/pkg-plist
+++ b/shells/bash/pkg-plist
@@ -100,8 +100,8 @@ bin/bashbug
%%NO_STATIC%%lib/bash/unlink
%%NO_STATIC%%lib/bash/whoami
%%NO_STATIC%%libdata/pkgconfig/bash.pc
-man/man1/bash.1.gz
-man/man1/bashbug.1.gz
+share/man/man1/bash.1.gz
+share/man/man1/bashbug.1.gz
%%NLS%%share/locale/af/LC_MESSAGES/bash.mo
%%NLS%%share/locale/bg/LC_MESSAGES/bash.mo
%%NLS%%share/locale/ca/LC_MESSAGES/bash.mo