summaryrefslogtreecommitdiff
path: root/audio/adplug/buildlink3.mk
blob: 566c4817e81620d3c864df7f60ae0813793a639f (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 2007/09/10 16:02:26 xtraeme Exp $

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
ADPLUG_BUILDLINK3_MK:=	${ADPLUG_BUILDLINK3_MK}+

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

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nadplug}
BUILDLINK_PACKAGES+=	adplug
BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}adplug

.if ${ADPLUG_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.adplug+=	adplug>=2.1
BUILDLINK_PKGSRCDIR.adplug?=	../../audio/adplug
.endif	# ADPLUG_BUILDLINK3_MK

.include "../../devel/libbinio/buildlink3.mk"

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