head	1.40;
access;
symbols
	RELEASE_8_3_0:1.37
	RELEASE_9_0_0:1.37
	RELEASE_7_4_0:1.36
	RELEASE_8_2_0:1.36
	RELEASE_6_EOL:1.36
	RELEASE_8_1_0:1.36
	RELEASE_7_3_0:1.34
	RELEASE_8_0_0:1.30
	RELEASE_7_2_0:1.29
	RELEASE_7_1_0:1.29
	RELEASE_6_4_0:1.29
	RELEASE_5_EOL:1.27
	RELEASE_7_0_0:1.20
	RELEASE_6_3_0:1.20
	PRE_XORG_7:1.17
	RELEASE_4_EOL:1.14
	RELEASE_6_2_0:1.12;
locks; strict;
comment	@# @;


1.40
date	2013.03.22.04.59.06;	author svnexp;	state Exp;
branches;
next	1.39;

1.39
date	2012.11.17.05.54.57;	author svnexp;	state Exp;
branches;
next	1.38;

1.38
date	2012.06.01.05.16.39;	author dinoex;	state Exp;
branches;
next	1.37;

1.37
date	2011.09.23.22.21.24;	author amdmi3;	state Exp;
branches;
next	1.36;

1.36
date	2010.05.31.01.57.39;	author ade;	state Exp;
branches;
next	1.35;

1.35
date	2010.03.28.06.31.53;	author dinoex;	state Exp;
branches;
next	1.34;

1.34
date	2010.02.05.11.34.48;	author dinoex;	state Exp;
branches;
next	1.33;

1.33
date	2009.12.28.23.57.05;	author rafan;	state Exp;
branches;
next	1.32;

1.32
date	2009.12.27.10.57.58;	author rafan;	state Exp;
branches;
next	1.31;

1.31
date	2009.12.27.07.19.03;	author rafan;	state Exp;
branches;
next	1.30;

1.30
date	2009.07.31.13.49.26;	author dinoex;	state Exp;
branches;
next	1.29;

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

1.28
date	2008.06.06.13.14.35;	author edwin;	state Exp;
branches;
next	1.27;

1.27
date	2008.04.19.17.47.02;	author miwi;	state Exp;
branches;
next	1.26;

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

1.25
date	2008.03.24.23.21.21;	author miwi;	state Exp;
branches;
next	1.24;

1.24
date	2008.03.09.08.14.44;	author rafan;	state Exp;
branches;
next	1.23;

1.23
date	2008.02.27.03.14.05;	author rafan;	state Exp;
branches;
next	1.22;

1.22
date	2008.02.25.03.00.42;	author rafan;	state Exp;
branches;
next	1.21;

1.21
date	2008.02.22.15.05.21;	author rafan;	state Exp;
branches;
next	1.20;

1.20
date	2007.08.04.11.40.42;	author gabor;	state Exp;
branches;
next	1.19;

1.19
date	2007.05.25.13.35.21;	author rafan;	state Exp;
branches;
next	1.18;

1.18
date	2007.05.19.20.00.46;	author flz;	state Exp;
branches;
next	1.17;

1.17
date	2007.02.08.07.16.05;	author rafan;	state Exp;
branches;
next	1.16;

1.16
date	2007.02.04.04.57.47;	author rafan;	state Exp;
branches;
next	1.15;

1.15
date	2007.02.02.14.12.21;	author rafan;	state Exp;
branches;
next	1.14;

1.14
date	2006.12.11.11.18.58;	author rafan;	state Exp;
branches;
next	1.13;

1.13
date	2006.11.03.08.10.42;	author rafan;	state Exp;
branches;
next	1.12;

1.12
date	2006.10.14.08.53.47;	author marcus;	state Exp;
branches;
next	1.11;

1.11
date	2006.10.09.01.55.51;	author rafan;	state Exp;
branches;
next	1.10;

1.10
date	2006.09.27.05.53.22;	author rafan;	state Exp;
branches;
next	1.9;

1.9
date	2006.09.09.16.36.59;	author rafan;	state Exp;
branches;
next	1.8;

1.8
date	2006.08.12.18.08.49;	author rafan;	state Exp;
branches;
next	1.7;

1.7
date	2006.06.27.03.58.53;	author rafan;	state Exp;
branches;
next	1.6;

1.6
date	2006.05.22.05.52.06;	author clsung;	state Exp;
branches;
next	1.5;

