aboutsummaryrefslogtreecommitdiff
path: root/www/flock
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/flock
parentcfcef537f393742219676c8bcb971b854b2f1378 (diff)
downloadports-fde840579a22900fdaca0a73a7dfa2767c3b0715.tar.gz
ports-fde840579a22900fdaca0a73a7dfa2767c3b0715.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>
Notes
Notes: svn path=/head/; revision=141758
Diffstat (limited to 'www/flock')
-rw-r--r--www/flock/Makefile12
-rw-r--r--www/flock/distinfo2
2 files changed, 13 insertions, 1 deletions
diff --git a/www/flock/Makefile b/www/flock/Makefile
index 05fb6c5c736a..e4a0fce4a4cf 100644
--- a/www/flock/Makefile
+++ b/www/flock/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/flock/distinfo b/www/flock/distinfo
index aa5802306bd5..249f095bc045 100644
--- a/www/flock/distinfo
+++ b/www/flock/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