From 4e658b4768013483e0637789df73e0ec28333be4 Mon Sep 17 00:00:00 2001 From: ahze Date: Wed, 4 Oct 2006 22:27:49 +0000 Subject: LOCALBASE git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7566 df743ca5-7f9a-e211-a948-0013205c9059 --- japanese/uim-anthy/Makefile | 53 ++++++++++++++++++++++++++++++++++++++++++++ japanese/uim-anthy/pkg-descr | 3 +++ japanese/uim-anthy/pkg-plist | 6 +++++ 3 files changed, 62 insertions(+) create mode 100644 japanese/uim-anthy/Makefile create mode 100644 japanese/uim-anthy/pkg-descr create mode 100644 japanese/uim-anthy/pkg-plist (limited to 'japanese') diff --git a/japanese/uim-anthy/Makefile b/japanese/uim-anthy/Makefile new file mode 100644 index 000000000..ea7bdffa8 --- /dev/null +++ b/japanese/uim-anthy/Makefile @@ -0,0 +1,53 @@ +# New ports collection makefile for: ja-uim-anthy +# Date created: 31 August 2003 +# Whom: MANTANI Nobutaka +# +# $FreeBSD: ports/japanese/uim-anthy/Makefile,v 1.5 2006/09/03 14:09:22 nobutaka Exp $ +# + +CATEGORIES= japanese +.if defined(WITHOUT_X11) +PKGNAMESUFFIX= -anthy-nox11 +.else +PKGNAMESUFFIX= -anthy +.endif + +COMMENT= Uim plugin using Anthy input method + +.if !defined(WITHOUT_X11) +USE_GNOME= gtk20 +.endif + +LIB_DEPENDS= anthy.1:${PORTSDIR}/japanese/anthy \ + uim.3:${PORTSDIR}/textproc/uim + +MASTERDIR= ${.CURDIR}/../../textproc/uim +PKGDIR= ${.CURDIR} +CONFIGURE_ARGS= --with-anthy + +.if !defined(WITHOUT_X11) +CONFIGURE_ARGS+= --with-gtk2 -enable-dict +.endif + +UIM_SLAVE= yes + +EXTRA_PATCHES= ${PATCHDIR}/extra-patch-uim_Makefile.in \ + ${PATCHDIR}/extra-patch-helper_Makefile.in + +do-build: + (cd ${WRKSRC}/uim && ${GMAKE} libuim-anthy.la) +.if !defined(WITHOUT_X11) + (cd ${WRKSRC}/helper && ${GMAKE} LIBS="-luim" uim-dict-gtk) +.endif + +do-install: + (cd ${WRKSRC}/uim && \ + ${GMAKE} uim_plugin_LTLIBRARIES=libuim-anthy.la install-uim_pluginLTLIBRARIES) +.if !defined(WITHOUT_X11) + (cd ${WRKSRC}/helper && ${GMAKE} bin_PROGRAMS=uim-dict-gtk install-binPROGRAMS) +.endif + +post-install: + ${LOCALBASE}/bin/uim-module-manager --register anthy + +.include "${MASTERDIR}/Makefile" diff --git a/japanese/uim-anthy/pkg-descr b/japanese/uim-anthy/pkg-descr new file mode 100644 index 000000000..aebe6ac8d --- /dev/null +++ b/japanese/uim-anthy/pkg-descr @@ -0,0 +1,3 @@ +uim plugin using Anthy input method. + +WWW: http://uim.freedesktop.org/wiki/ diff --git a/japanese/uim-anthy/pkg-plist b/japanese/uim-anthy/pkg-plist new file mode 100644 index 000000000..1cd2cccad --- /dev/null +++ b/japanese/uim-anthy/pkg-plist @@ -0,0 +1,6 @@ +%%X11%%bin/uim-dict-gtk +lib/uim/plugin/libuim-anthy.a +lib/uim/plugin/libuim-anthy.la +lib/uim/plugin/libuim-anthy.so +@exec uim-module-manager --register anthy +@unexec uim-module-manager --unregister anthy -- cgit v1.2.3