1.5
date	2006.05.21.21.51.00;	author kris;	state Exp;
branches;
next	1.4;

1.4
date	2006.04.29.02.39.41;	author clsung;	state Exp;
branches;
next	1.3;

1.3
date	2006.04.26.03.02.38;	author clsung;	state Exp;
branches;
next	1.2;

1.2
date	2006.04.23.02.04.16;	author vanilla;	state Exp;
branches;
next	1.1;

1.1
date	2006.03.29.15.32.25;	author vanilla;	state Exp;
branches;
next	;


desc
@@


1.40
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/314855
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: Rong-En Fan <rafan@@infor.org>
# $FreeBSD: head/chinese/oxim/Makefile 314855 2013-03-21 17:39:03Z bapt $

PORTNAME=	oxim
PORTVERSION=	1.2.2
PORTREVISION=	4
CATEGORIES=	chinese textproc
MASTER_SITES=	ftp://ftp.opendesktop.org.tw/odp/OXIM/Source/ \
		ftp://140.111.128.66/odp/OXIM/Source/

MAINTAINER=	clsung@@FreeBSD.org
COMMENT=	Open X Input Method server

RUN_DEPENDS=	${LOCALBASE}/share/fonts/TrueType/fireflysung.ttf:${PORTSDIR}/chinese/fireflyttf

OPTIONS_DEFINE=	GTK2 CHEWING UNICODE
OPTIONS_DEFAULT=	GTK2 CHEWING UNICODE
GTK2_DESC=	 GTK2 input method module
CHEWING_DESC=	 Chewing input module
UNICODE_DESC=	 Unicode input module

USE_ICONV=	yes
USE_XORG=	x11 xft xpm xtst
WANT_GNOME=	yes

GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes
CPPFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib -liconv
CONFIGURE_ARGS+=--disable-bimsphone-module \
		--disable-static \
		--with-conf-dir=${PREFIX}/etc/${PORTNAME} \
		--enable-setup-tool=no
# oxim requires qinputcontextplugin.h which only exists in Debian package
CONFIGURE_ARGS+=--disable-qt-immodule

MAN1=		oxim.1

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MGTK2}
USE_GNOME+=	gtk20
CONFIGURE_ARGS+=	--enable-gtk-immodule
PLIST_SUB+=	GTK2=""
.else
CONFIGURE_ARGS+=	--disable-gtk-immodule
PLIST_SUB+=	GTK2="@@comment "
.endif

.if ${PORT_OPTIONS:MCHEWING}
# make sure we have the required libchewing
BUILD_DEPENDS+=	zh-libchewing>=0.3.2:${PORTSDIR}/chinese/libchewing
RUN_DEPENDS+=	zh-libchewing>=0.3.2:${PORTSDIR}/chinese/libchewing

CONFIGURE_ARGS+=	--enable-chewing-module
CONFIGURE_ENV+=	CHEWING_CFLAGS=-I${LOCALBASE}/include
PLIST_SUB+=	CHEWING=""
.else
CONFIGURE_ARGS+=	--disable-chewing-module
PLIST_SUB+=	CHEWING="@@comment "
.endif

.if ${PORT_OPTIONS:MUNICODE}
CONFIGURE_ARGS+=	--enable-unicode-module
PLIST_SUB+=	UNICODE=""
.else
CONFIGURE_ARGS+=	--disable-unicode-module
PLIST_SUB+=	UNICODE="@@comment "
.endif

# TODO WITHOUT_NLS knob
#.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT=	yes
LDFLAGS+=	-lintl
PLIST_SUB+=	NLS=""
#.else
#CONFIGURE_ARGS+=--disable-nls
#PLIST_SUB+=	NLS="@@comment "
#.endif

