aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2024-01-21 16:29:43 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2024-01-21 17:43:24 +0000
commitd11724f3464e00a64c8cf4bca15ec0e91d14b4cd (patch)
treeff37c494cedf35fddc224a70b2b0a46ad9d555c7
parent81446b12e44de0e9d873828fa7ad48d7995aa3e8 (diff)
downloadports-d11724f3464e00a64c8cf4bca15ec0e91d14b4cd.tar.gz
ports-d11724f3464e00a64c8cf4bca15ec0e91d14b4cd.zip
shells/bash: Move manpages to share/man
-rw-r--r--shells/bash/Makefile4
-rw-r--r--shells/bash/pkg-plist4
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