japanese/kterm: Sanitize MANPREFIX

Approved by:    portmgr (blanket)
This commit is contained in:
Muhammad Moinur Rahman 2024-01-22 20:37:27 +01:00
parent 37a3fd8986
commit 9a5a5a0378
2 changed files with 7 additions and 5 deletions

View file

@ -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:

View file

@ -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