post-patch:
	${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|' \
			${WRKSRC}/src/gtk-immodule/gtkintl.h

post-install:
.if ${PORT_OPTIONS:MGTK2}
	@@gtk-query-immodules-2.0 > ${PREFIX}/etc/gtk-2.0/gtk.immodules
.endif
	@@${CAT} ${PKGMESSAGE}
	@@${ECHO} To display this message again, type ${PKG_INFO} -D ${PKGNAME}

.include <bsd.port.mk>
@


1.39
log
@Switch exporter over
@
text
@d1 2
a2 6
# New ports collection makefile for:	oxim
# Date created:				Mar 19 2006
# Whom:					Rong-En Fan <rafan@@infor.org>
#
# $FreeBSD: head/chinese/oxim/Makefile 300895 2012-07-14 12:56:14Z beat $
#
d16 5
a20 3
OPTIONS=	GTK2 "Enable GTK2 input method module" On \
		CHEWING "Enable Chewing input module" On \
		UNICODE "Enable Unicode input module" On
d39 1
a39 1
.include <bsd.port.pre.mk>
d41 1
a41 4
.if defined(WITHOUT_GTK2)
CONFIGURE_ARGS+=	--disable-gtk-immodule
PLIST_SUB+=	GTK2="@@comment "
.else
d45 3
d50 1
a50 1
.if !defined(WITHOUT_CHEWING)
d63 1
a63 1
.if !defined(WITHOUT_UNICODE)
d72 1
a72 1
#.if !defined(WITHOUT_NLS)
d86 1
a86 1
.if !defined(WITHOUT_GTK2)
d92 1
a92 1
.include <bsd.port.post.mk>
@


1.38
log
@- update png to 1.5.10
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.37
log
@- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
@
text
@d10 1
a10 1
PORTREVISION=	3
@


1.36
log
@Bounce PORTREVISION for gettext-related ports.  Have fun, ya'll.
@
text
@a31 2
CONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}" \
		LDFLAGS="${LDFLAGS}"
d76 1
a76 1
CONFIGURE_ENV+=	LDFLAGS="${LDFLAGS} -lintl"
@


1.35
log
@- update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.34
log
@- update to jpeg-8
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.33
log
@- Remove unusable mirror sites
- Pass maintainership to clsung@@ as I don't use it anymore and he agreed
  to take over
@
text
@d10 1
@


1.32
log
@- Explicitly disable setup-tool. The configure requires additional patch
  (fixed in later version).
@
text
@d12 1
a12 5
		ftp://apt.nc.hcc.edu.tw/pub/mirror/opendesktop.org.tw/OXIM/Source/ \
		ftp://ftp4.tnc.edu.tw/pub3/opendesktop-tw/odp/OXIM/Source/ \
		ftp://140.111.66.34/odp/OXIM/Source/ \
		ftp://140.111.128.66/odp/OXIM/Source/ \
		LOCAL/rafan
d14 1
a14 1
MAINTAINER=	rafan@@FreeBSD.org
@


1.31
log
@- Update to 1.2.2 which is compatible with libchewing >= 0.3.2
- oxim-setup is now removed
@
text
@d39 2
a40 1
		--with-conf-dir=${PREFIX}/etc/${PORTNAME}
@


1.30
log
@- bump all port that indirectly depends on libjpeg and have not yet been bumped or updated
Requested by:	edwin
@
text
@d9 1
a9 2
PORTVERSION=	1.1.6
PORTREVISION=	3
d25 1
a25 2
		UNICODE "Enable Unicode input module" On \
		SETUP "Enable GUI Setup Tool" On
d43 2
d58 2
a59 2
BUILD_DEPENDS+=	zh-libchewing>=0.3.0_1:${PORTSDIR}/chinese/libchewing
RUN_DEPENDS+=	zh-libchewing>=0.3.0_1:${PORTSDIR}/chinese/libchewing
a76 17
.if !defined(WITHOUT_SETUP)
BUILD_DEPENDS+=	qmake:${PORTSDIR}/devel/qmake

CONFIGURE_ARGS+=	--enable-setup-tool
PLIST_SUB+=	SETUP=""

USE_QT_VER=	3
.include "${PORTSDIR}/Mk/bsd.kde.mk"

QMAKESPEC?=	freebsd-g++
CONFIGURE_ENV+=	LOCALBASE="${LOCALBASE}"
MAKE_ARGS+=	LOCALBASE="${LOCALBASE}" MAKE="${MAKE}" QMAKESPEC="${QMAKESPEC}"
.else
CONFIGURE_ARGS+=	--disable-setup-tool
PLIST_SUB+=	SETUP="@@comment "
.endif

@


1.29
log
@Fix USE_XORG for the upcoming bsd.port.mk changes (ports/122340).

Approved by:	portmgr (self)
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.28
log
@Bump portrevision due to upgrade of devel/gettext.

