pkgsrc/lang/python23-pth/buildlink3.mk

29 lines
885 B
Makefile
Raw Normal View History

# $NetBSD: buildlink3.mk,v 1.6 2004/03/26 02:27:43 wiz Exp $
2004-01-25 15:05:34 +01:00
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
2004-01-25 15:05:34 +01:00
PYTHON23_PTH_BUILDLINK3_MK:= ${PYTHON23_PTH_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= python23-pth
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npython23-pth}
BUILDLINK_PACKAGES+= python23-pth
2004-01-25 15:05:34 +01:00
.if !empty(PYTHON23_PTH_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.python23-pth+= python23-pth>=2.3
BUILDLINK_RECOMMENDED.python23-pth?= python23-pth>=2.3.3nb2
BUILDLINK_PKGSRCDIR.python23-pth?= ../../lang/python23-pth
2004-01-25 15:05:34 +01:00
.if defined(BUILDLINK_DEPMETHOD.python)
2004-01-25 15:05:34 +01:00
BUILDLINK_DEPMETHOD.python23pth?= ${BUILDLINK_DEPMETHOD.python}
.endif
2004-01-25 15:05:34 +01:00
BUILDLINK_INCDIRS.python23-pth+= include/python2p3
BUILDLINK_LIBDIRS.python23-pth+= lib/python2p3/config
BUILDLINK_TRANSFORM+= l:python:python2p3
2004-01-25 15:05:34 +01:00
.endif # PYTHON23_PTH_BUILDLINK3_MK
2004-01-25 15:05:34 +01:00
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}