aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobutaka <nobutaka@FreeBSD.org>2006-04-27 02:02:49 +0800
committernobutaka <nobutaka@FreeBSD.org>2006-04-27 02:02:49 +0800
commit65b99905a337e4f03cf7797107fe2e188b9e6836 (patch)
tree3cc00db4481950a43915faaf402130f7fd23dc37
parent54337ad2d02e7aabde7ca9793bbf95691c338aee (diff)
downloadfreebsd-ports-gnome-65b99905a337e4f03cf7797107fe2e188b9e6836.tar.gz
freebsd-ports-gnome-65b99905a337e4f03cf7797107fe2e188b9e6836.tar.zst
freebsd-ports-gnome-65b99905a337e4f03cf7797107fe2e188b9e6836.zip
Install uim-candwin-gtk from textproc/uim port for uim-xim.
-rw-r--r--textproc/uim-gtk/Makefile2
-rw-r--r--textproc/uim-gtk/pkg-plist1
-rw-r--r--textproc/uim/Makefile16
-rw-r--r--textproc/uim/pkg-plist2
4 files changed, 16 insertions, 5 deletions
diff --git a/textproc/uim-gtk/Makefile b/textproc/uim-gtk/Makefile
index 0669098ea04e..07a147bb7692 100644
--- a/textproc/uim-gtk/Makefile
+++ b/textproc/uim-gtk/Makefile
@@ -20,6 +20,6 @@ UIM_SLAVE= yes
do-install:
(cd ${WRKSRC}/gtk && ${GMAKE} install)
- (cd ${WRKSRC}/helper && ${GMAKE} install)
+ (cd ${WRKSRC}/helper && ${GMAKE} install-binPROGRAMS install-exec-hook-gtk2)
.include "${MASTERDIR}/Makefile"
diff --git a/textproc/uim-gtk/pkg-plist b/textproc/uim-gtk/pkg-plist
index 0e26dd2b384c..3eabceb9dcb9 100644
--- a/textproc/uim-gtk/pkg-plist
+++ b/textproc/uim-gtk/pkg-plist
@@ -8,6 +8,5 @@ bin/uim-toolbar-gtk-systray
lib/gtk-2.0/2.4.0/immodules/im-uim.a
lib/gtk-2.0/2.4.0/immodules/im-uim.la
lib/gtk-2.0/2.4.0/immodules/im-uim.so
-libexec/uim-candwin-gtk
@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
diff --git a/textproc/uim/Makefile b/textproc/uim/Makefile
index f989e1624903..46981f61db24 100644
--- a/textproc/uim/Makefile
+++ b/textproc/uim/Makefile
@@ -7,7 +7,7 @@
PORTNAME= uim
PORTVERSION= 1.0.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES?= textproc
MASTER_SITES= http://uim.freedesktop.org/releases/
@@ -22,11 +22,14 @@ USE_GNOME+= gnometarget glib20
USE_GMAKE= yes
USE_ICONV= yes
GNU_CONFIGURE= yes
+.if !defined(UIM_SLAVE)
+USE_GNOME+= gtk20
+.endif
LIB_DEPENDS+= Xft.2:${PORTSDIR}/x11-fonts/libXft
.if !defined(UIM_SLAVE)
-CONFIGURE_ARGS= --enable-emacs
+CONFIGURE_ARGS= --enable-emacs --with-gtk2
.endif
CONFIGURE_ENV+= CPPFLAGS="-I${X11BASE}/include -I${LOCALBASE}/include" \
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib"
@@ -79,6 +82,15 @@ pre-everything::
post-patch:
${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},' ${WRKSRC}/scm/skk-custom.scm
+do-install:
+.if !defined(UIM_SLAVE)
+ cd ${WRKSRC} && ${GMAKE} install-data-am
+.for d in uim scm xim po fep emacs pixmaps
+ cd ${WRKSRC}/${d} && ${GMAKE} install
+.endfor
+ cd ${WRKSRC}/helper && ${GMAKE} install-libexecPROGRAMS
+.endif
+
.if !defined(UIM_SLAVE) && !defined(NOPORTDOCS)
post-install:
${MKDIR} ${DOCSDIR}
diff --git a/textproc/uim/pkg-plist b/textproc/uim/pkg-plist
index 6ae53b2567c0..f2950bd9120c 100644
--- a/textproc/uim/pkg-plist
+++ b/textproc/uim/pkg-plist
@@ -27,11 +27,11 @@ lib/uim/plugin/libuim-skk.a
lib/uim/plugin/libuim-skk.la
lib/uim/plugin/libuim-skk.so
libdata/pkgconfig/uim.pc
+libexec/uim-candwin-gtk
libexec/uim-helper-server
share/applications/uim.desktop
share/locale/fr/LC_MESSAGES/uim.mo
share/locale/ja/LC_MESSAGES/uim.mo
-share/locale/ja/LC_MESSAGES/uim-chardict-qt.mo
share/locale/ko/LC_MESSAGES/uim.mo
%%PORTDOCS%%%%DOCSDIR_JA%%/README.fep
%%PORTDOCS%%%%DOCSDIR%%/KEY