summaryrefslogtreecommitdiffstats
path: root/textproc/uim-gtk
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-30 10:49:26 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-09-30 10:49:26 +0800
commitfcf97a650cf9ccdecab91c6ec65cf047d6a6edd0 (patch)
tree09892fae7c48d40f5dc155f1e815e73366292d07 /textproc/uim-gtk
parentbc67d7463e59b18d78956f56225625be4edcb50c (diff)
downloadmarcuscom-ports-fcf97a650cf9ccdecab91c6ec65cf047d6a6edd0.tar
marcuscom-ports-fcf97a650cf9ccdecab91c6ec65cf047d6a6edd0.tar.gz
marcuscom-ports-fcf97a650cf9ccdecab91c6ec65cf047d6a6edd0.tar.bz2
marcuscom-ports-fcf97a650cf9ccdecab91c6ec65cf047d6a6edd0.tar.lz
marcuscom-ports-fcf97a650cf9ccdecab91c6ec65cf047d6a6edd0.tar.xz
marcuscom-ports-fcf97a650cf9ccdecab91c6ec65cf047d6a6edd0.tar.zst
marcuscom-ports-fcf97a650cf9ccdecab91c6ec65cf047d6a6edd0.zip
GTK2_VERSION & LOCALBASE
Spotted by: pointyhat git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7379 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'textproc/uim-gtk')
-rw-r--r--textproc/uim-gtk/Makefile37
-rw-r--r--textproc/uim-gtk/pkg-descr3
-rw-r--r--textproc/uim-gtk/pkg-plist10
3 files changed, 50 insertions, 0 deletions
diff --git a/textproc/uim-gtk/Makefile b/textproc/uim-gtk/Makefile
new file mode 100644
index 000000000..437f420b9
--- /dev/null
+++ b/textproc/uim-gtk/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: uim-gtk
+# Date created: 31 August 2003
+# Whom: MANTANI Nobutaka <nobutaka@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTREVISION= 1
+PKGNAMESUFFIX= -gtk
+
+COMMENT= GTK+ modules of uim input method
+
+USE_GNOME= gtk20
+LIB_DEPENDS= uim.3:${PORTSDIR}/textproc/uim
+
+MASTERDIR= ${.CURDIR}/../../textproc/uim
+PKGDIR= ${.CURDIR}
+CONFIGURE_ARGS= --with-gtk2
+
+UIM_SLAVE= yes
+
+EXTRA_PATCHES= ${PATCHDIR}/extra-patch-gtk_Makefile.in \
+ ${PATCHDIR}/extra-patch-helper_Makefile.in
+
+.if defined(WITHOUT_X11)
+IGNORE= requires X11
+.endif
+
+do-build:
+ (cd ${WRKSRC}/gtk && ${GMAKE} LIBS="-luim")
+ (cd ${WRKSRC}/helper && ${GMAKE} LIBS="-luim -luim-custom")
+
+do-install:
+ (cd ${WRKSRC}/gtk && ${GMAKE} install)
+ (cd ${WRKSRC}/helper && ${GMAKE} install-binPROGRAMS)
+
+.include "${MASTERDIR}/Makefile"
diff --git a/textproc/uim-gtk/pkg-descr b/textproc/uim-gtk/pkg-descr
new file mode 100644
index 000000000..fc78ed82a
--- /dev/null
+++ b/textproc/uim-gtk/pkg-descr
@@ -0,0 +1,3 @@
+GTK+ modules of uim input method.
+
+WWW: http://uim.freedesktop.org/wiki/
diff --git a/textproc/uim-gtk/pkg-plist b/textproc/uim-gtk/pkg-plist
new file mode 100644
index 000000000..93c6650cd
--- /dev/null
+++ b/textproc/uim-gtk/pkg-plist
@@ -0,0 +1,10 @@
+bin/uim-im-switcher-gtk
+bin/uim-input-pad-ja
+bin/uim-pref-gtk
+bin/uim-toolbar-gtk
+bin/uim-toolbar-gtk-systray
+lib/gtk-2.0/%%GTK2_VERSION%%/immodules/im-uim.a
+lib/gtk-2.0/%%GTK2_VERSION%%/immodules/im-uim.la
+lib/gtk-2.0/%%GTK2_VERSION%%/immodules/im-uim.so
+@exec gtk-query-immodules-2.0 > %D/etc/gtk-2.0/gtk.immodules
+@unexec gtk-query-immodules-2.0 > %D/etc/gtk-2.0/gtk.immodules