blob: 9d72f4fd74634ef747e7e5aa2f8bbcb93d9efb6e (
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# $NetBSD: Makefile,v 1.44 2009/05/11 08:02:09 hasso Exp $
DISTNAME= cmake-${CMAKE_API}.4
CATEGORIES= devel
MASTER_SITES= http://www.cmake.org/files/v2.6/
CMAKE_API= 2.6
MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://www.cmake.org/
COMMENT= Cross platform make
PKG_DESTDIR_SUPPORT= user-destdir
USE_TOOLS+= gmake
USE_LANGUAGES= c c++
USE_NCURSES= yes
GNU_CONFIGURE= yes
BUILD_TARGET= default_target
CONFIGURE_HAS_MANDIR= no
CONFIGURE_ARGS+= --mandir=/${PKGMANDIR}
CONFIGURE_ARGS+= --docdir=/share/doc/cmake-${CMAKE_API}
CONFIGURE_ARGS+= --system-libs
PLIST_SUBST+= CMAKE_API=${CMAKE_API}
# for Source/cmDependsJavaParser.cxx
UNLIMIT_RESOURCES= datasize
# as of 2.4.6, x11 and fortran tests fail in pkgsrc
TEST_TARGET= test
SUBST_CLASSES+= cmake
SUBST_STAGE.cmake= pre-configure
SUBST_MESSAGE.cmake= Fixing X11 prefix.
SUBST_FILES.cmake+= Modules/Platform/UnixPaths.cmake
SUBST_VARS.cmake= X11BASE
.include "../../devel/ncurses/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../textproc/xmlrpc-c/buildlink3.mk"
.include "../../textproc/expat/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|