Date: Mon, 11 Jul 2005 09:54:39 +0800 (CST) From: chinsan <chinsan.tw@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/83239: [MAINTAINER UPDATE] chinese/firefox-zh_TW: remove unused section Message-ID: <20050711015439.C8102B6CA@chinsan.twbbs.org> Resent-Message-ID: <200507110200.j6B20Z9v010947@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 83239 >Category: ports >Synopsis: [MAINTAINER UPDATE] chinese/firefox-zh_TW: remove unused section >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Mon Jul 11 02:00:35 GMT 2005 >Closed-Date: >Last-Modified: >Originator: chinsan >Release: FreeBSD 5.4-RELEASE i386 >Organization: FreeBSD Taiwan >Environment: System: FreeBSD chinsan.twbbs.org 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: - removed some unused section in Makefile Thanks. :) >How-To-Repeat: >Fix: --- firefox-zh_TW.diff begins here --- diff -ruN firefox-zh_TW.orig/Makefile firefox-zh_TW/Makefile --- firefox-zh_TW.orig/Makefile Mon Jul 11 09:49:31 2005 +++ firefox-zh_TW/Makefile Mon Jul 11 09:50:23 2005 @@ -23,6 +23,7 @@ USE_X_PREFIX= yes USE_ZIP= yes +NO_BUILD= yes EXTRACT_BEFORE_ARGS= -qo FIREFOX= ${PORTNAME} @@ -34,15 +35,6 @@ PLIST_SUB= FIREFOX=${FIREFOX} .include <bsd.port.pre.mk> - -LOCALENAME= zh_TW.UTF-8 - -do-build: - ${SED} -e "s^%%PREFIX%%^${PREFIX}^g" \ - -e "s^%%LOCALBASE%%^${LOCALBASE}^g" \ - -e "s^%%LOCALENAME%%^${LOCALENAME}^g" \ - -e "s^%%FIREFOX%%^${FIREFOX}^g" \ - ${FILESDIR}/firefox.sh > ${WRKDIR}/${FIREFOX} do-install: echo "===> Backup setting files..." diff -ruN firefox-zh_TW.orig/files/firefox.sh firefox-zh_TW/files/firefox.sh --- firefox-zh_TW.orig/files/firefox.sh Mon Jul 11 09:49:31 2005 +++ firefox-zh_TW/files/firefox.sh Thu Jan 1 08:00:00 1970 @@ -1,31 +0,0 @@ -#!/bin/sh - -LANG=%%LOCALENAME%%; export LANG -#XMODIFIERS=@im=xcin; export XMODIFIERS -#LD_PRELOAD=%%LOCALBASE%%/lib/libflashplayer.so.1; export LD_PRELOAD - -FIREFOX_DIR="%%PREFIX%%/lib/%%FIREFOX%%" -FIREFOX_EXEC="firefox-bin" -LOCATION='new-tab' - -cd $FIREFOX_DIR || exit 1 - -case $1 in - -mail) - REMOTE_COMMAND="xfeDoCommand (openInbox)" - ;; - -*) - exec ./$FIREFOX_EXEC "$@" - ;; - *) - REMOTE_COMMAND="openURL($@, $LOCATION)" - ;; -esac - -# process found -./$FIREFOX_EXEC -remote "ping()" && -./$FIREFOX_EXEC -remote "$REMOTE_COMMAND" && exit 0 - -# no existing process -exec ./$FIREFOX_EXEC "$@" - --- firefox-zh_TW.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050711015439.C8102B6CA>