Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Dec 2002 10:42:11 +0800
From:      Hung-Te Lin <piaip@csie.ntu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/46048: ports/chinese/mozilla-tclp to 'universal', revision 1 fix
Message-ID:  <20021207104211.A16096@ntucst.csie.ntu.edu.tw>
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 %2B0800
References:  <20020313205519.A12077@ntucst.csie.ntu.edu.tw> <20021207015427.A14853@ntucst.csie.ntu.edu.tw>

next in thread | previous in thread | raw e-mail | index | archive | help

>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 <bsd.port.pre.mk>
 
@@ -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




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