head	1.54;
access;
symbols
	RELEASE_8_3_0:1.41
	RELEASE_9_0_0:1.40
	RELEASE_7_4_0:1.37
	RELEASE_8_2_0:1.37
	RELEASE_6_EOL:1.36
	RELEASE_8_1_0:1.33
	RELEASE_7_3_0:1.33
	RELEASE_8_0_0:1.32
	RELEASE_7_2_0:1.32
	RELEASE_7_1_0:1.31
	RELEASE_6_4_0:1.31
	RELEASE_5_EOL:1.31
	RELEASE_7_0_0:1.29
	RELEASE_6_3_0:1.29
	PRE_XORG_7:1.28
	RELEASE_4_EOL:1.28
	RELEASE_6_2_0:1.26
	RELEASE_6_1_0:1.19
	RELEASE_5_5_0:1.19
	RELEASE_6_0_0:1.18
	RELEASE_5_4_0:1.17
	RELEASE_4_11_0:1.16
	RELEASE_5_3_0:1.11
	RELEASE_4_10_0:1.11
	RELEASE_5_2_1:1.6
	RELEASE_5_2_0:1.6
	RELEASE_4_9_0:1.4
	RELEASE_5_1_0:1.4;
locks; strict;
comment	@# @;


1.54
date	2013.03.22.23.30.04;	author svnexp;	state Exp;
branches;
next	1.53;

1.53
date	2012.12.18.23.19.31;	author svnexp;	state Exp;
branches;
next	1.52;

1.52
date	2012.11.25.13.28.11;	author svnexp;	state Exp;
branches;
next	1.51;

1.51
date	2012.11.17.05.54.56;	author svnexp;	state Exp;
branches;
next	1.50;

1.50
date	2012.10.15.19.13.59;	author delphij;	state Exp;
branches;
next	1.49;

1.49
date	2012.09.19.07.01.24;	author wen;	state Exp;
branches;
next	1.48;

1.48
date	2012.07.25.18.10.40;	author scheidell;	state Exp;
branches;
next	1.47;

1.47
date	2012.06.10.13.00.35;	author scheidell;	state Exp;
branches;
next	1.46;

1.46
date	2012.06.06.06.43.20;	author miwi;	state Exp;
branches;
next	1.45;

1.45
date	2012.06.03.22.37.51;	author bapt;	state Exp;
branches;
next	1.44;

1.44
date	2012.06.01.05.16.37;	author dinoex;	state Exp;
branches;
next	1.43;

1.43
date	2012.05.25.07.28.34;	author wen;	state Exp;
branches;
next	1.42;

1.42
date	2012.04.30.22.57.37;	author scheidell;	state Exp;
branches;
next	1.41;

1.41
date	2012.02.07.20.57.07;	author delphij;	state Exp;
branches;
next	1.40;

1.40
date	2011.11.11.06.36.12;	author clsung;	state Exp;
branches;
next	1.39;

1.39
date	2011.11.11.05.18.26;	author clsung;	state Exp;
branches;
next	1.38;

1.38
date	2011.06.07.00.25.29;	author danfe;	state Exp;
branches;
next	1.37;

1.37
date	2011.02.03.17.59.28;	author pav;	state Exp;
branches;
next	1.36;

1.36
date	2010.11.29.18.39.00;	author pav;	state Exp;
branches;
next	1.35;

1.35
date	2010.08.03.02.11.50;	author danfe;	state Exp;
branches;
next	1.34;

1.34
date	2010.08.03.01.41.38;	author danfe;	state Exp;
branches;
next	1.33;

1.33
date	2009.10.18.06.41.22;	author lwhsu;	state Exp;
branches;
next	1.32;

1.32
date	2008.12.18.02.23.59;	author linimon;	state Exp;
branches;
next	1.31;

1.31
date	2008.03.23.16.44.03;	author miwi;	state Exp;
branches;
next	1.30;

1.30
date	2007.12.25.09.14.42;	author dryice;	state Exp;
branches;
next	1.29;

1.29
date	2007.05.19.20.00.41;	author flz;	state Exp;
branches;
next	1.28;

1.28
date	2007.01.18.02.10.03;	author dryice;	state Exp;
branches;
next	1.27;

1.27
date	2006.11.05.10.10.16;	author rafan;	state Exp;
branches;
next	1.26;

1.26
date	2006.10.08.00.28.27;	author rafan;	state Exp;
branches;
next	1.25;

1.25
date	2006.09.03.00.11.42;	author rafan;	state Exp;
branches;
next	1.24;

1.24
date	2006.08.23.06.39.51;	author clsung;	state Exp;
branches;
next	1.23;

1.23
date	2006.06.28.05.32.53;	author clsung;	state Exp;
branches;
next	1.22;

1.22
date	2006.06.15.09.51.38;	author vanilla;	state Exp;
branches;
next	1.21;

