japanese manpage of sysutils/pdumpfs is wrong. no word is readable. 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} How-To-Repeat: after installation of japanese/man, % jman pdumpfs will print meaningless characters...
State Changed From-To: open->feedback 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: --- sysutils/pdumpfs/Makefile.orig Fri Nov 18 04:31:57 2005 +++ sysutils/pdumpfs/Makefile Tue May 2 12:57:12 2006 @@ -25,6 +25,7 @@ do-install: ${INSTALL_SCRIPT} ${WRKSRC}/pdumpfs ${PREFIX}/sbin/ ${INSTALL_MAN} ${WRKSRC}/man/man8/pdumpfs.8 ${PREFIX}/man/man8/ + ${RUBY} -ni -r nkf -e 'puts NKF.nkf("-e",$$_)' ${WRKSRC}/man/ja/man8/pdumpfs.8 ${INSTALL_MAN} ${WRKSRC}/man/ja/man8/pdumpfs.8 ${PREFIX}/man/ja/man8/ .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} New fix does not depend on any other new ports nor use any new variable.
Responsible Changed From-To: freebsd-ports-bugs->okazaki I will handle this.
Thank you. It works well.
State Changed From-To: feedback->closed Committed, thanks!
Class Changed From-To: doc-bug->update port update request