aboutsummaryrefslogtreecommitdiff
path: root/textproc/uim-gtk3/Makefile
blob: 2322c6d5cb2fd48e2b239797946a8770035fcc34 (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: MANTANI Nobutaka <nobutaka@FreeBSD.org>

PKGNAMESUFFIX=	-gtk3

COMMENT=	GTK+ 3.x modules of uim input method

USE_GNOME=	cairo gdkpixbuf2 gtk30
LIB_DEPENDS=	libuim.so:textproc/uim

MASTERDIR=	${.CURDIR}/../../textproc/uim
PKGDIR=		${.CURDIR}
CONFIGURE_ARGS=	--with-gtk3 --enable-pref --enable-default-toolkit=gtk3

UIM_SLAVE=	yes

EXTRA_PATCHES=	${PATCHDIR}/extra-patch-gtk3_candwin_Makefile.in \
		${PATCHDIR}/extra-patch-gtk3_dict_Makefile.in \
		${PATCHDIR}/extra-patch-gtk3_immodule_Makefile.in \
		${PATCHDIR}/extra-patch-gtk3_pad_Makefile.in \
		${PATCHDIR}/extra-patch-gtk3_pref_Makefile.in \
		${PATCHDIR}/extra-patch-gtk3_switcher_Makefile.in \
		${PATCHDIR}/extra-patch-gtk3_toolbar_Makefile.in

.if defined(WITHOUT_X11)
IGNORE=		requires X11
.endif

do-build:
	(cd ${WRKSRC}/uim && ${MAKE_CMD} libuim-x-util.la libuim-counted-init.la)
	(cd ${WRKSRC}/gtk3 && ${MAKE_CMD})

do-install:
	(cd ${WRKSRC}/gtk3 && ${MAKE_CMD} DESTDIR=${STAGEDIR} install)

.include "${MASTERDIR}/Makefile"