Date: Tue, 11 Apr 2006 20:13:33 +0900 (JST) From: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/95619: japanese manpage of pdumpfs is wrong Message-ID: <200604111113.k3BBDWwh046811@polymer3.scphys.kyoto-u.ac.jp> Resent-Message-ID: <200604111120.k3BBKHgX035043@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604111113.k3BBDWwh046811>