summaryrefslogtreecommitdiff
path: root/x11/fontsproto/buildlink3.mk
blob: a78cd400235a990666538eab7a3082e62970ecef (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.2 2006/11/03 17:19:22 joerg Exp $

BUILDLINK_DEPMETHOD.fontsproto?=	build

BUILDLINK_DEPTH:=		${BUILDLINK_DEPTH}+
FONTSPROTO_BUILDLINK3_MK:=	${FONTSPROTO_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nfontsproto}
BUILDLINK_PACKAGES+=	fontsproto
BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}fontsproto

.if ${FONTSPROTO_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.fontsproto+=	fontsproto>=2.0
BUILDLINK_PKGSRCDIR.fontsproto?=	../../x11/fontsproto
.endif	# FONTSPROTO_BUILDLINK3_MK

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