summaryrefslogtreecommitdiff
path: root/inputmethod/anthy/options.mk
diff options
context:
space:
mode:
Diffstat (limited to 'inputmethod/anthy/options.mk')
-rw-r--r--inputmethod/anthy/options.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/inputmethod/anthy/options.mk b/inputmethod/anthy/options.mk
new file mode 100644
index 00000000000..29c526a1a80
--- /dev/null
+++ b/inputmethod/anthy/options.mk
@@ -0,0 +1,22 @@
+# $NetBSD: options.mk,v 1.1 2007/01/20 17:11:52 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.anthy
+PKG_SUPPORTED_OPTIONS= anthy-2ch-dict anthy-okinawa-dict
+PKG_OPTIONS_LEGACY_OPTS+= 2ch_dict:anthy-2ch-dict
+PKG_OPTIONS_LEGACY_OPTS+= okinawa_dict:anthy-okinawa-dict
+
+.include "../../mk/bsd.options.mk"
+
+###
+### Optional dictionary support
+###
+.if !empty(PKG_OPTIONS:Manthy-2ch-dict)
+DISTFILES+= 2ch.t
+SITES.2ch.t+= http://omaemona.sourceforge.net/packages/Zisyo/
+.endif
+
+.if !empty(PKG_OPTIONS:Manthy-okinawa-dict)
+OKIDIC_VERSION= okinawa-20060917
+DISTFILES+= ${OKIDIC_VERSION}.t
+SITES.${OKIDIC_VERSION}.t+= http://www.ofug.net/~yamajun/files/
+.endif