The affected ports are the ones with gettext as a run-dependency
according to ports/INDEX-7 (5007 of them) and the ones with USE_GETTEXT
in Makefile (29 of them).

PR:             ports/124340
Submitted by:   edwin@@
Approved by:    portmgr (pav)
@
text
@d30 1
a30 1
USE_XORG=	x11 xft xpm
@


1.27
log
@- 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)
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.26
log
@- Switch to USE_XORG
@
text
@d35 1
a35 1
CPPFLAGS+=	-I${LOCALBASE}/include -I${X11BASE}/include
@


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

Approved by:	portmgr (xorg cleanup)
@
text
@d10 1
a21 1
LIB_DEPENDS=	Xft.2:${PORTSDIR}/x11-fonts/libXft
d30 1
@


1.24
log
@- Update to 1.1.6
@
text
@a29 1
USE_XLIB=	yes
@


1.23
log
@- Update to 1.1.5
@
text
@d9 1
a9 1
PORTVERSION=	1.1.5
@


1.22
log
@- Update to 1.1.4.1
@
text
@d9 1
a9 1
PORTVERSION=	1.1.4.1
@


1.21
log
@- Update to 1.1.4
@
text
@d9 1
a9 1
PORTVERSION=	1.1.4
@


1.20
log
@- Remove the DESTDIR modifications from individual ports as we have a new,
  fully chrooted DESTDIR, which does not need such any more.

Sponsored by:	Google Summer of Code 2007
Approved by:	portmgr (pav)
@
text
@d9 1
a9 1
PORTVERSION=	1.1.3
@


1.19
log
@- Update to 1.1.3
- Remove 4.x bits
@
text
@d41 1
a41 1
		--with-conf-dir=${TARGETDIR}/etc/${PORTNAME}
d105 1
a105 1
	${REINPLACE_CMD} 's|%%PREFIX%%|${TARGETDIR}|' \
d110 1
a110 1
	@@gtk-query-immodules-2.0 > ${TARGETDIR}/etc/gtk-2.0/gtk.immodules
@


1.18
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=	1.1.2.90
PORTREVISION=	1
a28 1
USE_GCC=	3.2+
a103 4
.if ${OSVERSION} < 500000
BROKEN=		lack of stdint.h
.endif

@


1.17
log
@- Add local distfiles mirror until next release.
@
text
@d10 1
@


1.16
log
@- Update to 1.1.2.90
@
text
@d15 2
a16 1
		ftp://140.111.128.66/odp/OXIM/Source/
@


1.15
log
@- Update to 1.1.2
- Remove QTDIR in CONFIGURE_ENV. Now it's set by bsd.kde.mk.
@
text
@d9 1
a9 1
PORTVERSION=	1.1.2
@


1.14
log
@- Optional GNOME dependencies should use WANT_GNOME=yes before
  bsd.port.pre.mk.
@
text
@d9 1
a9 2
PORTVERSION=	1.1.1
PORTREVISION=	2
d87 1
a87 1
CONFIGURE_ENV+=	LOCALBASE="${LOCALBASE}" QTDIR="${QT_PREFIX}"
@


1.13
log
@- Chase recent chinese/fireflyttf changes

Reported by:	pointyhat via kris
@
text
@d32 1
a32 1
USE_GNOME=
@


1.12
log
@Chase the GNOME X11BASE to LOCALBASE move, and fix the build with the
new freetype2 where needed.

Submitted by:	mezz, ahze, pav, and many others
Approved by:	portmgr (implicit, kris)
@
text
@d22 1
a22 1
RUN_DEPENDS=	zh-fireflyttf>=0:${PORTSDIR}/chinese/fireflyttf
@


1.11
log
@- Enable GUI Setup Tool
  It does not depend on qinputcontextplugin.h, so we can build it.
- Bump PORTREVISION
@
text
@d10 1
a10 1
PORTREVISION=	1
d31 1
a31 1
USE_X_PREFIX=	yes
@


1.10
log
@- Update to 1.1.1
@
text
@d10 1
d26 2
a27 1
		UNICODE "Enable Unicode input module" On
d44 1
a44 2
CONFIGURE_ARGS+=--disable-qt-immodule \
		--disable-setup-tool
d78 17
@


1.9
log
@- Update to 1.1.0
  As noted in Makefile, I disabled Qt module and GUI setup tool due
  to oxim uses some files that only exist in Debian package.
