2013-09-20 18:01:22 +02:00
|
|
|
# Created by: Yinghong Liu <relaxbsd@gmail.com>
|
2006-06-03 19:16:48 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= auto-cn-l10n
|
2007-06-01 11:31:29 +02:00
|
|
|
PORTVERSION= 1.1
|
2010-03-28 08:47:48 +02:00
|
|
|
PORTREVISION= 3
|
2006-06-03 19:16:48 +02:00
|
|
|
CATEGORIES= chinese
|
2011-10-07 01:20:24 +02:00
|
|
|
#MASTER_SITES= ftp://local-distfiles.freebsd.org.cn/pub/china-ports/hamigua/
|
2015-05-14 12:15:04 +02:00
|
|
|
MASTER_SITES= LOCAL/delphij
|
2006-06-03 19:16:48 +02:00
|
|
|
DISTNAME= zh-${PORTNAME}-${PORTVERSION}
|
|
|
|
|
2008-03-02 09:25:11 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2006-06-03 19:16:48 +02:00
|
|
|
COMMENT= The automatic localization for Simplified Chinese zh_CN.eucCN locale
|
|
|
|
|
|
|
|
NO_BUILD= yes
|
2017-10-31 15:51:53 +01:00
|
|
|
SUB_FILES= pkg-message
|
2007-06-01 11:31:29 +02:00
|
|
|
REINPLACE_ARGS= -i ""
|
2006-06-03 19:16:48 +02:00
|
|
|
|
2017-10-31 15:51:53 +01:00
|
|
|
OPTIONS_DEFINE= WQY FIREFLYTTF FCITX SCIM MINICHINPUT RELAXCONF
|
2012-06-29 14:42:04 +02:00
|
|
|
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
|
2006-06-03 19:16:48 +02:00
|
|
|
|
2016-04-01 15:29:15 +02:00
|
|
|
WQY_RUN_DEPENDS= ${LOCALBASE}/share/fonts/wqy/wenquanyi_10pt.pcf:x11-fonts/wqy
|
|
|
|
FIREFLYTTF_RUN_DEPENDS= ${LOCALBASE}/share/fonts/TrueType/fireflysung.ttf:chinese/fireflyttf
|
|
|
|
FCITX_RUN_DEPENDS= fcitx:chinese/fcitx
|
|
|
|
SCIM_RUN_DEPENDS= ${LOCALBASE}/share/scim/tables/Wubi.bin:chinese/scim-tables \
|
|
|
|
${LOCALBASE}/lib/scim-1.0/1.4.0/IMEngine/pinyin.so:chinese/scim-pinyin
|
2017-10-31 15:51:53 +01:00
|
|
|
MINICHINPUT_RUN_DEPENDS=chinput:chinese/miniChinput
|
2016-04-01 15:29:15 +02:00
|
|
|
RELAXCONF_RUN_DEPENDS= relaxconf:sysutils/relaxconf
|
2006-06-03 19:16:48 +02:00
|
|
|
|
2007-06-01 11:31:29 +02:00
|
|
|
post-patch:
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
@${REINPLACE_CMD} -e "s|%%LOCALBASE%%|${LOCALBASE}|g; \
|
2007-06-01 11:31:29 +02:00
|
|
|
s|%%LOCALBASE%%|${LOCALBASE}|g" ${WRKSRC}/dot.xselector ${WRKSRC}/dot.xinitrc
|
|
|
|
|
2006-06-03 19:16:48 +02:00
|
|
|
do-install:
|
2013-10-03 08:40:58 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/share/skel/zh_CN.eucCN
|
|
|
|
${CP} ${WRKSRC}/* ${STAGEDIR}${PREFIX}/share/skel/zh_CN.eucCN
|
2006-06-03 19:16:48 +02:00
|
|
|
|
2015-08-19 15:29:59 +02:00
|
|
|
.include <bsd.port.mk>
|