pkgsrc/net/py-libdnet/buildlink3.mk
2006-04-12 10:26:59 +00:00

22 lines
655 B
Makefile

# $NetBSD: buildlink3.mk,v 1.4 2006/04/12 10:27:30 rillig Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
PYLIBDNET_BUILDLINK3_MK:= ${PYLIBDNET_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= pylibdnet
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npylibdnet}
BUILDLINK_PACKAGES+= pylibdnet
.if !empty(PYLIBDNET_BUILDLINK3_MK:M+)
.include "../../lang/python/pyversion.mk"
BUILDLINK_API_DEPENDS.pylibdnet+= ${PYPKGPREFIX}-libdnet>=1.7
BUILDLINK_ABI_DEPENDS.pylibdnet?= ${PYPKGPREFIX}-libdnet>=1.10nb1
BUILDLINK_PKGSRCDIR.pylibdnet?= ../../net/py-libdnet
.endif # PYLIBDNET_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}