1.21
date	2006.05.03.23.38.31;	author edwin;	state Exp;
branches;
next	1.20;

1.20
date	2006.03.15.18.21.22;	author garga;	state Exp;
branches;
next	1.19;

1.19
date	2006.01.11.04.01.45;	author edwin;	state Exp;
branches;
next	1.18;

1.18
date	2005.04.06.04.23.28;	author clsung;	state Exp;
branches;
next	1.17;

1.17
date	2005.03.02.03.21.58;	author clsung;	state Exp;
branches;
next	1.16;

1.16
date	2005.01.03.10.20.06;	author erwin;	state Exp;
branches;
next	1.15;

1.15
date	2005.01.02.01.25.28;	author kris;	state Exp;
branches;
next	1.14;

1.14
date	2004.12.15.06.30.23;	author clive;	state Exp;
branches;
next	1.13;

1.13
date	2004.10.27.15.25.11;	author vanilla;	state Exp;
branches;
next	1.12;

1.12
date	2004.10.15.08.08.01;	author clive;	state Exp;
branches;
next	1.11;

1.11
date	2004.03.16.22.54.01;	author marcus;	state Exp;
branches;
next	1.10;

1.10
date	2004.02.16.18.35.10;	author vanilla;	state Exp;
branches;
next	1.9;

1.9
date	2004.01.23.16.54.16;	author pav;	state Exp;
branches;
next	1.8;

1.8
date	2004.01.09.20.43.27;	author pav;	state Exp;
branches;
next	1.7;

1.7
date	2004.01.02.14.30.34;	author pav;	state Exp;
branches;
next	1.6;

1.6
date	2003.11.21.03.09.41;	author linimon;	state Exp;
branches;
next	1.5;

1.5
date	2003.09.24.09.12.33;	author edwin;	state Exp;
branches;
next	1.4;

1.4
date	2003.04.18.06.06.22;	author edwin;	state Exp;
branches;
next	1.3;

1.3
date	2003.04.13.10.56.08;	author edwin;	state Exp;
branches;
next	1.2;

1.2
date	2003.04.05.14.42.55;	author leeym;	state Exp;
branches;
next	1.1;

1.1
date	2003.03.26.10.29.08;	author kevlo;	state Exp;
branches;
next	;


desc
@@


1.54
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/314960
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Shen Chuan-Hsing <statue@@freebsd.sinica.edu.tw>
# $FreeBSD: head/chinese/fcitx/Makefile 314960 2013-03-22 20:06:14Z makc $

PORTNAME=	fcitx
PORTVERSION=	4.2.6.1
CATEGORIES=	chinese x11
PORTREVISION=	1
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
		pinyin.tar.gz table.tar.gz en_dict-${_DICT_VER}.tar.gz
DIST_SUBDIR=	${PORTNAME}
EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}

MAINTAINER=	lichray@@gmail.com
COMMENT=	A Flexible Input Method Framework

LICENSE=	GPLv2

BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:${PORTSDIR}/misc/iso-codes
LIB_DEPENDS=	execinfo:${PORTSDIR}/devel/libexecinfo \
		dbus-1:${PORTSDIR}/devel/dbus \
		icuuc:${PORTSDIR}/devel/icu
RUN_DEPENDS=	xdg-open:${PORTSDIR}/devel/xdg-utils

MAN1=		createPYMB.1 fcitx-remote.1 fcitx.1 mb2org.1 mb2txt.1 \
		readPYBase.1 readPYMB.1 scel2org.1 txt2mb.1
SUB_FILES=	pkg-message
SUB_LIST+=	PORTSDIR=${PORTSDIR}

CONFLICTS=	zh-scim-fcitx-3.*

USE_XZ=		yes
USE_GNOME=	pango intltool libxml2 gnomehack
USE_GETTEXT=	yes
USE_XORG=	x11 xext xkbfile
USE_LDCONFIG=	yes
USES=		cmake
INSTALLS_ICONS=	yes

OPTIONS_DEFINE=	GTK2 GTK3 QT4 OPENCC TPUNC
OPTIONS_DEFAULT=GTK2

GTK2_DESC=	Enable Gtk2 IM module
GTK3_DESC=	Enable Gtk3 IM module
QT4_DESC=	Enable Qt4 IM module
OPENCC_DESC=	Enable OpenCC for Chinese Transform
TPUNC_DESC=	Use traditional quotation marks

.include <bsd.port.options.mk>

CMAKE_ARGS+=	-DENABLE_XDGAUTOSTART=OFF -DFORCE_ENCHANT=ON

.if ${PORT_OPTIONS:MGTK2}
USE_GNOME+=	gtk20
PLIST_SUB+=	GTK2=""
SUB_LIST+=	GTK2_IM=fcitx
.else
CMAKE_ARGS+=	-DENABLE_GTK2_IM_MODULE=OFF
PLIST_SUB+=	GTK2="@@comment "
SUB_LIST+=	GTK2_IM=xim
.endif

