aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/fcitx-configtool/Makefile
blob: 5e27e7973db45061d88ed81e0104b819d5fbc6eb (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
# Created by: Zhihao Yuan <lichray@gmail.com>
# $FreeBSD$

PORTNAME=   fcitx-configtool
PORTVERSION=    0.4.9
CATEGORIES= chinese x11
MASTER_SITES=   http://download.fcitx-im.org/${PORTNAME}/
DIST_SUBDIR=    fcitx

MAINTAINER= lichray@gmail.com
COMMENT=    Fcitx IM framework configuration tool

LICENSE=    GPLv2

BUILD_DEPENDS=  ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes \
        ${LOCALBASE}/libdata/pkgconfig/dbus-glib-1.pc:devel/dbus-glib
LIB_DEPENDS=    libfcitx-config.so:chinese/fcitx

USE_GNOME=  intltool
USES=       cmake gettext pkgconfig tar:xz
LDFLAGS+=   -lintl

OPTIONS_SINGLE= UI
UI_DESC=    Gtk version to use
OPTIONS_SINGLE_UI=  GTK2 GTK3
OPTIONS_DEFAULT=GTK2
OPTIONS_SUB=    yes

GTK2_CMAKE_ON=  -DENABLE_GTK2=ON
GTK2_USE=   GNOME=gtk20

GTK3_USE=   GNOME=gtk30
GTK3_CMAKE_OFF= -DENABLE_GTK3=OFF

.include <bsd.port.mk>