diff options
Diffstat (limited to 'chinese/auto-cn-l10n/Makefile')
-rw-r--r-- | chinese/auto-cn-l10n/Makefile | 26 |
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 |