blob: 6f932eeb74b566e0a952b5706fd3bbd3032a8a8c (
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
27
28
29
30
31
|
# $NetBSD: Makefile,v 1.20 2006/02/05 23:08:40 joerg Exp $
DISTNAME= cmake-2.0.5
PKGREVISION= 2
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
USE_TOOLS+= gmake
USE_LANGUAGES= c c++
USE_NCURSES= yes
GNU_CONFIGURE= yes
CONFIGURE_HAS_MANDIR= no
CONFIGURE_ARGS+= --mandir=/${PKGMANDIR}
BUILD_TARGET= default_target
post-extract:
${CP} ${WRKSRC}/Modules/Platform/FreeBSD.cmake \
${WRKSRC}/Modules/Platform/DragonFly.cmake
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"
|