summaryrefslogtreecommitdiff
path: root/x11/fltk2/buildlink3.mk
blob: 3f599264b83187d8cb95e51a7005056ca9453358 (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.1.1.1 2008/05/25 15:29:19 joerg Exp $

BUILDLINK_DEPMETHOD.fltk2?=	build

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
FLTK2_BUILDLINK3_MK:=	${FLTK2_BUILDLINK3_MK}+

.if ${BUILDLINK_DEPTH} == "+"
BUILDLINK_DEPENDS+=	fltk2
.endif

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nfltk2}
BUILDLINK_PACKAGES+=	fltk2
BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}fltk2

.if ${FLTK2_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.fltk2+=	fltk2>=2.0pre6129
BUILDLINK_PKGSRCDIR.fltk2?=	../../x11/fltk2
.endif	# FLTK2_BUILDLINK3_MK

.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../graphics/jpeg/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/libXft/buildlink3.mk"
.include "../../x11/libXi/buildlink3.mk"
.include "../../x11/libXinerama/buildlink3.mk"

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH:S/+$//}