diff options
author | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-05 06:27:49 +0800 |
---|---|---|
committer | ahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059> | 2006-10-05 06:27:49 +0800 |
commit | 4e658b4768013483e0637789df73e0ec28333be4 (patch) | |
tree | 0ec73ce7729a2fcc43d263e1f3690729ea709c3c /japanese | |
parent | 32e47dfc21a326d0bbe41c436f43d8612c57a926 (diff) | |
download | marcuscom-ports-4e658b4768013483e0637789df73e0ec28333be4.tar.gz marcuscom-ports-4e658b4768013483e0637789df73e0ec28333be4.tar.zst marcuscom-ports-4e658b4768013483e0637789df73e0ec28333be4.zip |
LOCALBASE
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7566 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/uim-anthy/Makefile | 53 | ||||
-rw-r--r-- | japanese/uim-anthy/pkg-descr | 3 | ||||
-rw-r--r-- | japanese/uim-anthy/pkg-plist | 6 |
3 files changed, 62 insertions, 0 deletions
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 <nobutaka@FreeBSD.org> +# +# $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 |