[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / inputmethod / uim

File: [cvs.NetBSD.org] / pkgsrc / inputmethod / uim / Makefile (download)

Revision 1.65, Sat Sep 15 12:05:00 2012 UTC (7 years, 10 months ago) by obache
Branch: MAIN
CVS Tags: pkgsrc-2012Q3-base
Branch point for: pkgsrc-2012Q3
Changes since 1.64: +2 -3 lines

Update uim to 1.8.2.
PR 46840 by YAMASHIRO, Jun.
added comments to patches from mef@.

Overview of changes from 1.8.1 to 1.8.2
=======================================
* Fixes
  - uim-gtk3
    * Avoid problem with the wrap mode
    * Prevent selection if needed

  - uim-tutcode
    * Fix error when label key is typed just after entering
      interactive bushu mode
    * Fix error on auto help after bushu conversion for some kanji
    * Fix mismatch between preedit display and pending keys after focus out

* Enhancements
  - uim-skk
    * Support sticky key

* Others
  - uim-candwin-qt4
  - uim-chardict-qt4
  - uim-pref-qt4
  - uim-im-switcher-qt4
  - uim-toolbar-qt4
  - uim-qt4
    * Honor CPPFLAGS in compilation

  - uim-candiwn-gtk3
  - uim-dict-gtk3
  - uim-input-pad-ja-gtk3
  - uim-pref-gtk3
  - uim-im-switcher-gtk3
  - uim-toolbar-gtk3
  - uim-gtk3
    * Replace deprecated functions

# $NetBSD: Makefile,v 1.65 2012/09/15 12:05:00 obache Exp $
#

.include "../../inputmethod/uim/Makefile.common"

COMMENT=		Multilingual input method library
#LICENSE=		See ${WRKSRC}/COPYING

CONFLICTS+=		uim-qt4-immodule-[0-9]*

PKG_DESTDIR_SUPPORT=	user-destdir

USE_LIBTOOL=		YES
USE_PKGLOCALEDIR=	YES
USE_TOOLS+=		gmake intltool pkg-config msgfmt
USE_LANGUAGES=		c c++
PKGCONFIG_OVERRIDE+=	${WRKSRC}/uim.pc.in
GNU_CONFIGURE=		YES
CONFIGURE_ARGS+=	--disable-emacs
CONFIGURE_ARGS+=	--with-libgcroots=installed

.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "SunOS"
MAKE_ENV+=	SunOS_LDFLAGS="-shared -mimpure-text"
CFLAGS.SunOS+=	-std=c99 -D__EXTENSIONS__
.endif

.include "options.mk"

PLIST_VARS+=		editline
CHECK_BUILTIN.readline:=	yes
.include "../../devel/readline/builtin.mk"
CHECK_BUILTIN.readline:=	no

.if !empty(BUILTIN_LIB_FOUND.edit:M[yY][eE][sS])
PLIST.editline=		yes
.else
CONFIGURE_ARGS+=	--with-libedit=no
.endif

INSTALLATION_DIRS+=	share/doc/uim

post-install:
	${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/uim
	${INSTALL_DATA} ${WRKSRC}/doc/COMPATIBILITY ${DESTDIR}${PREFIX}/share/doc/uim
	${INSTALL_DATA} ${WRKSRC}/doc/CUSTOM ${DESTDIR}${PREFIX}/share/doc/uim
	${INSTALL_DATA} ${WRKSRC}/doc/DOT-UIM ${DESTDIR}${PREFIX}/share/doc/uim
	${INSTALL_DATA} ${WRKSRC}/doc/HELPER-CANDWIN ${DESTDIR}${PREFIX}/share/doc/uim
	${INSTALL_DATA} ${WRKSRC}/doc/HELPER-PROTOCOL ${DESTDIR}${PREFIX}/share/doc/uim
	${INSTALL_DATA} ${WRKSRC}/doc/KEY ${DESTDIR}${PREFIX}/share/doc/uim
	${INSTALL_DATA} ${WRKSRC}/doc/PLUGIN ${DESTDIR}${PREFIX}/share/doc/uim
	${INSTALL_DATA} ${WRKSRC}/doc/UIM-SCM ${DESTDIR}${PREFIX}/share/doc/uim
	${INSTALL_DATA} ${WRKSRC}/doc/UIM-SH ${DESTDIR}${PREFIX}/share/doc/uim

.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
BUILDLINK_API_DEPENDS.libgcroots+=	libgcroots>=0.2.3
.include "../../devel/libgcroots/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"