summaryrefslogtreecommitdiff
path: root/audio/py-mpd/buildlink3.mk
blob: c503262c148977d181075048ebd66b52b5706c4c (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 2008/05/05 10:19:22 drochner Exp $

BUILDLINK_DEPTH:=		${BUILDLINK_DEPTH}+
PY_MPD_BUILDLINK3_MK:=	${PY_MPD_BUILDLINK3_MK}+

.include "../../lang/python/pyversion.mk"

.if ${BUILDLINK_DEPTH} == "+"
BUILDLINK_DEPENDS+=	py-mpd
.endif

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Npy-mpd}
BUILDLINK_PACKAGES+=	py-mpd
BUILDLINK_ORDER:=	${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}py-mpd

.if ${PY_MPD_BUILDLINK3_MK} == "+"
BUILDLINK_API_DEPENDS.py-mpd+=	${PYPKGPREFIX}-mpd>=0.2.0
BUILDLINK_PKGSRCDIR.py-mpd?=	../../audio/py-mpd
.endif	# PY_MPD_BUILDLINK3_MK

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