From owner-freebsd-ports Mon Jul 29 21:52:30 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B796637B400 for ; Mon, 29 Jul 2002 21:52:25 -0700 (PDT) Received: from quanta.synchem.kyoto-u.ac.jp (quanta.synchem.kyoto-u.ac.jp [130.54.33.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id E973343E67 for ; Mon, 29 Jul 2002 21:52:24 -0700 (PDT) (envelope-from chat95@mbox.kyoto-inet.or.jp) Received: from localhost (quanth.synchem.kyoto-u.ac.jp [130.54.33.130]) by quanta.synchem.kyoto-u.ac.jp (8.12.5/3.7W/00091819) with ESMTP id g6U4pZOx096356 for ; Tue, 30 Jul 2002 13:51:35 +0900 (JST) Date: Tue, 30 Jul 2002 13:49:57 +0900 (JST) Message-Id: <20020730.134957.846951243.maho@scarlatti.synchem.kyoto-u.ac.jp> To: freebsd-ports@FreeBSD.org Subject: l10n'ed help files for OpenOffice From: chat95@mbox.kyoto-inet.or.jp (Nakata Maho) X-Mailer: Mew version 2.2 on XEmacs 21.1.14 (Cuyahoga Valley) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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