Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Apr 2006 11:47:44 +0900
From:      Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
To:        Volker Stolz <vs@FreeBSD.org>
Cc:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/95619: japanese manpage of pdumpfs is wrong
Message-ID:  <200604270247.AA00118@POLYMER5.scphys.kyoto-u.ac.jp>
In-Reply-To: <200604151319.k3FDJVF5049045@freefall.freebsd.org>
References:  <200604151319.k3FDJVF5049045@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604270247.AA00118>