summaryrefslogtreecommitdiff
path: root/devel/cmake/buildlink3.mk
blob: 1bfdc6ad7d1c2c20c0a985b0d2e3ea01c4fd1297 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $NetBSD: buildlink3.mk,v 1.3 2006/04/06 06:21:47 reed Exp $

BUILDLINK_DEPTH:=	${BUILDLINK_DEPTH}+
CMAKE_BUILDLINK3_MK:=	${CMAKE_BUILDLINK3_MK}+

.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+=	cmake
.endif

BUILDLINK_PACKAGES:=	${BUILDLINK_PACKAGES:Ncmake}
BUILDLINK_PACKAGES+=	cmake

.if !empty(CMAKE_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.cmake+=	cmake>=2.0.2
BUILDLINK_ABI_DEPENDS.cmake?=	cmake>=2.0.5nb2
BUILDLINK_PKGSRCDIR.cmake?=	../../devel/cmake
BUILDLINK_DEPMETHOD.cmake?=	build
.endif	# CMAKE_BUILDLINK3_MK

.include "../../devel/ncurses/buildlink3.mk"

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