summaryrefslogtreecommitdiff
path: root/graphics/osg/buildlink3.mk
blob: 6f65c5cb78d698d6a39e5bce6c2d189714035d36 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# $NetBSD: buildlink3.mk,v 1.92 2020/11/05 09:06:56 ryoon Exp $

BUILDLINK_TREE+=	osg

.if !defined(OSG_BUILDLINK3_MK)
OSG_BUILDLINK3_MK:=

BUILDLINK_API_DEPENDS.osg+=	osg>=2.8.3
BUILDLINK_ABI_DEPENDS.osg+=	osg>=3.4.1nb35
BUILDLINK_PKGSRCDIR.osg?=	../../graphics/osg

.include "../../mk/bsd.fast.prefs.mk"

.if ${OPSYS} != "Darwin"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/giflib/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/tiff/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.endif

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

.if !empty(PKG_BUILD_OPTIONS.osg:Mcurl)
.include "../../www/curl/buildlink3.mk"
.endif

.if !empty(PKG_BUILD_OPTIONS.osg:Mffmpeg)
.include "../../multimedia/ffmpeg4/buildlink3.mk"
.endif

.if !empty(PKG_BUILD_OPTIONS.osg:Mfreetype)
.include "../../graphics/freetype2/buildlink3.mk"
.endif

.if !empty(PKG_BUILD_OPTIONS.osg:Mgdal)
.include "../../geography/gdal-lib/buildlink3.mk"
.endif

.if !empty(PKG_BUILD_OPTIONS.osg:Mjasper)
.include "../../graphics/jasper/buildlink3.mk"
.endif

.if !empty(PKG_BUILD_OPTIONS.osg:Mlua)
.include "../../lang/lua52/buildlink3.mk"
.endif

.if !empty(PKG_BUILD_OPTIONS.osg:Mopenexr)
.include "../../graphics/openexr/buildlink3.mk"
.endif

.if !empty(PKG_BUILD_OPTIONS.osg:Mpdf)
.include "../../print/poppler-glib/buildlink3.mk"
.endif

.if !empty(PKG_BUILD_OPTIONS.osg:Msvg)
.include "../../graphics/librsvg/buildlink3.mk"
.endif

.if !empty(PKG_BUILD_OPTIONS.osg:Mlibxml2)
.include "../../textproc/libxml2/buildlink3.mk"
.endif
.endif	# OSG_BUILDLINK3_MK

BUILDLINK_TREE+=	-osg