summaryrefslogtreecommitdiff
path: root/x11/wxGTK32/buildlink3.mk
blob: 76bd6d731ca53c4f52001cf447279b9054338b3c (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
# $NetBSD: buildlink3.mk,v 1.2 2022/08/11 05:09:34 gutteridge Exp $

BUILDLINK_TREE+=	wxGTK32

.if !defined(WXGTK32_BUILDLINK3_MK)
WXGTK32_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.wxGTK32+=	wxGTK32>=3.2
BUILDLINK_ABI_DEPENDS.wxGTK32?=	wxGTK32>=3.2.0nb5
BUILDLINK_PKGSRCDIR.wxGTK32?=	../../x11/wxGTK32

BUILDLINK_INCDIRS.wxGTK32+=	include/wx-3.2
PREPEND_PATH+=			${PREFIX}/libexec/wx-3.2
CONFIGURE_ARGS+=		--with-wx-version=3.2
CONFIGURE_ARGS+=		--with-wx-config=${PREFIX}/libexec/wx-3.2/wx-config

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

.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.if ${OPSYS} != "Darwin"
.include "../../x11/gtk3/buildlink3.mk"
.endif
.endif # WXGTK32_BUILDLINK3_MK

BUILDLINK_TREE+=	-wxGTK32