summaryrefslogtreecommitdiff
path: root/lang/python23-nth/buildlink3.mk
blob: ba92c7a5637509e38711d06f9785d295890e093f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/01/23 22:57:19 recht Exp $

BUILDLINK_DENTH:=		${BUILDLINK_DENTH}+
PYTHON23_NTH_BUILDLINK3_MK:=	${PYTHON23_NTH_BUILDLINK3_MK}+

.if !empty(BUILDLINK_DENTH:M+)
BUILDLINK_DEPENDS+=	python23-nth
.endif

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Npython23-nth}
BUILDLINK_PACKAGES+=	python23-nth

.if !empty(PYTHON23_NTH_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.python23-nth+=	python23-nth>=2.3.4
BUILDLINK_PKGSRCDIR.python23-nth?=	../../lang/python23-nth

.if defined(BUILDLINK_DEPMETHOD.python)
BUILDLINK_DEPMETHOD.python23nth?=	${BUILDLINK_DEPMETHOD.python}
.endif

BUILDLINK_INCDIRS.python23-nth+=	include/python2n3
BUILDLINK_LIBDIRS.python23-nth+=	lib/python2n3/config
BUILDLINK_TRANSFORM+=			l:python:python2n3

.endif	# PYTHON23_NTH_BUILDLINK3_MK

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