summaryrefslogtreecommitdiff
path: root/devel/cmake/Makefile
blob: 9124fdd94b62adc1b9f17538da4f54592bb26d6c (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.13 2004/10/03 00:13:25 tv 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
ALL_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"