pkgsrc/devel/cmake/Makefile
adam cf5c3d1cb9 CMake 2.8.1
We are happy to announce the release of CMake 2.8.1. This is a minor release
from 2.8.0. In addition to addressing many issues, this version of CMake adds
some new features as well. The parallel nmake replacement from Nokia jom, now
has its own tested generator in CMake.

CTest can correctly kill process trees when a timeout occurs. The ctest_*
commands have been enhanced to take more options. When using the Intel
compilers CMake can correctly determine 32 bit vs. 64 bit builds. When running
in parallel mode (-j N), CTest can now compute and use a cost value for each
test to ensure the tests are run in an optimal order.
2010-04-09 13:25:34 +00:00

51 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.50 2010/04/09 13:25:34 adam Exp $
DISTNAME= cmake-${CMAKE_API}.1
CATEGORIES= devel
MASTER_SITES= http://www.cmake.org/files/v2.8/
CMAKE_API= 2.8
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++
# wants wsyncup and wcursyncup
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
post-patch:
${RM} ${WRKSRC}/Modules/*.orig
.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"