summaryrefslogtreecommitdiff
path: root/devel/cmake/Makefile
blob: 0c7153ccb794467ac5395768019fa7414d8db95b (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
# $NetBSD: Makefile,v 1.14 2004/12/03 15:14:54 wiz Exp $

DISTNAME=	cmake-2.0.2
PKGREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	http://www.cmake.org/files/v2.0/

MAINTAINER=	tech-pkg@NetBSD.org
HOMEPAGE=	http://www.cmake.org/
COMMENT=	Cross platform make

GNU_CONFIGURE=	yes
USE_LANGUAGES=	c c++
USE_BUILDLINK3=	yes
USE_NCURSES=	yes
USE_GNU_TOOLS+=	make
BUILD_TARGET=	default_target

post-patch:
	for file in ${WRKSRC}/Modules/FindCurses.cmake; do		\
		${MV} -f $$file $$file.bak;				\
		${SED} "s|@prefix@|${PREFIX}|g" $$file.bak > $$file;	\
	done

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