From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Apr 11 11:20:19 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0BC1F16A405 for ; Tue, 11 Apr 2006 11:20:19 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0513243D48 for ; Tue, 11 Apr 2006 11:20:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k3BBKHH1035049 for ; Tue, 11 Apr 2006 11:20:17 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k3BBKHgX035043; Tue, 11 Apr 2006 11:20:17 GMT (envelope-from gnats) Resent-Date: Tue, 11 Apr 2006 11:20:17 GMT Resent-Message-Id: <200604111120.k3BBKHgX035043@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tsurutani Naoki Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45DA616A400 for ; Tue, 11 Apr 2006 11:13:39 +0000 (UTC) (envelope-from turutani@polymer3.scphys.kyoto-u.ac.jp) Received: from polymer3.scphys.kyoto-u.ac.jp (polymer3.scphys.kyoto-u.ac.jp [130.54.55.55]) by mx1.FreeBSD.org (Postfix) with ESMTP id B65F243D45 for ; Tue, 11 Apr 2006 11:13:38 +0000 (GMT) (envelope-from turutani@polymer3.scphys.kyoto-u.ac.jp) Received: from polymer3.scphys.kyoto-u.ac.jp (localhost [127.0.0.1]) by polymer3.scphys.kyoto-u.ac.jp (8.13.4/8.13.4/20060227-1) with ESMTP id k3BBDXWY046812; Tue, 11 Apr 2006 20:13:33 +0900 (JST) (envelope-from turutani@polymer3.scphys.kyoto-u.ac.jp) Received: (from turutani@localhost) by polymer3.scphys.kyoto-u.ac.jp (8.13.4/8.13.4/Submit) id k3BBDWwh046811; Tue, 11 Apr 2006 20:13:33 +0900 (JST) (envelope-from turutani) Message-Id: <200604111113.k3BBDWwh046811@polymer3.scphys.kyoto-u.ac.jp> Date: Tue, 11 Apr 2006 20:13:33 +0900 (JST) From: Tsurutani Naoki To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/95619: japanese manpage of pdumpfs is wrong X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Tsurutani Naoki List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Apr 2006 11:20:19 -0000 >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: