summaryrefslogtreecommitdiff
path: root/devel/m17n-lib/buildlink3.mk
blob: b92d34e8beb0a6bb4783359b0d9106851a4b3abf (plain)
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
# $NetBSD: buildlink3.mk,v 1.26 2020/08/17 20:17:24 leot Exp $

BUILDLINK_TREE+=	m17n-lib

.if !defined(M17N_LIB_BUILDLINK3_MK)
M17N_LIB_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.m17n-lib+=	m17n-lib>=1.5.1
BUILDLINK_ABI_DEPENDS.m17n-lib+=	m17n-lib>=1.8.0nb3
BUILDLINK_PKGSRCDIR.m17n-lib?=		../../devel/m17n-lib

pkgbase := m17n-lib
.include "../../mk/pkg-build-options.mk"

.if !empty(PKG_BUILD_OPTIONS.m17n-lib:Manthy)
.include "../../inputmethod/anthy/buildlink3.mk"
.endif

.if !empty(PKG_BUILD_OPTIONS.m17n-lib:Mx11)
.include "../../fonts/fontconfig/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../graphics/gd/buildlink3.mk"
.include "../../graphics/libotf/buildlink3.mk"
.include "../../x11/libXft/buildlink3.mk"
.endif

.if !empty(PKG_BUILD_OPTIONS.m17n-lib:Mlibthai)
.include "../../devel/libthai/buildlink3.mk"
.endif

.include "../../converters/fribidi/buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../misc/m17n-db/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.endif # M17N_LIB_BUILDLINK3_MK

BUILDLINK_TREE+=	-m17n-lib