| @@ -1,20 +1,21 @@ | | | @@ -1,20 +1,21 @@ |
1 | # $NetBSD: Makefile,v 1.42 2009/04/07 10:42:14 drochner Exp $ | | 1 | # $NetBSD: Makefile,v 1.43 2009/04/19 10:35:55 hasso Exp $ |
2 | | | 2 | |
3 | DISTNAME= cmake-${CMAKE_API}.3 | | 3 | DISTNAME= cmake-${CMAKE_API}.3 |
4 | CATEGORIES= devel | | 4 | CATEGORIES= devel |
5 | MASTER_SITES= http://www.cmake.org/files/v2.6/ | | 5 | MASTER_SITES= http://www.cmake.org/files/v2.6/ |
6 | | | 6 | |
7 | CMAKE_API= 2.6 | | 7 | CMAKE_API= 2.6 |
| | | 8 | PKGREVISION= 1 |
8 | | | 9 | |
9 | MAINTAINER= wiz@NetBSD.org | | 10 | MAINTAINER= wiz@NetBSD.org |
10 | HOMEPAGE= http://www.cmake.org/ | | 11 | HOMEPAGE= http://www.cmake.org/ |
11 | COMMENT= Cross platform make | | 12 | COMMENT= Cross platform make |
12 | | | 13 | |
13 | PKG_DESTDIR_SUPPORT= user-destdir | | 14 | PKG_DESTDIR_SUPPORT= user-destdir |
14 | | | 15 | |
15 | USE_TOOLS+= gmake | | 16 | USE_TOOLS+= gmake |
16 | USE_LANGUAGES= c c++ | | 17 | USE_LANGUAGES= c c++ |
17 | USE_NCURSES= yes | | 18 | USE_NCURSES= yes |
18 | GNU_CONFIGURE= yes | | 19 | GNU_CONFIGURE= yes |
19 | | | 20 | |
20 | BUILD_TARGET= default_target | | 21 | BUILD_TARGET= default_target |
| @@ -24,42 +25,24 @@ CONFIGURE_ARGS+= --mandir=/${PKGMANDIR} | | | @@ -24,42 +25,24 @@ CONFIGURE_ARGS+= --mandir=/${PKGMANDIR} |
24 | CONFIGURE_ARGS+= --docdir=/share/doc/cmake-${CMAKE_API} | | 25 | CONFIGURE_ARGS+= --docdir=/share/doc/cmake-${CMAKE_API} |
25 | CONFIGURE_ARGS+= --system-libs | | 26 | CONFIGURE_ARGS+= --system-libs |
26 | | | 27 | |
27 | PLIST_SUBST+= CMAKE_API=${CMAKE_API} | | 28 | PLIST_SUBST+= CMAKE_API=${CMAKE_API} |
28 | | | 29 | |
29 | # for Source/cmDependsJavaParser.cxx | | 30 | # for Source/cmDependsJavaParser.cxx |
30 | UNLIMIT_RESOURCES= datasize | | 31 | UNLIMIT_RESOURCES= datasize |
31 | | | 32 | |
32 | # as of 2.4.6, x11 and fortran tests fail in pkgsrc | | 33 | # as of 2.4.6, x11 and fortran tests fail in pkgsrc |
33 | TEST_TARGET= test | | 34 | TEST_TARGET= test |
34 | | | 35 | |
35 | SUBST_CLASSES+= cmake | | 36 | SUBST_CLASSES+= cmake |
36 | SUBST_STAGE.cmake= pre-configure | | 37 | SUBST_STAGE.cmake= pre-configure |
37 | SUBST_MESSAGE.cmake= Fixing hard-coded prefix. | | 38 | SUBST_MESSAGE.cmake= Fixing X11 prefix. |
38 | SUBST_FILES.cmake= ${REPLACE_CMAKE.Modules:@m@Modules/${m}.cmake@} | | 39 | SUBST_FILES.cmake+= Modules/Platform/UnixPaths.cmake |
39 | SUBST_FILES.cmake+= Modules/FindCURL.cmake | | 40 | SUBST_VARS.cmake= X11BASE |
40 | SUBST_SED.cmake= -e 's|/usr/X11R6|${X11BASE}|g' | | | |
41 | SUBST_SED.cmake+= -e 's|/usr/local|${LOCALBASE}|g' | | | |
42 | SUBST_VARS.cmake= PREFIX | | | |
43 | | | | |
44 | REPLACE_CMAKE.Modules=\ | | | |
45 | CMakeDetermineJavaCompiler CMakeDetermineSystem \ | | | |
46 | CMakeGenericSystem FindAVIFile FindBLAS FindFLTK FindFLTK2 \ | | | |
47 | FindFreetype FindGDAL FindGIF FindGTK FindITK FindJNI \ | | | |
48 | FindJava FindKDE3 FindLAPACK FindLua50 FindLua51 FindMPEG \ | | | |
49 | FindMPEG2 FindMPI FindMatlab FindOpenAL FindOpenThreads \ | | | |
50 | FindPHP4 FindPNG FindPhysFS FindPike FindProducer FindQt \ | | | |
51 | FindQt3 FindSDL FindSDL_image FindSDL_mixer FindSDL_net \ | | | |
52 | FindSDL_sound FindSDL_ttf FindSelfPackers FindTCL FindTclStub \ | | | |
53 | FindUnixCommands FindVTK FindX11 Findosg FindosgDB FindosgFX \ | | | |
54 | FindosgGA FindosgIntrospection FindosgManipulator \ | | | |
55 | FindosgParticle FindosgProducer FindosgShadow FindosgSim \ | | | |
56 | FindosgTerrain FindosgText FindosgUtil FindosgViewer \ | | | |
57 | GetPrerequisites Platform/UnixPaths UsePkgConfig | | | |
58 | | | 41 | |
59 | .include "../../devel/ncurses/buildlink3.mk" | | 42 | .include "../../devel/ncurses/buildlink3.mk" |
60 | .include "../../devel/zlib/buildlink3.mk" | | 43 | .include "../../devel/zlib/buildlink3.mk" |
61 | .include "../../textproc/xmlrpc-c/buildlink3.mk" | | 44 | .include "../../textproc/xmlrpc-c/buildlink3.mk" |
62 | .include "../../textproc/expat/buildlink3.mk" | | 45 | .include "../../textproc/expat/buildlink3.mk" |
63 | .include "../../www/curl/buildlink3.mk" | | 46 | .include "../../www/curl/buildlink3.mk" |
64 | | | 47 | |
65 | .include "../../mk/bsd.pkg.mk" | | 48 | .include "../../mk/bsd.pkg.mk" |