Date: Wed, 13 Nov 2002 19:48:42 +0900 (JST) From: Yoichi ASAI <yatt@msc.biglobe.ne.jp> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/45263: Update port: japanese/mozilla-jlp Message-ID: <200211131048.gADAmgMl000421@vmakane.home>
next in thread | raw e-mail | index | archive | help
>Number: 45263 >Category: ports >Synopsis: Update port: japanese/mozilla-jlp >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Nov 13 02:50:06 PST 2002 >Closed-Date: >Last-Modified: >Originator: Yoichi ASAI >Release: FreeBSD 4.7-STABLE i386 >Organization: >Environment: System: FreeBSD vmakane.home 4.7-STABLE FreeBSD 4.7-STABLE #0: Sat Nov 9 01:51:47 JST 2002 root@akane.home:/usr/obj/usr/src/sys/AKANE i386 >Description: Update port: japanese/mozilla-jlp Removed files: files/mozilla.xpg4, files/mozilla.noxpg4 Added file: files/mozilla.sh >How-To-Repeat: >Fix: diff -urN mozilla-jlp.orig/Makefile mozilla-jlp/Makefile --- mozilla-jlp.orig/Makefile Sat Sep 21 11:26:02 2002 +++ mozilla-jlp/Makefile Sat Nov 9 16:21:51 2002 @@ -6,7 +6,7 @@ # PORTNAME= mozilla -PORTVERSION= 1.0.1 +PORTVERSION= 1.1 #PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= japanese www @@ -14,7 +14,7 @@ http://www2.starcat.ne.jp/~unha/jlp/ MASTER_SITE_SUBDIR= jlpmoz PKGNAMESUFFIX= -jlp -DISTNAME= ${PORTNAME}1.0.1rc1-jajppack-kv0.10 +DISTNAME= ${PORTNAME}${PORTVERSION}-jajppack-kv0.8 EXTRACT_SUFX= .xpi MAINTAINER= yatt@msc.biglobe.ne.jp @@ -31,10 +31,13 @@ .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 400020 -MOZILLA_SH= mozilla.noxpg4 +.if ${OSVERSION} >= 450002 +LOCALENAME= ja_JP.eucJP +.elif ${OSVERSION} >= 400020 +LOCALENAME= ja_JP.EUC .else -MOZILLA_SH= mozilla.xpg4 +LOCALENAME= ja_JP.EUC +LIBXPG4= LD_PRELOAD=/usr/lib/libxpg4.so.2; export LD_PRELOAD .endif post-extract: @@ -42,8 +45,10 @@ ${CP} ${FILESDIR}/unix.js ${WRKSRC}/defaults/pref do-build: - ${SED} -e "s;@PREFIX@;${PREFIX};g" \ - ${FILESDIR}/${MOZILLA_SH} > ${WRKDIR}/mozilla + ${SED} -e "s^@PREFIX@^${PREFIX}^g" \ + -e "s^@LOCALENAME@^${LOCALENAME}^g" \ + -e "s^@LIBXPG4@^${LIBXPG4}^g" \ + ${FILESDIR}/mozilla.sh > ${WRKDIR}/mozilla do-install: (cd ${PREFIX}/lib/mozilla/chrome; \ diff -urN mozilla-jlp.orig/distinfo mozilla-jlp/distinfo --- mozilla-jlp.orig/distinfo Sat Sep 21 10:43:36 2002 +++ mozilla-jlp/distinfo Sat Nov 9 15:33:49 2002 @@ -1 +1 @@ -MD5 (mozilla1.0.1rc1-jajppack-kv0.10.xpi) = 2723cde02d4ea5f2c560a858215dcb2b +MD5 (mozilla1.1-jajppack-kv0.8.xpi) = 741b5ee203048b50853e68f0ec5e9395 diff -urN mozilla-jlp.orig/files/mozilla.noxpg4 mozilla-jlp/files/mozilla.noxpg4 --- mozilla-jlp.orig/files/mozilla.noxpg4 Sun Oct 29 23:19:38 2000 +++ mozilla-jlp/files/mozilla.noxpg4 Thu Jan 1 09:00:00 1970 @@ -1,6 +0,0 @@ -#!/bin/sh - -LANG=ja_JP.EUC; export LANG - -cd @PREFIX@/lib/mozilla -exec ./mozilla "$@" diff -urN mozilla-jlp.orig/files/mozilla.sh mozilla-jlp/files/mozilla.sh --- mozilla-jlp.orig/files/mozilla.sh Thu Jan 1 09:00:00 1970 +++ mozilla-jlp/files/mozilla.sh Sat Nov 9 16:18:08 2002 @@ -0,0 +1,7 @@ +#!/bin/sh + +LANG=@LOCALENAME@; export LANG +@LIBXPG4@ + +cd @PREFIX@/lib/mozilla +exec ./mozilla "$@" diff -urN mozilla-jlp.orig/files/mozilla.xpg4 mozilla-jlp/files/mozilla.xpg4 --- mozilla-jlp.orig/files/mozilla.xpg4 Sun Oct 29 23:19:38 2000 +++ mozilla-jlp/files/mozilla.xpg4 Thu Jan 1 09:00:00 1970 @@ -1,7 +0,0 @@ -#!/bin/sh - -LANG=ja_JP.EUC; export LANG -LD_PRELOAD=/usr/lib/libxpg4.so.2; export LD_PRELOAD - -cd @PREFIX@/lib/mozilla -exec ./mozilla "$@" diff -urN mozilla-jlp.orig/files/unix.js mozilla-jlp/files/unix.js --- mozilla-jlp.orig/files/unix.js Sat Sep 21 10:45:25 2002 +++ mozilla-jlp/files/unix.js Sat Nov 9 22:38:53 2002 @@ -176,7 +176,7 @@ // zh-TW -pref("font.default", "serif"); +pref("font.default", "sans-serif"); pref("font.size.variable.ar", 16); pref("font.size.fixed.ar", 12); @@ -334,7 +334,6 @@ /* Xprint print module prefs */ pref("print.xprint.font.force_outline_scaled_fonts", true); -pref("print.xprint.font.scale_bitmap_fonts_with_devscale", true); /* PostScript print module prefs */ pref("print.postscript.paper_size", "letter"); diff -urN mozilla-jlp.orig/pkg-descr mozilla-jlp/pkg-descr --- mozilla-jlp.orig/pkg-descr Sat Jun 2 10:36:29 2001 +++ mozilla-jlp/pkg-descr Sat Nov 9 16:06:00 2002 @@ -3,6 +3,7 @@ Mozilla Japanese Language Pack (JLP) Japanizes Mozilla GUI, which is provided by Kazu Yamamoto, Ryoichi Furukawa and MARUYAMA Tsukasa. +Latest JLPs maintained by Hidehiro Kozawa. WWW: http://www.mozilla.gr.jp/jlp/ >Release-Note: >Audit-Trail: >Unformatted: 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?200211131048.gADAmgMl000421>