aboutsummaryrefslogtreecommitdiff
path: root/textproc/uim-qt4
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/uim-qt4')
-rw-r--r--textproc/uim-qt4/Makefile8
-rw-r--r--textproc/uim-qt4/pkg-plist3
2 files changed, 7 insertions, 4 deletions
diff --git a/textproc/uim-qt4/Makefile b/textproc/uim-qt4/Makefile
index eb7bd4823a2d..1683447a37e2 100644
--- a/textproc/uim-qt4/Makefile
+++ b/textproc/uim-qt4/Makefile
@@ -6,13 +6,12 @@
#
PKGNAMESUFFIX= -qt4
+PORTREVISION= 1
COMMENT= Qt4 modules of uim input method
LIB_DEPENDS= uim.7:${PORTSDIR}/textproc/uim
-BROKEN= bad plist
-
USE_QT_VER= 4
QT_COMPONENTS= qmake_build moc_build qt3support uic
USE_AUTOTOOLS= libtool
@@ -22,7 +21,10 @@ MASTERDIR= ${.CURDIR}/../../textproc/uim
PKGDIR= ${.CURDIR}
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-qt4 --with-qt4-immodule
-CONFIGURE_ENV= LDFLAGS="${LDFLAGS} -L${X11BASE}/lib -L${LOCALBASE}/lib -I${LOCALBASE}/include "
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
+ CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
+ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" \
+ DATADIRNAME="share"
UIM_SLAVE= yes
.if defined(WITHOUT_X11)
diff --git a/textproc/uim-qt4/pkg-plist b/textproc/uim-qt4/pkg-plist
index 3a39c4b5a87e..8a250811c532 100644
--- a/textproc/uim-qt4/pkg-plist
+++ b/textproc/uim-qt4/pkg-plist
@@ -2,9 +2,10 @@ bin/uim-chardict-qt4
bin/uim-im-switcher-qt4
bin/uim-pref-qt4
bin/uim-toolbar-qt4
-lib/locale/ja/LC_MESSAGES/uim-chardict-qt4.mo
+share/locale/ja/LC_MESSAGES/uim-chardict-qt4.mo
lib/qt4/plugins/inputmethods/libuiminputcontextplugin.so
libexec/uim-candwin-qt4
%%DATADIR%%/helperdata/bushu.t
@dirrmtry lib/qt4/plugins/inputmethods
@dirrmtry lib/qt4/plugins
+@dirrmtry %%DATADIR%%/helperdata