- Add few mirrors and correct the path
@
text
@d9 1
a9 1
PORTVERSION=	1.1.0
@


1.8
log
@- Respect TARGETDIR
- Utilize USE_LDCONFIG

PR:		ports/101884
Submitted by:	Gea-Suan Lin <gslin at gslin.org>
@
text
@d9 1
a9 2
PORTVERSION=	1.0.3
PORTREVISION=	1
d11 4
a14 2
MASTER_SITES=	ftp://apt.nc.hcc.edu.tw/pub/mirror/opendesktop.org.tw/OXIM/Source/ \
		ftp://ftp4.tnc.edu.tw/pub3/opendesktop-tw/odp/ \
d41 3
d87 4
@


1.7
log
@Change to my FreeBSD.org email.

Approved by:	delphij (mentor)
@
text
@d32 1
a32 1
INSTALLS_SHLIB=	yes
d39 1
a39 1
		--with-conf-dir=${PREFIX}/etc/${PORTNAME}
d84 1
a84 1
	${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|' \
d89 1
a89 1
	@@gtk-query-immodules-2.0 > ${PREFIX}/etc/gtk-2.0/gtk.immodules
@


1.6
log
@- bump PORTREVISION (also fix BROKEN)
- After chinese/libchewing updated to 0.3.0, which is API/ABI incompatible
  with older releases 0.2.x, oxim can not build with libchewing 0.3.0.

  This is addressed in the added patch. Thanks clsung@@ for initial patch
  and testing. If there are any problems with this patch, please contact
  the maintainer, instead of the author of oxim.

- 2 OPTIONS added to enable/disable Chewing/Unicode input module. Leave
  them as default on since they are default on in package.

PR:		ports/97561
Submitted by:	maintainer (Rong-En Fan)
@
text
@d16 1
a16 1
MAINTAINER=	rafan@@infor.org
@


1.5
log
@BROKEN: Does not compile
@
text
@d10 1
a18 1
# make sure we have the required libchewing
d20 1
a20 5
BUILD_DEPENDS=	zh-libchewing>=0.2.6:${PORTSDIR}/chinese/libchewing
RUN_DEPENDS=	zh-libchewing>=0.2.6:${PORTSDIR}/chinese/libchewing \
		zh-fireflyttf>=0:${PORTSDIR}/chinese/fireflyttf

BROKEN=		Does not compile
d22 3
a24 1
OPTIONS=	GTK2 "Enable GTK2 input method module" On
d35 1
a35 3
CONFIGURE_ENV+=	CONFIG_SHELL=${SH} \
		CHEWING_CFLAGS=-I${LOCALBASE}/include \
		CPPFLAGS="${CPPFLAGS}" \
d52 21
d76 1
a77 2
LDFLAGS+=	-lintl
CONFIGURE_ENV+=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
@


1.4
log
@This port uses lots of C99 syntax. Instead of patching,
require newer gcc to build it.

Tested on RELENG_4 in tinderbox:
http://www.rafan.org/tb/logs/4-FreeBSD/zh-oxim-1.0.3.log

PR:		96486
Submitted by:	maintainer (Rong-En Fan)
@
text
@d24 2
@


1.3
log
@- Update to 1.0.3,
  * fixes a crash when the tray icon is clicked without input context
- Add another mirror site, this should be enough

PR:		96342
Submitted by:	maintainer (Rong-En Fan)
@
text
@d26 1
@


1.2
log
@Upgrade to 1.0.2.

PR:		ports/96163
Submitted by:	maintainer
@
text
@d9 1
a9 1
PORTVERSION=	1.0.2
d12 1
a66 2
	${REINPLACE_CMD} 's|^(defint|(define|' \
			${WRKSRC}/etc/oxim.conf.in
@


1.1
log
@Add oxim 1.0.1, open X Input Method server.

PR:		ports/94956
Submitted by:	Rong-En Fan <rafan@@infor.org>
@
text
@d9 1
a9 1
PORTVERSION=	1.0.1
d11 2
a12 1
MASTER_SITES=	ftp://140.111.128.66/odp/OXIM/Source/
d19 2
a20 2
BUILD_DEPENDS=	zh-libchewing>=0.2.7:${PORTSDIR}/chinese/libchewing
RUN_DEPENDS=	zh-libchewing>=0.2.7:${PORTSDIR}/chinese/libchewing \
d66 3
@

