aboutsummaryrefslogtreecommitdiff
path: root/textproc/scim
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/scim')
-rw-r--r--textproc/scim/Makefile6
-rw-r--r--textproc/scim/pkg-plist8
2 files changed, 11 insertions, 3 deletions
diff --git a/textproc/scim/Makefile b/textproc/scim/Makefile
index 684e351eb81f..4de2ac4beca8 100644
--- a/textproc/scim/Makefile
+++ b/textproc/scim/Makefile
@@ -7,7 +7,7 @@
PORTNAME= scim
PORTVERSION= 1.4.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=scim
@@ -17,7 +17,7 @@ COMMENT= Smart Common Input Method platform
USE_GNOME= gnomehack gnomehier gtk20 intlhack
-USE_X_PREFIX= yes
+USE_XLIB= yes
USE_ICONV= yes
USE_GMAKE= yes
INSTALLS_SHLIB= yes
@@ -48,7 +48,7 @@ post-patch:
${WRKSRC}/extras/setup/Makefile.in
post-install:
- @gtk-query-immodules-2.0 > ${PREFIX}/etc/gtk-2.0/gtk.immodules
+ @gtk-query-immodules-2.0 > ${LOCALBASE}/etc/gtk-2.0/gtk.immodules
@${CAT} ${PKGMESSAGE}
@${ECHO} To display this message again, type pkg_info -D ${PKGNAME}
diff --git a/textproc/scim/pkg-plist b/textproc/scim/pkg-plist
index dd22c48a4531..22b95e8475c6 100644
--- a/textproc/scim/pkg-plist
+++ b/textproc/scim/pkg-plist
@@ -150,3 +150,11 @@ share/locale/zh_TW/LC_MESSAGES/scim.mo
@dirrm %%DATADIR%%
@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
+@dirrmtry share/locale/zh_TW/LC_MESSAGES
+@dirrmtry share/locale/zh_TW
+@dirrmtry share/locale/zh_CN/LC_MESSAGES
+@dirrmtry share/locale/zh_CN
+@dirrmtry share/locale/ko/LC_MESSAGES
+@dirrmtry share/locale/ko
+@dirrmtry share/locale/cs/LC_MESSAGES
+@dirrmtry share/locale/cs