aboutsummaryrefslogtreecommitdiffstats
path: root/www/firefox-esr
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2005-09-02 13:00:03 +0800
committermarcus <marcus@FreeBSD.org>2005-09-02 13:00:03 +0800
commit3af06efa182421faaee3cbab41d3c38f8c5942fa (patch)
treeb5e825648293f1fda86389a67f7e770c4ea67b6f /www/firefox-esr
parent1a845b898e1e9da426f1fcc6fb511967b9fc1565 (diff)
downloadfreebsd-ports-gnome-3af06efa182421faaee3cbab41d3c38f8c5942fa.tar.gz
freebsd-ports-gnome-3af06efa182421faaee3cbab41d3c38f8c5942fa.tar.zst
freebsd-ports-gnome-3af06efa182421faaee3cbab41d3c38f8c5942fa.zip
Add support for CJK font family names. This makes for a better browsing
experience for CJK users. PR: 84378 Submitted by: chinsan <chinsan.tw@gmail.com>
Diffstat (limited to 'www/firefox-esr')
-rw-r--r--www/firefox-esr/Makefile12
-rw-r--r--www/firefox-esr/distinfo2
2 files changed, 13 insertions, 1 deletions
diff --git a/www/firefox-esr/Makefile b/www/firefox-esr/Makefile
index 05fb6c5c736a..e4a0fce4a4cf 100644
--- a/www/firefox-esr/Makefile
+++ b/www/firefox-esr/Makefile
@@ -79,10 +79,20 @@ OPTIONS= DEBUG "Build a debugging image" off \
OPTIMIZED_CFLAGS "Enable some additional optimizations" off \
XFT "Enable support for anti-aliased fonts" on \
SMB "Enable smb:// URI support using gnomevfs" off \
- NEWTAB "Open external links in a new tab" on
+ NEWTAB "Open external links in a new tab" on \
+ CJK "Enable CJK font family support" off
.include <bsd.port.pre.mk>
+# Enable CJK Font Familyname support
+.if defined(WITH_CJK)
+PATCH_SITES+= http://bbs.ilc.edu.tw/~chinsan/ \
+ http://bsdchat.com/dist/firefly-cjk-patchset/ \
+ ftp://local-distfiles.freebsd.org.cn/pub/china-ports/hamigua/
+PATCHFILES+= mozilla-1.7.10-cjkfamilyname-20050731.patch.gz
+PATCH_DIST_STRIP+= -p1
+.endif
+
.if defined(WITH_DEBUG)
WITH_LOGGING= yes
CONFIGURE_ENV+= WITH_DEBUG=yes
diff --git a/www/firefox-esr/distinfo b/www/firefox-esr/distinfo
index aa5802306bd5..249f095bc045 100644
--- a/www/firefox-esr/distinfo
+++ b/www/firefox-esr/distinfo
@@ -1,2 +1,4 @@
MD5 (firefox-1.0.6-source.tar.bz2) = 7b4c1d10d478dcb4c52fbbe3e41745d9
SIZE (firefox-1.0.6-source.tar.bz2) = 32782840
+MD5 (mozilla-1.7.10-cjkfamilyname-20050731.patch.gz) = f449044d3128950ea6b87cdd5ebe4840
+SIZE (mozilla-1.7.10-cjkfamilyname-20050731.patch.gz) = 1928