Date: Tue, 8 Oct 2002 13:55:55 +0800 From: piaip <piaip@csie.ntu.edu.tw> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/43812: update port: chinese/mozilla-tclp from 1.0 to 1.0.1 Message-ID: <20021008135555.A2993@ntucst.csie.ntu.edu.tw>
next in thread | raw e-mail | index | archive | help
>Number: 43812 >Category: ports >Synopsis: chinese/mozilla-tclp from 1.0 to 1.0.1 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Oct 07 23:00:12 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Hung-Te Lin >Release: FreeBSD 4.4-RELEASE i386 >Organization: Mozilla L10N: Traditional Chinese >Environment: System: FreeBSD pita20.org.tw 4.4-RELEASE FreeBSD 4.4-RELEASE #5: Mon Oct 22 15:46:52 CST 2001 root@pita20.org.tw:/usr/src/sys/compile/pita20 i386 >Description: update port: chinese/mozilla-tclp from 1.0 to 1.0.1 >How-To-Repeat: >Fix: diff -Nur mozilla-tclp.orig/Makefile mozilla-tclp/Makefile --- mozilla-tclp.orig/Makefile Mon Oct 7 22:23:27 2002 +++ mozilla-tclp/Makefile Mon Oct 7 22:53:56 2002 @@ -7,16 +7,16 @@ # If this version is out-of-date, please visit # http://www.csie.ntu.edu.tw/~b7506051/mozilla/ # And just download and install there. +# Or, change the PORTVERSION below to feasible version and make makesum all PORTNAME= mozilla -PORTVERSION= 1.0 -LANGPACKDATE= 0607 +PORTVERSION= 1.0.1 CATEGORIES= chinese www MASTER_SITES= http://www.csie.ntu.edu.tw/~b7506051/mozilla/langpack/distfiles/ PKGNAMESUFFIX= -tclp # Same as ftp://ftp.mozilla.org/pub/mozilla/l10n/lang/$MOZVER/langzhtw.xpi. # Use this to avoid checksum problems. -DISTNAME= ${PORTNAME}-langzhtw-${PORTVERSION}-${LANGPACKDATE} +DISTNAME= ${PORTNAME}-langzhtw-${PORTVERSION} EXTRACT_SUFX= .xpi MAINTAINER= piaip@csie.ntu.edu.tw diff -Nur mozilla-tclp.orig/Makefile~ mozilla-tclp/Makefile~ --- mozilla-tclp.orig/Makefile~ Thu Jan 1 08:00:00 1970 +++ mozilla-tclp/Makefile~ Mon Oct 7 22:23:53 2002 @@ -0,0 +1,77 @@ +# New ports collection makefile for: zh-mozilla-tclp +# Date created: 07 March 2001 +# Whom: Jing-Tang Keith Jang <keith@FreeBSD.org> +# +# $FreeBSD: ports/chinese/mozilla-tclp/Makefile,v 1.13 2002/06/06 14:34:53 ijliao Exp $ +# +# If this version is out-of-date, please visit +# http://www.csie.ntu.edu.tw/~b7506051/mozilla/ +# And just download and install there. + +PORTNAME= mozilla +PORTVERSION= 1.0.1 +CATEGORIES= chinese www +MASTER_SITES= http://www.csie.ntu.edu.tw/~b7506051/mozilla/langpack/distfiles/ +PKGNAMESUFFIX= -tclp +# Same as ftp://ftp.mozilla.org/pub/mozilla/l10n/lang/$MOZVER/langzhtw.xpi. +# Use this to avoid checksum problems. +DISTNAME= ${PORTNAME}-langzhtw-${PORTVERSION} +EXTRACT_SUFX= .xpi + +MAINTAINER= piaip@csie.ntu.edu.tw + +BUILD_DEPENDS= ${X11BASE}/lib/mozilla/regxpcom:${PORTSDIR}/www/mozilla +RUN_DEPENDS= mozilla:${PORTSDIR}/www/mozilla + +WRKSRC= ${WRKDIR}/bin + +USE_X_PREFIX= yes +USE_ZIP= yes +EXTRACT_BEFORE_ARGS= -qo + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 400020 +MOZILLA_SH= mozilla.noxpg4 +.else +MOZILLA_SH= mozilla.xpg4 +.endif + +post-extract: + ${MKDIR} ${WRKSRC}/defaults/pref + ${CP} ${FILESDIR}/unix.js ${WRKSRC}/defaults/pref/. + ${CP} ${FILESDIR}/user.js ${WRKSRC}/defaults/profile/. + ${CP} ${FILESDIR}/user.js ${WRKSRC}/defaults/profile/TW/. + ${CHMOD} -R a+rX ${WRKSRC} + +do-build: + ${SED} -e "s;@PREFIX@;${PREFIX};g" \ + ${FILESDIR}/${MOZILLA_SH} > ${WRKDIR}/mozilla + +# The 'HOME=/tmp' was solving 1.0rc2 regxpcom bug + +do-install: + (cd ${PREFIX}/lib/mozilla; \ + ${SETENV} HOME=/tmp LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regxpcom; \ + ${SETENV} HOME=/tmp LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regchrome) + (cd ${PREFIX}/lib/mozilla/chrome; \ + ${MV} -f chrome.rdf chrome.rdf.orig; \ + ${MV} -f installed-chrome.txt installed-chrome.txt.orig) + (cd ${PREFIX}/lib/mozilla/defaults/pref; \ + ${MV} -f unix.js unix.js.orig) + (cd ${PREFIX}/lib/mozilla/searchplugins; \ + ${MV} -f google.gif google.gif.orig; \ + ${MV} -f google.src google.src.orig) + ${MV} -f ${PREFIX}/bin/mozilla ${PREFIX}/bin/mozilla.orig + ${INSTALL_SCRIPT} ${WRKDIR}/mozilla ${PREFIX}/bin + (cd ${WRKSRC}; ${TAR} -cf - chrome defaults searchplugins res) | \ + ${TAR} -xf - -C ${PREFIX}/lib/mozilla + (cd ${PREFIX}/lib/mozilla/chrome; \ + ${CP} installed-chrome.txt.orig installed-chrome.txt; \ + ${CAT} ${FILESDIR}/installed-chrome.txt >> installed-chrome.txt) + (cd ${PREFIX}/lib/mozilla; \ + ${SETENV} HOME=/tmp LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regxpcom; \ + ${SETENV} HOME=/tmp LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regchrome) + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.post.mk> diff -Nur mozilla-tclp.orig/distinfo mozilla-tclp/distinfo --- mozilla-tclp.orig/distinfo Mon Oct 7 22:23:27 2002 +++ mozilla-tclp/distinfo Mon Oct 7 22:26:57 2002 @@ -1 +1 @@ -MD5 (mozilla-langzhtw-1.0-0607.xpi) = d0ce14b60fa524ad72f709f7e5be1493 +MD5 (mozilla-langzhtw-1.0.1.xpi) = bcfb9ff05208a032416ca3f99334f6ac diff -Nur mozilla-tclp.orig/pkg-descr mozilla-tclp/pkg-descr --- mozilla-tclp.orig/pkg-descr Mon Oct 7 22:23:27 2002 +++ mozilla-tclp/pkg-descr Mon Oct 7 22:52:29 2002 @@ -2,6 +2,6 @@ performance and portability. Mozilla Traditional Chinese Language Pack provides an L10N environment -for BIG5 users. It is written by Hung-Teh Lin <piaip@csie.ntu.edu.tw>. +for BIG5 users. It is written by Hung-Te Lin <piaip@csie.ntu.edu.tw>. WWW: http://www.csie.ntu.edu.tw/~b7506051/mozilla/ >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?20021008135555.A2993>