[BACK]Return to options.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / inputmethod / kinput2

File: [cvs.NetBSD.org] / pkgsrc / inputmethod / kinput2 / options.mk (download)

Revision 1.2, Mon Feb 15 13:41:17 2010 UTC (8 years, 4 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2018Q1-base, pkgsrc-2018Q1, pkgsrc-2017Q4-base, pkgsrc-2017Q4, pkgsrc-2017Q3-base, pkgsrc-2017Q3, pkgsrc-2017Q2-base, pkgsrc-2017Q2, pkgsrc-2017Q1-base, pkgsrc-2017Q1, pkgsrc-2016Q4-base, pkgsrc-2016Q4, pkgsrc-2016Q3-base, pkgsrc-2016Q3, pkgsrc-2016Q2-base, pkgsrc-2016Q2, pkgsrc-2016Q1-base, pkgsrc-2016Q1, pkgsrc-2015Q4-base, pkgsrc-2015Q4, pkgsrc-2015Q3-base, pkgsrc-2015Q3, pkgsrc-2015Q2-base, pkgsrc-2015Q2, pkgsrc-2015Q1-base, pkgsrc-2015Q1, pkgsrc-2014Q4-base, pkgsrc-2014Q4, pkgsrc-2014Q3-base, pkgsrc-2014Q3, pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2, pkgsrc-2013Q1-base, pkgsrc-2013Q1, pkgsrc-2012Q4-base, pkgsrc-2012Q4, pkgsrc-2012Q3-base, pkgsrc-2012Q3, pkgsrc-2012Q2-base, pkgsrc-2012Q2, pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1, pkgsrc-2010Q4-base, pkgsrc-2010Q4, pkgsrc-2010Q3-base, pkgsrc-2010Q3, pkgsrc-2010Q2-base, pkgsrc-2010Q2, pkgsrc-2010Q1-base, pkgsrc-2010Q1, pkgsrc-, HEAD
Changes since 1.1: +2 -2 lines

Update kinput2 to 3.1.

Major changes from version 3.0 to 3.1:

* Kinput2 now supports ATOK.  The source code is kindly contributed
  by Justsystem Corporation.  Thanks!
  To compile for Atok, define symbol `UseAtok' in Kinput2.conf.

* Minimum support of Wnn7 is implemented.

* Two IC attributes, XNPreeditState and XNResetState both of which
  are introduced by X11R6, are supported.

* Kinput2's `egg'-emulation is improved.

* A workaround for bugs in some Xlib implementations has been added.

* Previously, when kinput2 cannot connect to jserver, kinput2 seems
  to be frozen (actually it keeps retrying).  Now kinput2 beeps and
  ends conversion in such a case.  The next time you start conversion,
  it tries to connect again.

# $NetBSD: options.mk,v 1.2 2010/02/15 13:41:17 obache Exp $

PKG_OPTIONS_VAR=	PKG_OPTIONS.kinput2
PKG_OPTIONS_NONEMPTY_SETS=	inputmethod
PKG_OPTIONS_SET.inputmethod=	canna wnn4 sj3
PKG_SUGGESTED_OPTIONS=	canna wnn4 sj3
#PKG_OPTIONS_SET.inputmethod+=	wnn6

.include "../../mk/bsd.options.mk"

.if !empty(PKG_OPTIONS:Mcanna)
.include "../../inputmethod/canna-lib/buildlink3.mk"
KINPUT2_DEFS+=	-DUseCanna
KINPUT2_DEFS+=	-Dport_CANNASRC=${BUILDLINK_PREFIX.Canna-lib}/include
KINPUT2_DEFS+=	-Dport_CANNALIB="${LDFLAGS} -lcanna16"
.endif

#.if !empty(PKG_OPTIONS:Mwnn6)
#DEPENDS+=
#KINPUT2_DEFS+=	-DUseWnn -DUseWnn6 -Dport_WNNINCDIR=${LOCALBASE}/include/wnn \
#		-Dport_WNNLIB="${LDFLAGS} -lwnn6 -lcrypt"
#.elif !empty(PKG_OPTIONS:Mwnn4)
.if !empty(PKG_OPTIONS:Mwnn4)
.include "../../inputmethod/ja-freewnn-lib/buildlink3.mk"
KINPUT2_DEFS+=	-DUseWnn
KINPUT2_DEFS+=	-Dport_WNNINCDIR=${BUILDLINK_PREFIX.ja-FreeWnn-lib}/include/wnn
KINPUT2_DEFS+=	-Dport_WNNLIB="${LDFLAGS} -lwnn -lcrypt"
PLIST_SRC+=	${PKGDIR}/PLIST-freewnn
.endif

.if !empty(PKG_OPTIONS:Msj3)
.include "../../inputmethod/sj3-client/buildlink3.mk"
KINPUT2_DEFS+=	-DUseSj3
KINPUT2_DEFS+=	-Dport_SJ3SRC=${BUILDLINK_PREFIX.sj3-lib}/include
KINPUT2_DEFS+=	-Dport_SJ3LIB="${LDFLAGS} -lsj3lib"
PLIST_SRC+=	${PKGDIR}/PLIST-sj3
.endif