summaryrefslogtreecommitdiff
path: root/devel/swig-build/buildlink3.mk
blob: 008e6c4f834d5a70207130ffa7ba86b189362729 (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
# $NetBSD: buildlink3.mk,v 1.1 2004/03/07 23:20:55 minskim Exp $

BUILDLINK_DEPTH:=		${BUILDLINK_DEPTH}+
SWIG_BUILD_BUILDLINK3_MK:=	${SWIG_BUILD_BUILDLINK3_MK}+

.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+=	swig-build
.endif

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Nswig-build}
BUILDLINK_PACKAGES+=	swig-build

.if !empty(SWIG_BUILD_BUILDLINK3_MK:M+)
BUILDLINK_DEPENDS.swig-build+=	swig-build>=${SWIG_VERSION}
BUILDLINK_PKGSRCDIR.swig-build?=	../../devel/swig-build

# This package contains no run-time components.
BUILDLINK_DEPMETHOD.swig-build?=	build

.include "../../devel/swig-build/Makefile.version"

.endif	# SWIG_BUILD_BUILDLINK3_MK

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