summaryrefslogtreecommitdiff
path: root/devel/cmake/buildlink3.mk
blob: aa54f212527c5e3417146830f23e63b78e0e3c5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $NetBSD: buildlink3.mk,v 1.1 2004/09/10 11:20:03 drochner 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_DEPENDS.cmake+=	cmake>=2.0.2
BUILDLINK_PKGSRCDIR.cmake?=	../../devel/cmake
BUILDLINK_DEPMETHOD.cmake?=	build
.endif	# CMAKE_BUILDLINK3_MK

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

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