summaryrefslogtreecommitdiff
path: root/www/firefox-esr/Makefile
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2005-09-02 05:00:03 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2005-09-02 05:00:03 +0000
commitfde840579a22900fdaca0a73a7dfa2767c3b0715 (patch)
tree486fb6834b90779a8a75e7c587b4470ea6470a14 /www/firefox-esr/Makefile
parentIt has been reported that the Perl plug-in works fine on amd64 now, so (diff)
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>
Notes
Notes: svn path=/head/; revision=141758
Diffstat (limited to 'www/firefox-esr/Makefile')
-rw-r--r--www/firefox-esr/Makefile12
1 files changed, 11 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