summaryrefslogtreecommitdiff
path: root/devel/libslang2/buildlink3.mk
blob: decb464a9160321274bebca832c63f3f9bfd7acc (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
# $NetBSD: buildlink3.mk,v 1.7 2012/05/07 01:53:24 dholland Exp $

BUILDLINK_TREE+=	libslang2

.if !defined(LIBSLANG2_BUILDLINK3_MK)
LIBSLANG2_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.libslang2+=	libslang2>=2.1.3
BUILDLINK_ABI_DEPENDS.libslang2+=	libslang2>=2.2.4nb1
BUILDLINK_PKGSRCDIR.libslang2?=	../../devel/libslang2
BUILDLINK_FNAME_TRANSFORM.libslang2+=	-e 's|include/slang2/|include/|g'
BUILDLINK_TRANSFORM+=		l:slang:slang2
pkgbase:=	libslang2
.  include "../../mk/pkg-build-options.mk"

.if !empty(PKG_BUILD_OPTIONS.libslang2:Mpng)
.  include "../../graphics/png/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.libslang2:Mpcre)
.  include "../../devel/pcre/buildlink3.mk"
.endif
.if !empty(PKG_BUILD_OPTIONS.libslang2:Moniguruma)
.  include "../../textproc/oniguruma/buildlink3.mk"
.endif

.include "../../mk/termcap.buildlink3.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
.endif # LIBSLANG2_BUILDLINK3_MK

BUILDLINK_TREE+=	-libslang2