aboutsummaryrefslogtreecommitdiff
path: root/chinese/auto-cn-l10n
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-06-29 12:42:04 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-06-29 12:42:04 +0000
commit222461c302e52a3848555e999ecc7a10f98b278e (patch)
tree4fad0f8d9c328a570a49371daf5f0078d7075272 /chinese/auto-cn-l10n
parentb6155c63444b79580e9bd13727472581d1ed66f1 (diff)
downloadports-222461c302e52a3848555e999ecc7a10f98b278e.tar.gz
ports-222461c302e52a3848555e999ecc7a10f98b278e.zip
Notes
Diffstat (limited to 'chinese/auto-cn-l10n')
-rw-r--r--chinese/auto-cn-l10n/Makefile26
1 files changed, 14 insertions, 12 deletions
diff --git a/chinese/auto-cn-l10n/Makefile b/chinese/auto-cn-l10n/Makefile
index ff31c99dd67c..01fb4f6bc063 100644
--- a/chinese/auto-cn-l10n/Makefile
+++ b/chinese/auto-cn-l10n/Makefile
@@ -19,37 +19,39 @@ NO_BUILD= yes
PKGMESSAGE= ${WRKDIR}/pkg-message
REINPLACE_ARGS= -i ""
-OPTIONS= WQY "WenQuanYi Bitmap Song Font" on \
- FIREFLYTTF "Firefly TrueType Font" off \
- FCITX "GBK Chinese XIM server" off \
- SCIM "Smart Common Input Method platform" on \
- MINICHINPUT "A tiny version of Chinput" off \
- RELAXCONF "A set of utilities for FreeBSD LiveCD" on
+OPTIONS_DEFINE= WQY FIREFLYTTF FCITX SCIM MINICHINPUT RELAXCONF
+OPTIONS_DEFAULT= WQY SCIM RELAXCONF
+WQY_DESC= WenQuanYi Bitmap Song Font
+FIREFLYTTF_DESC= Firefly TrueType Font
+FCITX_DESC= GBK Chinese XIM server
+SCIM_DESC= Smart Common Input Method platform
+MINICHINPUT_DESC= A tiny version of Chinput
+RELAXCONF_DESC= A set of utilities for FreeBSD LiveCD
.include <bsd.port.pre.mk>
-.if !defined(WITHOUT_WQY)
+.if ${PORT_OPTIONS:MWQY}
RUN_DEPENDS+= ${LOCALBASE}/lib/X11/fonts/wqy/wenquanyi_10pt.pcf:${PORTSDIR}/x11-fonts/wqy
.endif
-.if defined(WITH_FIREFLYTTF)
+.if ${PORT_OPTIONS:MFIREFLYTTF}
RUN_DEPENDS+= ${LOCALBASE}/share/fonts/TrueType/fireflysung.ttf:${PORTSDIR}/chinese/fireflyttf
.endif
-.if defined(WITH_FCITX)
+.if ${PORT_OPTIONS:MFCITX}
RUN_DEPENDS+= fcitx:${PORTSDIR}/chinese/fcitx
.endif
-.if !defined(WITHOUT_SCIM)
+.if ${PORT_OPTIONS:MSCIM}
RUN_DEPENDS+= ${LOCALBASE}/share/scim/tables/Wubi.bin:${PORTSDIR}/chinese/scim-tables
RUN_DEPENDS+= ${LOCALBASE}/lib/scim-1.0/1.4.0/IMEngine/pinyin.so:${PORTSDIR}/chinese/scim-pinyin
.endif
-.if defined(WITH_MINICHINPUT)
+.if ${PORT_OPTIONS:MMINICHINPUT}
RUN_DEPENDS+= chinput:${PORTSDIR}/chinese/miniChinput
.endif
-.if !defined(WITHOUT_RELAXCONF)
+.if ${PORT_OPTIONS:MRELAXCONF}
RUN_DEPENDS+= relaxconf:${PORTSDIR}/sysutils/relaxconf
.endif