aboutsummaryrefslogtreecommitdiffstats
path: root/www/firefox/Makefile
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/Makefile
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/Makefile')
-rw-r--r--www/firefox/Makefile12
1 files changed, 11 insertions, 1 deletions
diff --git a/www/firefox/Makefile b/www/firefox/Makefile
index 05fb6c5c736a..e4a0fce4a4cf 100644
--- a/www/firefox/Makefile
+++ b/www/firefox/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