freebsd-ports/chinese/mozilla-tclp/Makefile
Jing-Tang Keith Jang 800ca3c748 Fix mozill-bin polling problems when initializing, due to an
incomplete locale setting.

Reported and fix tested by:
kliev, vanilla, keichii, sothat@zoonews.ee.ntu.edu.tw (Y.Chiu.=)
2001-03-11 05:27:34 +00:00

55 lines
1.6 KiB
Makefile

# New ports collection makefile for: zh-mozilla-tclp
# Date created: 07 March 2001
# Whom: Jing-Tang Keith Jang <keith@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= mozilla
PORTVERSION= 0.8
CATEGORIES= chinese www
MASTER_SITES= http://www.csie.ntu.edu.tw/~b7506051/mt4/langpack/
PKGNAMESUFFIX= -tclp
# Same as ftp://ftp.mozilla.org/pub/mozilla/l10n/lang/moz0.8/langzhtw.xpi.
# Use this to avoid checksum problems.
DISTNAME= 0.8r-0220-RELEASE-langzhtw
EXTRACT_SUFX= .xpi
MAINTAINER= keith@FreeBSD.org
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>
do-build:
${SED} -e "s;@PREFIX@;${PREFIX};g" \
${FILESDIR}/mozilla.in > ${WRKDIR}/mozilla
do-install:
(cd ${PREFIX}/lib/mozilla/chrome; \
${MV} all-locales.rdf all-locales.rdf.orig; \
${MV} user-locales.rdf user-locales.rdf.orig; \
${MV} installed-chrome.txt installed-chrome.txt.orig)
(cd ${PREFIX}/lib/mozilla/defaults/pref; \
${MV} unix.js unix.js.orig)
${MV} ${PREFIX}/bin/mozilla ${PREFIX}/bin/mozilla.orig
${INSTALL_SCRIPT} ${WRKDIR}/mozilla ${PREFIX}/bin
(cd ${PREFIX}/lib/mozilla/chrome; \
${CP} installed-chrome.txt.orig installed-chrome.txt; \
${CAT} ${FILESDIR}/installed-chrome.txt >> installed-chrome.txt)
${INSTALL_DATA} ${FILESDIR}/all-locales.rdf \
${PREFIX}/lib/mozilla/chrome;
${INSTALL_DATA} ${WRKSRC}/chrome/user-locales.rdf \
${PREFIX}/lib/mozilla/chrome;
${INSTALL_DATA} ${WRKSRC}/chrome/zh-TW.jar \
${PREFIX}/lib/mozilla/chrome;
${INSTALL_DATA} ${FILESDIR}/unix.js ${PREFIX}/lib/mozilla/defaults/pref
.include <bsd.port.post.mk>