ports/95619: japanese manpage of pdumpfs is wrong
Tsurutani Naoki
turutani at scphys.kyoto-u.ac.jp
Tue Apr 11 11:20:19 UTC 2006
>Number: 95619
>Category: ports
>Synopsis: japanese manpage of pdumpfs is wrong
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: doc-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Apr 11 11:20:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Tsurutani Naoki
>Release: FreeBSD 5.5-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD polymer3.scphys.kyoto-u.ac.jp 5.5-PRERELEASE FreeBSD 5.5-PRERELEASE #19: Thu Mar 23 12:05:35 JST 2006 turutani at polymer3.scphys.kyoto-u.ac.jp:/usr/local/work/usr/obj/usr/src/sys/POLYMER i386
>Description:
japanese manpage of sysutils/pdumpfs is wrong. no word is readable.
>How-To-Repeat:
after installation of japanese/man,
% jman pdumpfs
will print meaningless characters...
>Fix:
original character set of the man page seems to be JIS code.
convert into euc-jp code before use.
here is a patch to Makefile:
--- Makefile.orig Fri Nov 18 04:31:57 2005
+++ Makefile Tue Apr 11 20:04:04 2006
@@ -19,13 +19,20 @@
ALL_TARGET= pdumpfs
DOCS= ChangeLog README doc/*
+.if defined(WITH_JPMAN)
+BUILD_DEPENDS= ${LOCALBASE}/bin/nkf:${PORTSDIR}/japanese/nkf
MANLANG= "" ja
+.endif
MAN8= pdumpfs.8
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/pdumpfs ${PREFIX}/sbin/
${INSTALL_MAN} ${WRKSRC}/man/man8/pdumpfs.8 ${PREFIX}/man/man8/
+.if defined(WITH_JPMAN)
+ ${MV} ${WRKSRC}/man/ja/man8/pdumpfs.8 ${WRKSRC}/man/ja/man8/pdumpfs.8j
+ ${LOCALBASE}/bin/nkf -e ${WRKSRC}/man/ja/man8/pdumpfs.8j > ${WRKSRC}/man/ja/man8/pdumpfs.8
${INSTALL_MAN} ${WRKSRC}/man/ja/man8/pdumpfs.8 ${PREFIX}/man/ja/man8/
+.endif
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for f in ${DOCS}
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list