summaryrefslogtreecommitdiff
path: root/x11/resourceproto/buildlink3.mk
blob: 563649fb2a5e5a30399586386213824426a9a659 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/11/03 22:03:23 joerg Exp $

BUILDLINK_DEPMETHOD.resourceproto?=	build

BUILDLINK_DEPTH:=		${BUILDLINK_DEPTH}+
RESOURCEPROTO_BUILDLINK3_MK:=	${RESOURCEPROTO_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nresourceproto}
BUILDLINK_PACKAGES+=	resourceproto
BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}resourceproto

.if ${RESOURCEPROTO_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.resourceproto+=	resourceproto>=1.0.1
BUILDLINK_PKGSRCDIR.resourceproto?=	../../x11/resourceproto
.endif	# RESOURCEPROTO_BUILDLINK3_MK

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