pkgsrc/lang/python20/buildlink3.mk

29 lines
821 B
Makefile
Raw Normal View History

# $NetBSD: buildlink3.mk,v 1.5 2004/03/26 02:27:42 wiz Exp $
2004-01-25 15:23:39 +01:00
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
2004-01-25 15:23:39 +01:00
PYTHON20_BUILDLINK3_MK:= ${PYTHON20_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= python20
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npython20}
BUILDLINK_PACKAGES+= python20
2004-01-25 15:23:39 +01:00
.if !empty(PYTHON20_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.python20+= python20>=2.0
BUILDLINK_RECOMMENDED.python20?= python20>=2.0.1nb7
BUILDLINK_PKGSRCDIR.python20?= ../../lang/python20
2004-01-25 15:23:39 +01:00
.if defined(BUILDLINK_DEPMETHOD.python)
2004-01-25 15:23:39 +01:00
BUILDLINK_DEPMETHOD.python20?= ${BUILDLINK_DEPMETHOD.python}
.endif
2004-01-25 15:23:39 +01:00
BUILDLINK_INCDIRS.python20+= include/python2.0
BUILDLINK_LIBDIRS.python20+= lib/python2.0/config
2004-01-25 15:23:39 +01:00
BUILDLINK_TRANSFORM+= l:python:python2.0
.endif # PYTHON20_BUILDLINK3_MK
2004-01-25 15:23:39 +01:00
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}