.if ${PORT_OPTIONS:MGTK3}
USE_GNOME+=	gtk30
CMAKE_ARGS+=	-DENABLE_GTK3_IM_MODULE=ON
PLIST_SUB+=	GTK3=""
SUB_LIST+=	GTK3_IM=fcitx
.else
PLIST_SUB+=	GTK3="@@comment "
SUB_LIST+=	GTK3_IM=xim
.endif

.if ${PORT_OPTIONS:MQT4}
USE_QT4=	qmake_build moc_build rcc_build uic_build dbus gui inputmethods
CMAKE_ARGS+=	-DENABLE_QT_IM_MODULE=ON
PLIST_SUB+=	QT4=""
.else
PLIST_SUB+=	QT4="@@comment "
.endif

.if ${PORT_OPTIONS:MOPENCC}
LIB_DEPENDS+=	opencc:${PORTSDIR}/chinese/opencc
.else
CMAKE_ARGS+=	-DENABLE_OPENCC=OFF
.endif

.if ${PORT_OPTIONS:MTPUNC}
EXTRA_PATCHES+=	${FILESDIR}/tpunc-data_punc.mb.zh_CN
.endif

.if defined(WITH_DEBUG)
CMAKE_ARGS+=	-DENABLE_DEBUG=ON
.endif

.if defined(NOPORTDOCS)
EXTRA_PATCHES+=	${FILESDIR}/nodocs-doc_CMakeLists.txt
.endif

.if defined(NOPORTDATA)
IGNORE=		code tables are required, undefine NOPORTDATA
.endif

_DICT_VER=	20120815

post-patch:
	@@${CP} ${_DISTDIR}/pinyin.tar.gz ${WRKSRC}/data
	@@${CP} ${_DISTDIR}/table.tar.gz ${WRKSRC}/data/table
	@@${CP} ${_DISTDIR}/en_dict-${_DICT_VER}.tar.gz ${WRKSRC}/data
.if ${OSVERSION} < 800067
# getline() is GNU extension which FreeBSD only recently adopted
EXTRA_PATCHES+=	${FILESDIR}/getline-src_lib_fcitx-utils_utils.c \
		${FILESDIR}/getline-src_lib_fcitx-utils_utils.h
.endif

post-install:
.if ${PORT_OPTIONS:MGTK2}
	-gtk-query-immodules-2.0 > ${LOCALBASE}/etc/gtk-2.0/gtk.immodules
.endif
.if ${PORT_OPTIONS:MGTK3}
	-gtk-query-immodules-3.0 > ${LOCALBASE}/lib/gtk-3.0/${GTK3_VERSION}/immodules.cache
.endif
	@@${ECHO_CMD}
	@@${CAT} ${PKGMESSAGE}
	@@${ECHO_CMD}

.include <bsd.port.mk>
@


1.53
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/309206
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r309206 | bapt | 2012-12-18 23:09:07 +0000 (Tue, 18 Dec 2012) | 2 lines
## SVN ##
## SVN ## Chase icu, graphite2 and libexttextcat bump
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: head/chinese/fcitx/Makefile 309206 2012-12-18 23:09:07Z bapt $
d37 1
a37 1
USE_CMAKE=	yes
@


1.52
log
@## SVN ##
## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/ 307743
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r307743 | wen | 2012-11-25 13:25:05 +0000 (Sun, 25 Nov 2012) | 8 lines
## SVN ##
## SVN ## - Fix build when QT4 option enable
## SVN ##
## SVN ## PR:		173887
## SVN ## Submitted by:	Hon-Yu Lawrence Cheung <cheunghonyu@@gmail.com>
## SVN ## Approved by:	lichray@@gmail.com (maintainer, via email)
## SVN ##
## SVN ## Feature safe:	yes
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d2 1
a2 1
# $FreeBSD: head/chinese/fcitx/Makefile 307743 2012-11-25 13:25:05Z wen $
d7 1
@


1.51
log
@Switch exporter over
@
text
@d2 1
a2 1
# $FreeBSD: head/chinese/fcitx/Makefile 305931 2012-10-15 19:13:59Z delphij $
d73 1
a73 2
USE_QT=	yes
USE_QT4=	gui
@


1.50
log
@SVN rev 305931 on 2012-10-15 19:13:59Z by delphij

Update fcitx to newer versions:

fcitx			4.2.6 -> 4.2.6.1
fcitx-configtool	4.2.5 -> 4.2.5.1
fcitx-libpinyin		0.2.0 -> 0.2.1
fcitx-googlepinyin	0.1.5 -> 0.1.6

Submitted by:	maintainer
PR:		ports/172727, ports/172093
Feature safe:	yes
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.49
log
@SVN rev 304478 on 2012-09-19 07:01:24Z by wen

- Update to 4.2.6

