mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-30 21:49:25 +00:00
881204494a
Submitted by: Jing-Tang Keith Jang <keith@sinica.edu.tw> Reviewed by: Michael C. Wu <keichii@peorth.iteration.net> Active zh-netscape47-communicator. This port provides a Big5 localized Netscape, including menus, toolbars, error messages and many others. It also contains a libX11 fix, which allows Netscape to show Big5 buttons in html documents. The patches are mainly contributed by thhsieh@linux.org.tw & hcchu@r350.ee.ntu.edu.tw. The localized Netscape.Big5 is translated by Antony Shen <u8618806@cc.nctu.edu.tw>, with some modifications.
19 lines
503 B
Bash
19 lines
503 B
Bash
#!/bin/sh
|
|
CLASSDIR=@NDIR@/java/classes
|
|
XLOCALEDIR=@X11BASE@/lib/X11/locale/zh_TW.Big5
|
|
|
|
if [ "$2" = "POST-INSTALL" ]; then
|
|
exit 0;
|
|
fi
|
|
|
|
#
|
|
# Backup font.properties.zh_GB2312, font.properties.zh_TW_Big5,
|
|
# and XLC_LOCALE.
|
|
#
|
|
if [ "$2" = "PRE-INSTALL" ]; then
|
|
cp -f ${CLASSDIR}/font.properties.zh_GB2312 ${CLASSDIR}/font.properties.zh_GB2312.orig
|
|
cp -f ${CLASSDIR}/font.properties.zh_TW_Big5 ${CLASSDIR}/font.properties.zh_TW_Big5.orig
|
|
cp -f ${XLOCALEDIR}/XLC_LOCALE ${XLOCALEDIR}/XLC_LOCALE.orig
|
|
fi
|
|
|