Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jul 2002 13:49:57 +0900 (JST)
From:      chat95@mbox.kyoto-inet.or.jp (Nakata Maho)
To:        freebsd-ports@FreeBSD.org
Subject:   l10n'ed help files for OpenOffice
Message-ID:  <20020730.134957.846951243.maho@scarlatti.synchem.kyoto-u.ac.jp>

next in thread | raw e-mail | index | archive | help
Hello, Martin Blapp and Mario Ferreira, and ports-members,

Thanks for your great deal of efforts on OpenOffice.
I'm Japanese, so I'm very interested in Japanese port of OO.

Recently, Mr. Migita and Mr. Kimura noticed that OO's 
Help can be l10n'ed. Yes, we can read Help files in Japanese.

As you know, for other languages they have some l10n'ed help files,
however your ports do not consider such things.

I cannot resolve this problem, beautifully, however, I know
this diff can be resolve in some way.

###########################################################################
--- japanese/openoffice/Makefile.orig  Sat Jul 20 17:04:33 2002
+++ japanese/openoffice/Makefile Tue Jul 30 13:37:35 2002
@@ -12,5 +12,13 @@
 LANG_CONFIGURE_ARG=    JAPN
 MASTERDIR=     ${.CURDIR}/../../editors/openoffice
 RUN_DEPENDS+=  ${X11BASE}/lib/X11/fonts/TrueType/kochi-mincho.ttf:${PORTSDIR}/japanese/kochi-ttfonts
+MASTER_SITES+= ftp://ftp.kddlabs.co.jp/office/openoffice/ \
+               ftp://ftp.sfc.wide.ad.jp/pub/OpenOffice/
+DISTFILES+=    helpcontent
+L10NHELP=      helpcontent
 
+post-build:     # installation of japanese version help files
+               (cd ${WRKSRC}/../solver/641/unxfbsd.pro/pck ; ${TAR} xvfz ${DISTDIR}/${DIST_SUBDIR}/${L10NHELP} )
+
 .include "${.CURDIR}/../../editors/openoffice/Makefile"
+

###########################################################################
1. apply this patch,
2. build normally
3. remove work/.build_done.jp-openoffice-1.0.1
4. rebuild again
5. make package

The reason for building twice is that extract helpcontent in solver/641/unxfsd.pro/pck,
cannot be achieved because this directory does not exist pre-build stage.
so this must be done on in the middle of do-build, after the solver/641/unxfbsd.pro
appeared. 

A better sophisticated solution is: 
0. each l10n slave ports should have some l10nedhelp file
1. insert 
(cd ${WRKSRC}/../solver/641/unxfbsd.pro/pck ; ${TAR} xvfz ${DISTDIR}/${DIST_SUBDIR}/${L10NHELP} )
in the middle of do-build: of /usr/ports/editors/openoffice/Makefile

Sincerely,
 Nakata Maho




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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