summaryrefslogtreecommitdiff
path: root/japanese/kterm
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-22 20:37:27 +0100
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2024-01-22 21:26:42 +0100
commit9a5a5a0378972be4f6b9d4d4c67c68baaebb1daa (patch)
tree673eb8af5504322953f8feea1dd8466739773874 /japanese/kterm
parentjapanese/mh: Sanitize MANPREFIX (diff)
japanese/kterm: Sanitize MANPREFIX
Approved by: portmgr (blanket)
Diffstat (limited to 'japanese/kterm')
-rw-r--r--japanese/kterm/Makefile8
-rw-r--r--japanese/kterm/pkg-plist4
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