From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Apr 27 02:47:54 2006 Return-Path: X-Original-To: freebsd-ports-bugs@FreeBSD.org Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EFE516A401; Thu, 27 Apr 2006 02:47:54 +0000 (UTC) (envelope-from turutani@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 C048243D46; Thu, 27 Apr 2006 02:47:53 +0000 (GMT) (envelope-from turutani@scphys.kyoto-u.ac.jp) Received: from POLYMER5.scphys.kyoto-u.ac.jp (h118.65.226.10.32118.vlan.kuins.net [10.226.65.118]) by polymer3.scphys.kyoto-u.ac.jp (8.13.4/8.13.4/20060227-1) with SMTP id k3R2liVP022385; Thu, 27 Apr 2006 11:47:45 +0900 (JST) (envelope-from turutani@scphys.kyoto-u.ac.jp) Message-Id: <200604270247.AA00118@POLYMER5.scphys.kyoto-u.ac.jp> From: Tsurutani Naoki Date: Thu, 27 Apr 2006 11:47:44 +0900 To: Volker Stolz In-Reply-To: <200604151319.k3FDJVF5049045@freefall.freebsd.org> References: <200604151319.k3FDJVF5049045@freefall.freebsd.org> MIME-Version: 1.0 X-Mailer: AL-Mail32 Version 1.13 Content-Type: text/plain; charset=us-ascii X-Spam-Status: No, score=-4.1 required=7.0 tests=ALL_TRUSTED,AWL,BAYES_00, UPPERCASE_25_50 autolearn=ham version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on polymer3.scphys.kyoto-u.ac.jp Cc: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/95619: japanese manpage of pdumpfs is wrong X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 02:47:54 -0000 I resend this mail, for my 1st reply is not registered. Volker Stolz wrote: >Sorry, can you do without introducing the new variable WITH_JPMAN? >I couldn't find any other reference to this. Here is a new patch: --- Makefile.orig Fri Nov 18 04:31:57 2005 +++ Makefile Tue Apr 15 23:04:04 2006 @@ -19,13 +19,20 @@ ALL_TARGET= pdumpfs DOCS= ChangeLog README doc/* +.if exists(${LOCALBASE}/bin/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 exists(${LOCALBASE}/bin/nkf) + ${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} Variable of WITH_JPMAN is used to build Japanese man pages from doc-all. I did not have any idea whether it can be re-used here, but I thought that anyone who build Japanese man pages will find this knob, hence I used this variable.