PR:		171608
Submitted by:	Zhihao Yuan <lichray@@gmail.com> (maintainer)
@
text
@d1 1
a1 4
# New ports collection makefile for:	Free Chinese Input Toy for X
# Date created:				26 March 2003
# Whom:			Shen Chuan-Hsing <statue@@freebsd.sinica.edu.tw>
#
a2 1
#
d5 1
a5 1
PORTVERSION=	4.2.6
d40 1
@


1.48
log
@SVN rev 301526 on 2012-07-25 18:10:40Z by scheidell

- Update fcitx and addons to 4.2.5
- Remove textproc/fcitx-keyboard

PR:		ports/170010
Submitted by:	Zhihao Yuan <lichray@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	4.2.5
d12 2
a13 1
DISTFILES=	${DISTNAME}${EXTRACT_SUFX} pinyin.tar.gz table.tar.gz
a24 1
		enchant:${PORTSDIR}/textproc/enchant \
d53 2
d106 2
d111 1
@


1.47
log
@- Upstream patch to fix libkvm fd leaking
- Bump PORTREVISION

PR:		ports/168907
Submitted by:	Zhihao Yuan <lichray@@gmail.com> (maintainer)
Obtained from:	http://paste.opensuse.org/23129601
@
text
@d9 1
a9 2
PORTVERSION=	4.2.3
PORTREVISION=	3
d21 5
a25 2
LIB_DEPENDS=	execinfo.1:${PORTSDIR}/devel/libexecinfo \
		dbus-1.3:${PORTSDIR}/devel/dbus
d33 2
d36 1
a36 1
USE_GNOME=	pango intltool gnomehack
d38 1
a38 1
USE_XORG=	x11 xext
d83 1
a83 1
LIB_DEPENDS+=	opencc.1:${PORTSDIR}/chinese/opencc
@


1.46
log
@- Convert USE_QT_VER=4 and QT_COMPONETS to USE_QT4

Review by:	bapt, David Naylor (kde team)
@
text
@d10 1
a10 1
PORTREVISION=	2
d41 5
a45 5
GTK2_DESC=	"Enable Gtk2 IM module"
GTK3_DESC=	"Enable Gtk3 IM module"
QT4_DESC=	"Enable Qt4 IM module"
OPENCC_DESC=	"Enable OpenCC for Chinese Transform"
TPUNC_DESC=	"Use traditional quotation marks"
@


1.45
log
@1. Convert to the new options style;
2. Fix pkg-plist for gtk2/gtk3/qt4 IM modules;
3. Update gtk immodules file(s);
4. Smart pkg-message.in;
5. Align some Makefile variables.

PR:		ports/168634
Submitted by:	Zhihao Yuan <lichray@@gmail.com>
@
text
@d71 1
a71 2
USE_QT_VER=	4
QT_COMPONENTS=	gui
@


1.44
log
@- update png to 1.5.10
@
text
@d10 1
a10 1
PORTREVISION=	1
d26 4
a29 2
MAN1=	createPYMB.1 fcitx-remote.1 fcitx.1 mb2org.1 mb2txt.1 \
	readPYBase.1 readPYMB.1 scel2org.1 txt2mb.1
d31 1
a31 1
USE_XZ=	yes
d39 7
a45 5
OPTIONS=	GTK2		"Enable Gtk2 IM module" off \
		GTK3		"Enable Gtk3 IM module" off \
		QT4		"Enable Qt4 IM module" off \
		OPENCC		"Enable OpenCC for Chinese Transform" off \
		TPUNC		"Use traditional quotation marks" off
d49 1
a49 1
.if defined(WITH_GTK2)
d51 2
d55 2
d59 1
a59 1
.if defined(WITH_GTK3)
d62 5
d69 1
a69 1
.if defined(WITH_QT4)
d74 3
d79 1
a79 1
.if defined(WITH_OPENCC)
d85 1
a85 1
.if defined(WITH_TPUNC)
d111 6
@


1.43
log
@- Update to 4.2.3

PR:		167863
Submitted by:	Zhihao Yuan <lichray@@gmail.com> (maintainer)
@
text
@d10 1
@


1.42
log
@- Update chinese/fcitx-googlepinyin to 0.1.4
- Update chinese/fcitx-configtool to 0.4.0
- Update chinese/fcitx-cloudpinyin to 0.2.0
- Update chinese/fcitx-sunpinyin to 0.3.3
- Update chinese/fcitx to 4.2.2
- Update textproc/fcitx-keyboard to 0.1.0

PR:		ports/166689
Submitted by:	Zhihao Yuan <lichray@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	4.2.2
@


1.41
log
@Update fcitx and friends:

 - fcitx to 4.2.0, always depend on dbus
 - fcitx-cloudpinyin to 0.2.0
 - fcitx-configtool to 0.4.0
 - fcitx-googlepinyin to 0.1.4
 - fcitx-sunpinyin to 0.3.3
 - fcitx-ui-light to 0.1.3
 - libgooglepinyin to 0.1.2

