From owner-freebsd-ports Fri Dec 6 18:51: 3 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B0EDC37B401 for ; Fri, 6 Dec 2002 18:51:00 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 382D843ECD for ; Fri, 6 Dec 2002 18:50:49 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id gB72oSx3017597 for ; Fri, 6 Dec 2002 18:50:28 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id gB72oStm017596; Fri, 6 Dec 2002 18:50:28 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 404F337B401 for ; Fri, 6 Dec 2002 18:43:00 -0800 (PST) Received: from ms.csie.ntu.edu.tw (ms.csie.ntu.edu.tw [140.112.30.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4169143ECD for ; Fri, 6 Dec 2002 18:42:48 -0800 (PST) (envelope-from r91034@csie.ntu.edu.tw) Received: from [140.112.30.24] (helo=ntucst.csie.ntu.edu.tw ident=r91034) by ms.csie.ntu.edu.tw with esmtp (Exim 3.12 #1 (Debian)) id 18KUv2-00047h-00 for ; Sat, 07 Dec 2002 10:42:16 +0800 Received: (from r91034@localhost) by ntucst.csie.ntu.edu.tw (8.9.3/8.9.3) id KAA16122 for FreeBSD-gnats-submit@freebsd.org; Sat, 7 Dec 2002 10:42:11 +0800 (CST) Message-Id: <20021207104211.A16096@ntucst.csie.ntu.edu.tw> Date: Sat, 7 Dec 2002 10:42:11 +0800 From: Hung-Te Lin To: FreeBSD-gnats-submit@FreeBSD.org In-Reply-To: <20021207015427.A14853@ntucst.csie.ntu.edu.tw>; from piaip@csie.ntu.edu.tw on Sat, Dec 07, 2002 at 01:54:27AM +0800 References: <20020313205519.A12077@ntucst.csie.ntu.edu.tw> <20021207015427.A14853@ntucst.csie.ntu.edu.tw> Subject: ports/46048: ports/chinese/mozilla-tclp to 'universal', revision 1 fix 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 >Number: 46048 >Category: ports >Synopsis: chinese/mozilla-tclp from 'universal' revision 1 small fix >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: Fri Dec 06 18:50:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Hung-Te Lin >Release: FreeBSD 4.7-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, universal revision 1 to add some comments and use 'PREFIX' instead of fixed 'X11BASE'. These changes do not need revision to advance. >How-To-Repeat: >Fix: diff -Nurbw mozilla-tclp.old/Makefile mozilla-tclp/Makefile --- mozilla-tclp.old/Makefile Sat Dec 7 10:27:13 2002 +++ mozilla-tclp/Makefile Sat Dec 7 10:23:38 2002 @@ -35,8 +35,8 @@ MAINTAINER= piaip@csie.ntu.edu.tw -FETCH_DEPENDS= ${X11BASE}/lib/mozilla/mozilla:${PORTSDIR}/www/mozilla -BUILD_DEPENDS= ${X11BASE}/lib/mozilla/regxpcom:${PORTSDIR}/www/mozilla +FETCH_DEPENDS= ${PREFIX}/lib/mozilla/mozilla:${PORTSDIR}/www/mozilla +BUILD_DEPENDS= ${PREFIX}/lib/mozilla/regxpcom:${PORTSDIR}/www/mozilla RUN_DEPENDS= mozilla:${PORTSDIR}/www/mozilla WRKSRC= ${WRKDIR}/bin @@ -45,7 +45,7 @@ USE_ZIP= yes EXTRACT_BEFORE_ARGS= -qo -MOZRV= `${SH} ${FILESDIR}/mozver ${SED} ${X11BASE}/lib/mozilla/mozilla` +MOZRV= `${SH} ${FILESDIR}/mozver ${SED} ${PREFIX}/lib/mozilla/mozilla` .include @@ -90,6 +90,7 @@ (cd ${PREFIX}/lib/mozilla; \ ${SETENV} HOME=/tmp LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regxpcom; \ ${SETENV} HOME=/tmp LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regchrome) + # backing up (cd ${PREFIX}/lib/mozilla/chrome; \ ${MV} -f chrome.rdf chrome.rdf.orig; \ ${MV} -f installed-chrome.txt installed-chrome.txt.orig) @@ -99,12 +100,14 @@ ${MV} -f google.gif google.gif.orig; \ ${MV} -f google.src google.src.orig) ${MV} -f ${PREFIX}/bin/mozilla ${PREFIX}/bin/mozilla.orig + # start installation ${INSTALL_SCRIPT} ${WRKDIR}/mozilla ${PREFIX}/bin (cd ${WRKSRC}; ${TAR} -cf - chrome defaults searchplugins) | \ ${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) + # finalize chrome registeration (cd ${PREFIX}/lib/mozilla; \ ${SETENV} HOME=/tmp LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regxpcom; \ ${SETENV} HOME=/tmp LD_LIBRARY_PATH=. MOZILLA_FIVE_HOME=. ./regchrome) >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message