diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2014-01-04 23:27:58 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2014-01-04 23:27:58 +0000 |
commit | 7f55a2faa988e0bee4b144712abed7f0a7e5de7f (patch) | |
tree | 5094821d4832268b6a38be61f91d1a9645a988e9 /chinese/fcitx | |
parent | 808417cacbc6e2d2a221750f5e818dbfab2303f3 (diff) | |
download | ports-7f55a2faa988e0bee4b144712abed7f0a7e5de7f.tar.gz ports-7f55a2faa988e0bee4b144712abed7f0a7e5de7f.zip |
Notes
Diffstat (limited to 'chinese/fcitx')
-rw-r--r-- | chinese/fcitx/Makefile | 20 | ||||
-rw-r--r-- | chinese/fcitx/pkg-plist | 17 |
2 files changed, 14 insertions, 23 deletions
diff --git a/chinese/fcitx/Makefile b/chinese/fcitx/Makefile index 1acc6905af7e..c120c4b8581b 100644 --- a/chinese/fcitx/Makefile +++ b/chinese/fcitx/Makefile @@ -22,8 +22,6 @@ LIB_DEPENDS= libexecinfo.so:${PORTSDIR}/devel/libexecinfo \ libicuuc.so:${PORTSDIR}/devel/icu RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils -MAN1= createPYMB.1 fcitx-remote.1 fcitx.1 mb2org.1 mb2txt.1 \ - readPYBase.1 readPYMB.1 scel2org.1 txt2mb.1 SUB_FILES= pkg-message SUB_LIST+= PORTSDIR=${PORTSDIR} @@ -33,7 +31,7 @@ USE_XZ= yes USE_GNOME= pango intltool libxml2 introspection USE_XORG= x11 xext xkbfile USE_LDCONFIG= yes -USES= cmake gettext iconv pathfix pkgconfig +USES= cmake desktop-file-utils gettext iconv pathfix pkgconfig shared-mime-info INSTALLS_ICONS= yes LDFLAGS+= -L${LOCALBASE}/lib ${ICONV_LIB} @@ -46,7 +44,6 @@ QT4_DESC= Enable Qt4 IM module OPENCC_DESC= Enable OpenCC for Chinese Transform TPUNC_DESC= Use traditional quotation marks -NO_STAGE= yes .include <bsd.port.options.mk> CMAKE_ARGS+= -DENABLE_XDGAUTOSTART=OFF -DFORCE_ENCHANT=ON @@ -95,10 +92,6 @@ CMAKE_ARGS+= -DENABLE_DEBUG=ON DOCS_EXTRA_PATCHES= ${FILESDIR}/nodocs-doc_CMakeLists.txt -.if defined(NOPORTDATA) -IGNORE= code tables are required, undefine NOPORTDATA -.endif - _DICT_VER= 20120815 post-patch: @@ -111,15 +104,4 @@ EXTRA_PATCHES+= ${FILESDIR}/getline-src_lib_fcitx-utils_utils.c \ ${FILESDIR}/getline-src_lib_fcitx-utils_utils.h .endif -post-install: -.if ${PORT_OPTIONS:MGTK2} - -${LOCALBASE}/bin/gtk-query-immodules-2.0 > ${LOCALBASE}/etc/gtk-2.0/gtk.immodules -.endif -.if ${PORT_OPTIONS:MGTK3} - -${LOCALBASE}/bin/gtk-query-immodules-3.0 > ${LOCALBASE}/lib/gtk-3.0/${GTK3_VERSION}/immodules.cache -.endif - @${ECHO_CMD} - @${CAT} ${PKGMESSAGE} - @${ECHO_CMD} - .include <bsd.port.mk> diff --git a/chinese/fcitx/pkg-plist b/chinese/fcitx/pkg-plist index bebc6a3eec88..1cb651fe4db8 100644 --- a/chinese/fcitx/pkg-plist +++ b/chinese/fcitx/pkg-plist @@ -84,13 +84,22 @@ lib/libfcitx-utils.so lib/libfcitx-utils.so.0 lib/libfcitx-utils.so.0.1 lib/girepository-1.0/Fcitx-1.0.typelib +man/man1/createPYMB.1.gz +man/man1/fcitx-remote.1.gz +man/man1/fcitx.1.gz +man/man1/mb2org.1.gz +man/man1/mb2txt.1.gz +man/man1/readPYBase.1.gz +man/man1/readPYMB.1.gz +man/man1/scel2org.1.gz +man/man1/txt2mb.1.gz share/gir-1.0/Fcitx-1.0.gir %%GTK2%%lib/gtk-2.0/%%GTK2_VERSION%%/immodules/im-fcitx.so -%%GTK2%%@exec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 > %%LOCALBASE%%/etc/gtk-2.0/gtk.immodules -%%GTK2%%@unexec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 > %%LOCALBASE%%/etc/gtk-2.0/gtk.immodules +%%GTK2%%@exec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache +%%GTK2%%@unexec %%LOCALBASE%%/bin/gtk-query-immodules-2.0 --update-cache %%GTK3%%lib/gtk-3.0/%%GTK3_VERSION%%/immodules/im-fcitx.so -%%GTK3%%@exec %%LOCALBASE%%/bin/gtk-query-immodules-3.0 > %%LOCALBASE%%/lib/gtk-3.0/%%GTK3_VERSION%%/immodules.cache -%%GTK3%%@unexec %%LOCALBASE%%/bin/gtk-query-immodules-3.0 > %%LOCALBASE%%/lib/gtk-3.0/%%GTK3_VERSION%%/immodules.cache +%%GTK3%%@exec %%LOCALBASE%%/bin/gtk-query-immodules-3.0 --update-cache +%%GTK3%%@unexec %%LOCALBASE%%/bin/gtk-query-immodules-3.0 --update-cache %%QT4%%lib/qt4/plugins/inputmethods/libqtim-fcitx.so %%QT4%%@dirrmtry lib/qt4/plugins/inputmethods %%QT4%%@dirrmtry lib/qt4/plugins |