PR:		ports/164820
Submitted by:	maintainer (Zhihao Yuan <lichray gmail com>
@
text
@d9 1
a9 1
PORTVERSION=	4.2.0
d17 1
a17 1
COMMENT=	A simple and fast GBK Chinese XIM server
d28 1
a28 1
USE_BZIP2=	yes
@


1.40
log
@- pass maintainership (forgot do it in last commit)

PR:		ports/162423
Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	4.1.2
d21 2
a22 1
LIB_DEPENDS=	execinfo.1:${PORTSDIR}/devel/libexecinfo
d39 2
a40 1
		DBUS		"Enable D-Bus for KIMPanel support" off
d62 2
a63 3
.if defined(WITH_DBUS)
LIB_DEPENDS+=	dbus-1.3:${PORTSDIR}/devel/dbus
PLIST_SUB+=	DBUS=""
d65 5
a69 2
CMAKE_ARGS+=	-DENABLE_DBUS=OFF
PLIST_SUB+=	DBUS="@@comment "
@


1.39
log
@- Update to 4.1.2
- Fcitx's development has been totally moved to http://code.google.com/p/fcitx/
  , and the new 4.1.x version is moved to CMake.
- pass maintainership

PR:		ports/162423
Submitted by:	Zhihao Yuan <lichray_AT_gmail.com> (new maintainer)
Approved by:	maintainer (Denise H. G.)
Feature safe:	yes
@
text
@d16 1
a16 1
MAINTAINER=	darcsis@@gmail.com
@


1.38
log
@- Unbreak on 7.X by replacing getline() GNU extension with fgets()
- Replace ${DISTDIR}/${DIST_SUBDIR} with ${_DISTDIR} shortcut
- Cleanup logging-related stuff since this option was dropped upstream
- Turn explicit dependency on libXft into USE_XORG+=xft
- Use gnomehack and drop two corresponding patches
- Sort knobs and fix some whitespace

Approved by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	4.0.0
d13 1
a14 1
DIST_SUBDIR=	${PORTNAME}
d19 2
d22 1
d24 2
a25 1
LICENSE=	GPLv2
d27 1
d29 2
a30 1
USE_XORG=	xpm x11 xtst
d32 2
a33 2
GNU_CONFIGURE=	yes
USE_GMAKE=	yes
d35 4
a38 5
OPTIONS=	XFT		"Use Xft for Freetype font support" on \
		TRAY		"Enable system tray support"	    on \
		DBUS		"Enable D-Bus for KIMPanel support" off \
		RECORDING	"Enable recording of user input"    off \
		DEBUG		"Build with debug information"	    off
d42 2
a43 2
.if defined(WITH_XFT)
USE_XORG+=	xft
d45 6
a50 1
CONFIGURE_ARGS+=	--disable-xft
d53 5
a57 2
.if defined(WITHOUT_TRAY)
CONFIGURE_ARGS+=	--disable-tray
d62 1
d64 6
a69 1
CONFIGURE_ARGS+=	--disable-dbus
d72 2
a73 2
.if defined(WITH_RECORDING)
CONFIGURE_ARGS+=	--enable-recording
d76 2
a77 2
.if defined(WITH_DEBUG)
CONFIGURE_ARGS+=	--enable-debug
d85 2
a86 5
	@@${REINPLACE_CMD} -E \
		's:getline\(&(.+, )&(.+, .+\) != )-1:fgets(\1\2NULL:' \
			${WRKSRC}/src/fcitx-config/fcitx-config.c \
			${WRKSRC}/src/im/special/QuickPhrase.c \
			${WRKSRC}/src/tools/tools.c
a88 3
pre-install:
	@@${CHMOD} +x ${WRKSRC}/install-sh

@


1.37
log
@- Mark BROKEN on 7.X

Reported by:	pointyhat
Feature safe:	yes
@
text
@d14 1
d23 1
a23 2
DIST_SUBDIR=	fcitx
USE_GNOME=	pango intltool
d30 1
a30 1
		TRAY		"Enable system tray support" on \
d33 1
a33 1
		DEBUG		"Enable debug build with logging"   off \
a36 4
.if ${OSVERSION} < 800000
BROKEN=		does not build on 7.X
.endif

d38 1
a38 1
LIB_DEPENDS+=	Xft.2:${PORTSDIR}/x11-fonts/libXft
d58 1
a58 1
CONFIGURE_ARGS+=	--enable-debug --enable-log
d62 10
a71 2
	@@${CP} ${DISTDIR}/${DIST_SUBDIR}/pinyin.tar.gz ${WRKSRC}/data
	@@${CP} ${DISTDIR}/${DIST_SUBDIR}/table.tar.gz ${WRKSRC}/data/table
@


1.36
log
@- Update to 4.0.0

PR:		ports/152615
Submitted by:	Denise H. G. <darcsis@@gmail.com> (maintainer)
@
text
@d37 4
@


1.35
log
@Use better spelling (I copied original one from the English page of the
website, but main (Chinese) page spells it correctly).
@
text
@d9 1
a9 1
PORTVERSION=	3.6.3
d11 3
a13 2
MASTER_SITES=	http://www.fcitx.org/download/ \
		ftp://mirrors.redv.com/pub/fcitx/
d18 2
d22 2
a23 1
USE_BZIP2=	yes
d25 1
a25 1
USE_ICONV=	yes
d30 1
d43 4
d62 2
a63 4
	@@${REINPLACE_CMD} -e 's#zh_CN.GB2312#zh_CN.eucCN#g' \
		${WRKSRC}/src/xim.c
	@@${REINPLACE_CMD} -e 's#zh_CN.gb2312#zh_CN.eucCN#g' \
		${WRKSRC}/src/ui.c ${WRKSRC}/src/tools.c
@


1.34
log
@- Update to version 3.6.3
- Remove obsolete master sites
- Add LICENSE
- Utilize OPTIONS
- Correctly track dependencies (prevent silent dependency injection)
- Minor Makefile cleanups

Approved by:	maintainer timeout
@
text
@d1 1
a1 1
# New ports collection makefile for:	Free Chinese Input Toy of X
@


1.33
log
@- Update to 3.6.2
- Pass maintainership to submitter

PR:		ports/139692
Submitted by:	"Denise H. G." <darcsis@@gmail.com>
@
text
@d1 2
a2 2
# New ports collection makefile for:    zh-fcitx
# Date created:		26 March 2003
d9 1
a9 1
PORTVERSION=	3.6.2
d12 1
a12 4
		ftp://mirrors.redv.com/pub/fcitx/ \
		${MASTER_SITE_LOCAL} \
		http://dryice.name/computer/FreeBSD/distfiles/
MASTER_SITE_SUBDIR=	dryice
d17 1
a17 1
LIB_DEPENDS=	Xft.2:${PORTSDIR}/x11-fonts/libXft
d24 27
a50 1
WRKSRC=		${WRKDIR}/fcitx-${PORTVERSION}
d53 4
a56 2
	@@${REINPLACE_CMD} -e 's#zh_CN.GB2312#zh_CN.eucCN#g' ${WRKSRC}/src/xim.c
	@@${REINPLACE_CMD} -e 's#zh_CN.gb2312#zh_CN.eucCN#g' ${WRKSRC}/src/ui.c ${WRKSRC}/src/tools.c
d59 1
a59 1
	@@${CHMOD} 0755 ${WRKSRC}/install-sh
d62 1
d64 1
@


1.32
log
@Reassign ports maintained by dryice@@ for now due to other commitments.

Hat:	portmgr
@
text
@d9 1
a9 2
PORTVERSION=	3.5
PORTREVISION=	1
a15 1
DISTNAME= fcitx-3.5-BlackFri
d17 1
a17 1
MAINTAINER=	ports@@FreeBSD.org
d23 1
a23 1
USE_XORG=	xpm x11
d27 1
a27 1
WRKSRC= 	${WRKDIR}/fcitx-${PORTVERSION}
d33 3
@


1.31
log
@- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Bump PORTREVISION

Approved by:	portmgr (xorg cleanup)
@
text
@d19 1
a19 1
MAINTAINER=	dryice@@FreeBSD.org
@


1.30
log
@update to 3.5, the BlackFriday version

PR:		ports/118508
Submitted by:	Sutra <zhoushuqun@@gmail.com>
@
text
@d10 1
d25 1
a25 1
USE_XLIB=	yes
@


1.29
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d9 1
a9 2
PORTVERSION=	3.4.2
PORTREVISION=	1
d12 1
d16 1
d28 1
@


1.28
log
@- update to 3.4.2
- add MASTER_SITE_LOCAL
- update my mail address

Approved by:	itetcu (mentor)
@
text
@d10 1
@


1.27
log
@- Update to 3.4.1

PR:		ports/105123
Submitted by:	Dryice Liu (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	3.4.1
d12 1
d14 1
a14 1
#EXTRACT_SUFX=	.tar.bz2
d16 1
a16 1
MAINTAINER=	dryice@@dryice.name
@


1.26
log
@- Update to 3.4

PR:		ports/104098
Submitted by:	Dryice Liu <dryice at dryice.name> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	3.4
@


1.25
log
@- Update to 3.3.1

PR:		ports/102785
Submitted by:	Dryice Liu <dryice at dryice.name> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	3.3.1
@


1.24
log
@- Update to 3.3

PR:		ports/102420
Submitted by:	maintainer (Dryice Liu)
@
text
@d9 1
a9 1
PORTVERSION=	3.3
@


1.23
log
@- update to 3.2.1

PR:		ports/99574
Submitted by:	maintainer (Dryice Liu)
@
text
@d9 1
a9 1
PORTVERSION=	3.2.1
@


1.22
log
@Upgrade to 3.2

PR:		ports/98921
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	3.2
@


1.21
log
@remove USE_REINPLACE for all ports with categories starting with C
@
text
@d9 1
a9 1
PORTVERSION=	3.1.1
d13 1
a13 1
EXTRACT_SUFX=	.tar.bz2
d24 1
@


1.20
log
@- Fix MASTER_SITES

bsdchat.com is no longer available. Thanks for all their support!

PR:		ports/94459
Submitted by:	Dryice Liu <dryice@@dryice.name> (maintainer)
@
text
@a21 1
USE_REINPLACE=	yes
@


1.19
log
@[maintainer] change maintainer mail address

        I'm the maintainer(dryice@@liu.com.cn) of the following
	ports. Please help to change the maintainer mail address to
	dryice@@dryice.name. This new mail address has a RDNS record
	and will make the life easier. Thanks!

PR:		ports/91624
Submitted by:	Dryice Dong Liu <dryice@@dryice.name>
@
text
@d12 1
a12 1
		http://bsdchat.com/dist/dryice/
@


1.18
log
@- update to 3.1.1

PR:		79581
Submitted by:	Dryice Liu (maintainer)
@
text
@d15 1
a15 1
MAINTAINER=	dryice@@liu.com.cn
@


1.17
log
@- update to 3.1
- new file: files/patch-xpm-Makefile.in

PR:		ports/78267
Submitted by:	Dryice Liu (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	3.1
@


1.16
log
@Add mirror site to make fetcheable and unbreak

PR:		75741
Submitted by:	maintainer
Approved by:	portmgr (krion)
@
text
@d9 1
a9 1
PORTVERSION=	3.0.3
@


1.15
log
@BROKEN: Unfetchable

Approved by:    portmgr (self)
@
text
@d11 2
a12 1
MASTER_SITES=	http://www.fcitx.org/download/
a19 2
BROKEN=		Unfetchable

@


1.14
log
@Update to 3.0.3

PR:		ports/75089
Submitted by:	MAINTAINER
@
text
@d19 2
@


1.13
log
@Upgrade to 3.0.2.

PR:		ports/73185
Submitted by:	maintainer
Some part by:	me
@
text
@d9 1
a9 1
PORTVERSION=	3.0.2
@


1.12
log
@Apply 64 bits cleanup so that it works on fantastic hardware.

PR:		ports/72371
Submitted by:	davidxu
Approved by:	MAINTAINER
@
text
@d9 1
a9 2
PORTVERSION=	2.0.1
PORTREVISION=	2
d23 1
a23 13

post-extract:
	cd ${BUILD_WRKSRC}; ${MAKE} clean

pre-patch::
	@@${ECHO_MSG}
.if !defined(FCITX_WITH_CTRL_RSHIFT)
	@@${ECHO_MSG} "If you don't want to use CTRL+SPACE to active/deactive fcitx,"
	@@${ECHO_MSG} "hit Ctrl-C right now and use \"make FCITX_WITH_CTRL_RSHIFT=yes\"."
	@@${ECHO_MSG} "Then you can use CTRL+RIGHT_SHIFT to active/deactive fcitx."
	@@${ECHO_MSG}
.endif
	@@${ECHO_MSG}
d26 2
a27 8
	@@${REINPLACE_CMD} -e 's#usr/share#${LOCALBASE}/share#g' ${WRKSRC}/Makefile ${WRKSRC}/ime.h
	@@${REINPLACE_CMD} -e 's#usr/bin#${LOCALBASE}/bin#g' ${WRKSRC}/Makefile
	@@${REINPLACE_CMD} -e 's#zh_CN.GB2312#zh_CN.eucCN#g' ${WRKSRC}/ui.c
	@@${REINPLACE_CMD} -e 's#zh_CN.gb2312#zh_CN.eucCN#g' ${WRKSRC}/xim.c
	@@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' ${WRKSRC}/IMdkit/lib/IMConn.c ${WRKSRC}/ui.c
.if defined(FCITX_WITH_CTRL_RSHIFT)
	@@${REINPLACE_CMD} -e 's/XK_space/XK_Shift_R/g' ${WRKSRC}/xim.c
.endif
a29 6
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for i in cjkvinput.txt hf_wb98.txt readme.html wb_fh.htm
	${INSTALL_DATA} ${WRKSRC}/doc/${i} ${DOCSDIR}
.endfor
.endif
@


1.11
log
@Chase the new location of libXft.
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.10
log
@- change locale from zh_CN.EUC to zh_CN.eucCN for FreeBSD 5.2 and above
- adding document
- use SIZE in distinfo file
- utilize USE_ICONV
- add an option to change the hot key
- bump PORTREVERSION

PR:		ports/62596
Submitted by:	maintainer
@
text
@d18 1
a18 1
LIB_DEPENDS=	Xft.2:${PORTSDIR}/x11-fonts/Xft
@


1.9
log
@- Add missed dependency on Xft

Reported by:	bento via kris
@
text
@d10 1
d18 1
a18 2
LIB_DEPENDS=	iconv.3:${PORTSDIR}/converters/libiconv \
		Xft.2:${PORTSDIR}/x11-fonts/Xft
d23 1
d28 10
d41 2
a42 2
	@@${REINPLACE_CMD} -e 's#zh_CN.GB2312#zh_CN.EUC#g' ${WRKSRC}/ui.c
	@@${REINPLACE_CMD} -e 's#zh_CN.gb2312#zh_CN.EUC#g' ${WRKSRC}/xim.c
d44 3
d49 6
@


1.8
log
@- Update to 2.0.1

PR:		ports/61135
Submitted by:	Dryice Liu <dryice@@liu.com.cn> (maintainer)
@
text
@d17 2
a18 1
LIB_DEPENDS=	iconv.3:${PORTSDIR}/converters/libiconv
@


1.7
log
@- Update to 1.8.5
- Take maintainership
- Add to x11 category

PR:		ports/60808
Submitted by:	Dryice Liu <dryice@@liu.com.cn>
@
text
@d9 1
a9 1
PORTVERSION=	1.8.5
d11 1
a11 1
MASTER_SITES=	http://www.fcitx.org/
d23 3
d29 1
a29 1
	@@${REINPLACE_CMD} -e 's#zh_CN.GB2312#zh_CN.EUC#g' ${WRKSRC}/window.c
d31 1
a31 2
	@@${REINPLACE_CMD} -e 's#zh_CN.GBK#zh_CN.EUC#g' ${WRKSRC}/tools.c
	@@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' ${WRKSRC}/IMdkit/lib/IMConn.c
@


1.6
log
@statue@@freebsd.sinica.edu.tw has asked for all the maintained
ports to be reset to ports@@FreeBSD.org.  We're sorry to see you
go and want to thank you for your help in the past.

PR:		ports/59515
Submitted by:	statue@@freebsd.sinica.edu.tw
@
text
@d9 3
a11 4
PORTVERSION=	1.8.4
CATEGORIES=	chinese
MASTER_SITES=	http://www.fcitx.org/ \
		ftp://freebsd.sinica.edu.tw/pub/statue/fcitx/
d14 1
a14 1
MAINTAINER=	ports@@FreeBSD.org
d24 1
a24 1
	@@${REINPLACE_CMD} -e 's#usr/share#${LOCALBASE}/share#g' ${WRKSRC}/Makefile ${WRKSRC}/ime.h ${WRKSRC}/data/fcitx
@


1.5
log
@Update port: chinese/fcitx

	update MASTER_SITES.

PR:		ports/56686
Submitted by:	Statue <statue@@freebsd.sinica.edu.tw>
@
text
@d15 1
a15 1
MAINTAINER=	statue@@freebsd.sinica.edu.tw
@


1.4
log
@Update port: chinese/fcitx

	update to 1.8.4

PR:		ports/51115
Submitted by:	Statue <statue@@freebsd.sinica.edu.tw>
@
text
@d12 1
a12 1
		http://www.linuxsir.com.cn/fcitx/
@


1.3
log
@Update port: chinese/fcitx

	o update to 1.8.3
	o add MASTER_SITESS

PR:		ports/50847
Submitted by:	Statue <statue@@freebsd.sinica.edu.tw>
@
text
@d9 1
a9 1
PORTVERSION=	1.8.3
@


1.2
log
@modify tools.c and set default locale to zh_CN.EUC
bump PORTREVISION

PR:		50620
Submitted by:	Statue <statue@@freebsd.sinica.edu.tw>
@
text
@d9 1
a9 2
PORTVERSION=	1.8.2
PORTREVISION=	1
d11 3
a13 1
MASTER_SITES=	http://www.linuxsir.com.cn/fcitx/
d20 1
d25 2
a26 2
	@@${REINPLACE_CMD} -e 's#usr/share#usr/local/share#g' ${WRKSRC}/Makefile ${WRKSRC}/ime.h
	@@${REINPLACE_CMD} -e 's#usr/bin#usr/local/bin#g' ${WRKSRC}/Makefile
@


1.1
log
@Initial import of fcitx 1.8.2

Fcitx is a simple and fast GBK Chinese XIM server.

PR: 50311
Submitted by: Shen Chuan-Hsing <statue@@freebsd.sinica.edu.tw>
@
text
@d10 1
d20 1
a20 1
USE_REINPLACE=  yes
d27 2
a28 2
	@@${REINPLACE_CMD} -e 's,<malloc.h>,<stdlib.h>,' \
		${WRKSRC}/IMdkit/lib/IMConn.c
@

