git: 9a5a5a037897 - main - japanese/kterm: Sanitize MANPREFIX
Date: Mon, 22 Jan 2024 20:27:31 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=9a5a5a0378972be4f6b9d4d4c67c68baaebb1daa commit 9a5a5a0378972be4f6b9d4d4c67c68baaebb1daa Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2024-01-22 19:37:27 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2024-01-22 20:26:42 +0000 japanese/kterm: Sanitize MANPREFIX Approved by: portmgr (blanket) --- japanese/kterm/Makefile | 8 +++++--- japanese/kterm/pkg-plist | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/japanese/kterm/Makefile b/japanese/kterm/Makefile index f93f8f122bfa..8f330bf140e6 100644 --- a/japanese/kterm/Makefile +++ b/japanese/kterm/Makefile @@ -2,7 +2,7 @@ PORTNAME= kterm PORTVERSION= 6.2.0 DISTVERSIONPREFIX= v DISTVERSIONSUFFIX= .fb6 -PORTREVISION= 17 +PORTREVISION= 18 CATEGORIES= japanese x11 MASTER_SITES= LOCAL/hrs:pcemu DISTFILES= pcemu1.01alpha.tar.gz:pcemu @@ -85,10 +85,12 @@ post-build: ${ICONV_CMD} -f iso-2022-jp -t utf-8 ${WRKSRC}/kterm.jman \ | ${GZIP_CMD} > ${WRKSRC}/kterm.1.gz pre-install: - ${MKDIR} ${STAGEDIR}${MANPREFIX}/man/ja.UTF-8/man1 + ${MKDIR} ${STAGEDIR}${PREFIX}/share/man/ja/man1 post-install: ${INSTALL_MAN} ${WRKSRC}/kterm.1.gz \ - ${STAGEDIR}${MANPREFIX}/man/ja.UTF-8/man1 + ${STAGEDIR}${PREFIX}/share/man/ja/man1 + ${MV} ${STAGEDIR}${PREFIX}/man/man1/kterm.1.gz \ + ${STAGEDIR}${PREFIX}/share/man/man1/ pre-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} pre-install-VGAFONT-on: diff --git a/japanese/kterm/pkg-plist b/japanese/kterm/pkg-plist index fc808fe8b33b..ea80061dca88 100644 --- a/japanese/kterm/pkg-plist +++ b/japanese/kterm/pkg-plist @@ -1,7 +1,7 @@ @mode 4511 bin/kterm @mode 0444 -man/ja.UTF-8/man1/kterm.1.gz -man/man1/kterm.1.gz +share/man/ja/man1/kterm.1.gz +share/man/man1/kterm.1.gz lib/X11/app-defaults/KTerm %%VGAFONT%%%%FONTSDIR%%/vga.pcf.gz