Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jan 1998 17:16:12 +0900
From:      k-horik@yk.rim.or.jp
To:        freebsd-doc@FreeBSD.ORG
Subject:   Proposal to put Japanese online manuals into freefall CVS repository
Message-ID:  <199801150816.RAA23004@mail.yk.rim.or.jp>

next in thread | raw e-mail | index | archive | help
Hello.  I am from the jpman project.  We translate FreeBSD online
manuals into Japanese and distribute them.

Section 1 and 8 online manuals in Japanese, based on 2.2.2-RELEASE,
have been distributed through the "port" ja-man-doc-2.2.2.  Now, we
want to distribute them through "freefall CVS repository", because
centralization of FreeBSD related information benefits FreeBSD users.

Please review attached proposal and give me suggestion.  Thanks in
advance.

---
Proposal to put Japanese online manuals into freefall CVS repository

1. Policy
 o Repository location is doc/ja_JP.EUC/man/.
 o Destination is /usr/share/man/ja_JP.EUC/.


2. Detailed specification
1) Modify src/etc/mtree/BSD.usr.dist as follow.
--- BSD.usr.dist.bak	Tue Oct 21 23:21:30 1997
+++ BSD.usr.dist	Mon Jan  5 19:17:49 1998
@@ -334,6 +334,48 @@
             ..
 	    catn
 	    ..
+            ja_JP.EUC       uname=bin
+                cat1
+                ..
+                cat2
+                ..
+                cat3
+                ..
+                cat4
+                ..
+                cat5
+                ..
+                cat6
+                ..
+                cat7
+                ..
+                cat8
+                ..
+                cat9
+                ..
+                catn
+                ..
+                man1            uname=bin
+                ..
+                man2            uname=bin
+                ..
+                man3            uname=bin
+                ..
+                man4            uname=bin
+                ..
+                man5            uname=bin
+                ..
+                man6            uname=bin
+                ..
+                man7            uname=bin
+                ..
+                man8            uname=bin
+                ..
+                man9            uname=bin
+                ..
+                mann            uname=bin
+                ..
+            ..
             man1            uname=bin
             ..
             man2            uname=bin


2) Modify doc/ja_JP.EUC/Makefile as follow:
--- Makefile.bak        Tue Nov 18 00:58:15 1997
+++ Makefile    Mon Jan  5 18:58:10 1998
@@ -3,5 +3,6 @@
 
 SUBDIR = handbook
 SUBDIR+= FAQ
+SUBDIR+= man
 
 .include <bsd.subdir.mk>


3) Add doc/ja_JP.EUC/man as follow.
   This image can be obtained from following URL:
    o tarball
      <URL:ftp://jaz.jp.freebsd.org/pub/FreeBSD-jp/man-jp/work/jpman-2.2.5/for_
CVS_repository/man.tar.gz>
    o extracted image
      <URL:ftp://jaz.jp.freebsd.org/pub/FreeBSD-jp/man-jp/work/jpman-2.2.5/for_
CVS_repository/man/>



3-1) doc/ja_JP.EUC/man/Makefile
BINDIR= /usr/share
SUBDIR= man1 man8

makedb:
	LANG=ja_JP.EUC jmakewhatis ${DESTDIR}${BINDIR}/man/ja_JP.EUC/

.include <bsd.subdir.mk>


3-2) doc/ja_JP.EUC/man/Makefile.inc
PREFIX=		/usr/share
MANDIR=		${PREFIX}/man/ja_JP.EUC/man
MROFF_CMD=	/usr/local/bin/groff -Tnippon -man


3-3) doc/ja_JP.EUC/man/man1/Makefile
MAN1 =  a2p.1\
        addftinfo.1\
[snip]        
MLINKS= csh.1 limit.1 csh.1 alias.1 csh.1 bg.1 csh.1 dirs.1 csh.1 fg.1 \
        csh.1 foreach.1 csh.1 history.1 csh.1 jobs.1 csh.1 popd.1 \
        csh.1 pushd.1 csh.1 rehash.1 csh.1 repeat.1 csh.1 suspend.1 \
        csh.1 stop.1 csh.1 source.1
[snip]
MLINKS+= rtprio.1 idprio.1

.include "bsd.prog.mk"


3-4) doc/ja_JP.EUC/man/man1/*.1
     This directory contains 333 manuals.


3-4) doc/ja_JP.EUC/man/man8/Makefile
MAN8 =  IPXrouted.8\
        MAKEDEV.8\
[snip]
        zic.8

MLINKS+= strfile.8 unstr.8
[snip]
MLINKS+=        vnconfig.8 swapfile.8

.include "bsd.prog.mk"


3-4) doc/ja_JP.EUC/man/man8/*.8
     This directory contains 224 manuals.


3. Experimental Result
   I can execute following sequence on FreeBSD 2.2.5-RELEASE.
   a. (cd /usr; mtree -u -d -f /etc/mtree/BSD.usr.dist)
   b. (cd foo/doc/ja_JP.EUC/man/; make; make install; make clean)
--
Kazuo Horikawa <horikawa@jp.freebsd.org>



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