Lines 2-9
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= fcitx |
4 |
PORTNAME= fcitx |
5 |
PORTVERSION= 4.2.8.6 |
5 |
PORTVERSION= 4.2.9.1 |
6 |
PORTREVISION= 1 |
|
|
7 |
CATEGORIES= chinese x11 |
6 |
CATEGORIES= chinese x11 |
8 |
MASTER_SITES= http://download.fcitx-im.org/fcitx/:fcitx \ |
7 |
MASTER_SITES= http://download.fcitx-im.org/fcitx/:fcitx \ |
9 |
http://download.fcitx-im.org/data/:data |
8 |
http://download.fcitx-im.org/data/:data |
Lines 21-29
COMMENT= Flexible Input Method Framework
Link Here
|
21 |
|
20 |
|
22 |
LICENSE= GPLv2 |
21 |
LICENSE= GPLv2 |
23 |
|
22 |
|
24 |
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes |
23 |
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes \ |
25 |
LIB_DEPENDS= libdbus-1.so:devel/dbus \ |
24 |
${LOCALBASE}/share/ECM/cmake/ECMConfig.cmake:devel/extra-cmake-modules |
26 |
libicuuc.so:devel/icu |
25 |
LIB_DEPENDS= libcairo.so:graphics/cairo \ |
|
|
26 |
libdbus-1.so:devel/dbus \ |
27 |
libicuuc.so:devel/icu \ |
28 |
libXfixes.so:x11/libXfixes \ |
29 |
libXinerama.so:x11/libXinerama \ |
30 |
libXrender.so:x11/libXrender \ |
31 |
libxkbcommon.so:x11/libxkbcommon |
27 |
RUN_DEPENDS= xdg-open:devel/xdg-utils |
32 |
RUN_DEPENDS= xdg-open:devel/xdg-utils |
28 |
|
33 |
|
29 |
SUB_FILES= pkg-message |
34 |
SUB_FILES= pkg-message |
Lines 40-48
INSTALLS_ICONS= yes
Link Here
|
40 |
|
45 |
|
41 |
OPTIONS_DEFINE= GTK2 GTK3 QT4 OPENCC TPUNC DOCS |
46 |
OPTIONS_DEFINE= GTK2 GTK3 QT4 OPENCC TPUNC DOCS |
42 |
OPTIONS_DEFAULT=GTK2 QT4 |
47 |
OPTIONS_DEFAULT=GTK2 QT4 |
|
|
48 |
OPTIONS_SUB= yes |
43 |
|
49 |
|
44 |
GTK2_DESC= Enable Gtk2 IM module |
50 |
GTK2_DESC= Enable Gtk2 IM module |
|
|
51 |
GTK2_USE_GNOME= gtk20 |
52 |
GTK2_CMAKE_ON= -DENABLE_GTK2_IM_MODULE=ON |
53 |
|
45 |
GTK3_DESC= Enable Gtk3 IM module |
54 |
GTK3_DESC= Enable Gtk3 IM module |
|
|
55 |
GTK3_USE_GNOME= gtk30 |
56 |
GTK3_CMAKE_ON= -DENABLE_GTK3_IM_MODULE=ON |
57 |
|
46 |
QT4_DESC= Enable Qt4 IM module |
58 |
QT4_DESC= Enable Qt4 IM module |
47 |
OPENCC_DESC= Enable OpenCC for Chinese Transform |
59 |
OPENCC_DESC= Enable OpenCC for Chinese Transform |
48 |
TPUNC_DESC= Use traditional quotation marks |
60 |
TPUNC_DESC= Use traditional quotation marks |
Lines 59-77
CMAKE_ARGS+= -DENABLE_XDGAUTOSTART=OFF -DFORCE_ENCHANT=ON \
Link Here
|
59 |
-DPREFIX=${PREFIX} \ |
71 |
-DPREFIX=${PREFIX} \ |
60 |
-DQT_PLUGINS_DIR=${PREFIX}/lib/qt4/plugins |
72 |
-DQT_PLUGINS_DIR=${PREFIX}/lib/qt4/plugins |
61 |
|
73 |
|
|
|
74 |
|
62 |
.if ${PORT_OPTIONS:MGTK2} |
75 |
.if ${PORT_OPTIONS:MGTK2} |
63 |
USE_GNOME+= gtk20 |
|
|
64 |
PLIST_SUB+= GTK2="" |
65 |
SUB_LIST+= GTK2_IM=fcitx |
76 |
SUB_LIST+= GTK2_IM=fcitx |
66 |
.else |
77 |
.else |
67 |
CMAKE_ARGS+= -DENABLE_GTK2_IM_MODULE=OFF |
|
|
68 |
PLIST_SUB+= GTK2="@comment " |
69 |
SUB_LIST+= GTK2_IM=xim |
78 |
SUB_LIST+= GTK2_IM=xim |
70 |
.endif |
79 |
.endif |
71 |
|
80 |
|
72 |
.if ${PORT_OPTIONS:MGTK3} |
81 |
.if ${PORT_OPTIONS:MGTK3} |
73 |
USE_GNOME+= gtk30 |
|
|
74 |
CMAKE_ARGS+= -DENABLE_GTK3_IM_MODULE=ON |
75 |
PLIST_SUB+= GTK3="" |
82 |
PLIST_SUB+= GTK3="" |
76 |
SUB_LIST+= GTK3_IM=fcitx |
83 |
SUB_LIST+= GTK3_IM=fcitx |
77 |
.else |
84 |
.else |