blob: 11b512fdcd03b7e4ef92ebdb52e14788e6234115 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
PORTNAME= fcitx-skk
PORTVERSION= 0.1.4
PORTREVISION= 3
CATEGORIES= japanese
MASTER_SITES= http://download.fcitx-im.org/${PORTNAME}/
DIST_SUBDIR= fcitx
MAINTAINER= hiroto.kagotani@gmail.com
COMMENT= SKK support for Fcitx
LICENSE= GPLv3
RUN_DEPENDS= ${LOCALBASE}/share/skk/SKK-JISYO.L:japanese/skk-jisyo
LIB_DEPENDS= libfcitx-config.so:chinese/fcitx \
libskk.so:japanese/libskk
BUILD_DEPENDS= bash:shells/bash
USES= cmake compiler:c++11-lang gettext gnome pkgconfig tar:xz
INSTALLS_ICONS= yes
CMAKE_ARGS+= -DSKK_DEFAULT_PATH=${LOCALBASE}/share/skk/SKK-JISYO.L
OPTIONS_DEFINE= QT5
OPTIONS_DEFAULT=QT5
QT5_DESC= Enable Qt for GUI configuration
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MQT5}
USES+= qt:5
USE_QT= buildtools_build qmake_build gui widgets
USE_LDCONFIG= ${PREFIX}/lib/fcitx/qt
PLIST_SUB+= QT5=""
LIB_DEPENDS+= libFcitxQt5WidgetsAddons.so:textproc/fcitx-qt5
.else
CMAKE_ARGS+= -DENABLE_QT=OFF
PLIST_SUB+= QT5="@comment "
.endif
.include <bsd.port.mk>
|