pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/cmake Update to cmake-2.6.1. I could not find a...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5ca793d86944
branches:  trunk
changeset: 546250:5ca793d86944
user:      bjs <bjs%pkgsrc.org@localhost>
date:      Mon Aug 25 02:44:05 2008 +0000

description:
Update to cmake-2.6.1.  I could not find any release notes concise enough
to include here; the changelog for this release is here:

<http://www.cmake.org/pipermail/cmake/2008-August/023188.html>

For changes prior to this release, please see ${WRKSRC}/ChangeLog.

While here, add a list of *.cmake files in which to replace
/usr/${X11R6,local} with X11BASE and LOCALBASE, respectively.
Also, the [pkgsrc-relative] API, e.g. 2.6 is now defined by a variable
so that it can be used in pathnames for the build and the PLIST.

diffstat:

 devel/cmake/Makefile         |   44 ++-
 devel/cmake/PLIST            |  664 +++++++++++++++++++++++++-----------------
 devel/cmake/distinfo         |   12 +-
 devel/cmake/patches/patch-aa |   22 -
 devel/cmake/patches/patch-ac |   43 --
 devel/cmake/patches/patch-ae |    8 +-
 6 files changed, 433 insertions(+), 360 deletions(-)

diffs (truncated from 866 to 300 lines):

diff -r c9bd88b5668f -r 5ca793d86944 devel/cmake/Makefile
--- a/devel/cmake/Makefile      Mon Aug 25 02:40:33 2008 +0000
+++ b/devel/cmake/Makefile      Mon Aug 25 02:44:05 2008 +0000
@@ -1,8 +1,10 @@
-# $NetBSD: Makefile,v 1.37 2008/02/06 07:01:17 bjs Exp $
+# $NetBSD: Makefile,v 1.38 2008/08/25 02:44:05 bjs Exp $
 
-DISTNAME=      cmake-2.4.8
+DISTNAME=      cmake-${CMAKE_API}.1
 CATEGORIES=    devel
-MASTER_SITES=  http://www.cmake.org/files/v2.4/
+MASTER_SITES=  http://www.cmake.org/files/v2.6/
+
+CMAKE_API=     2.6
 
 MAINTAINER=    wiz%NetBSD.org@localhost
 HOMEPAGE=      http://www.cmake.org/
@@ -14,12 +16,15 @@
 USE_LANGUAGES=         c c++
 USE_NCURSES=           yes
 GNU_CONFIGURE=         yes
+
+BUILD_TARGET=          default_target
+
 CONFIGURE_HAS_MANDIR=  no
 CONFIGURE_ARGS+=       --mandir=/${PKGMANDIR}
-# to add /share; take care on major version bumps!
-CONFIGURE_ARGS+=       --docdir=/share/doc/cmake-2.4
+CONFIGURE_ARGS+=       --docdir=/share/doc/cmake-${CMAKE_API}
 CONFIGURE_ARGS+=       --system-libs
-BUILD_TARGET=          default_target
+
+PLIST_SUBST+=          CMAKE_API=${CMAKE_API}
 
 # for Source/cmDependsJavaParser.cxx
 UNLIMIT_RESOURCES=     datasize
@@ -30,18 +35,31 @@
 SUBST_CLASSES+=                cmake
 SUBST_STAGE.cmake=     pre-configure
 SUBST_MESSAGE.cmake=   Fixing hard-coded prefix.
-SUBST_FILES.cmake=     Modules/FindCurses.cmake Modules/FindCURL.cmake \
-                           Modules/FindX11.cmake
-SUBST_SED.cmake=       -e "s|@prefix@|${PREFIX}|g"
-SUBST_SED.cmake+=      -e "s|@x11base@|${X11BASE}|g"
+SUBST_FILES.cmake=     ${REPLACE_CMAKE.Modules:@m@Modules/${m}.cmake@}
+SUBST_FILES.cmake+=    Modules/FindCURL.cmake
+SUBST_SED.cmake=       -e 's|/usr/X11R6|${X11BASE}|g'
+SUBST_SED.cmake+=      -e 's|/usr/local|${X11BASE}|g'
+SUBST_VARS.cmake=      PREFIX  
 
-post-extract:
-       cp ${WRKSRC}/Modules/Platform/FreeBSD.cmake \
-               ${WRKSRC}/Modules/Platform/DragonFly.cmake
+REPLACE_CMAKE.Modules=\
+       CMakeDetermineJavaCompiler CMakeDetermineSystem                 \
+       CMakeGenericSystem FindAVIFile FindBLAS FindFLTK FindFLTK2      \
+       FindFreetype FindGDAL FindGIF FindGTK FindITK FindJNI           \
+       FindJava FindKDE3 FindLAPACK FindLua50 FindLua51 FindMPEG       \
+       FindMPEG2 FindMPI FindMatlab FindOpenAL FindOpenThreads         \
+       FindPHP4 FindPNG FindPhysFS FindPike FindProducer FindQt        \
+       FindQt3 FindSDL FindSDL_image FindSDL_mixer FindSDL_net         \
+       FindSDL_sound FindSDL_ttf FindSelfPackers FindTCL FindTclStub   \
+       FindUnixCommands FindVTK FindX11 Findosg FindosgDB FindosgFX    \
+       FindosgGA FindosgIntrospection FindosgManipulator               \
+       FindosgParticle FindosgProducer FindosgShadow FindosgSim        \
+       FindosgTerrain FindosgText FindosgUtil FindosgViewer            \
+       GetPrerequisites Platform/UnixPaths UsePkgConfig
 
 .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"
diff -r c9bd88b5668f -r 5ca793d86944 devel/cmake/PLIST
--- a/devel/cmake/PLIST Mon Aug 25 02:40:33 2008 +0000
+++ b/devel/cmake/PLIST Mon Aug 25 02:44:05 2008 +0000
@@ -1,278 +1,400 @@
-@comment $NetBSD: PLIST,v 1.11 2008/02/06 07:01:17 bjs Exp $
+@comment $NetBSD: PLIST,v 1.12 2008/08/25 02:44:05 bjs Exp $
 bin/ccmake
 bin/cmake
 bin/cpack
 bin/ctest
 man/man1/ccmake.1
 man/man1/cmake.1
+man/man1/cmakecommands.1
+man/man1/cmakecompat.1
+man/man1/cmakemodules.1
+man/man1/cmakepolicies.1
+man/man1/cmakeprops.1
+man/man1/cmakevars.1
+man/man1/cpack.1
 man/man1/ctest.1
-share/cmake-2.4/Modules/AddFileDependencies.cmake
-share/cmake-2.4/Modules/CMake.cmake
-share/cmake-2.4/Modules/CMakeBackwardCompatibilityC.cmake
-share/cmake-2.4/Modules/CMakeBackwardCompatibilityCXX.cmake
-share/cmake-2.4/Modules/CMakeBorlandFindMake.cmake
-share/cmake-2.4/Modules/CMakeBuildSettings.cmake.in
-share/cmake-2.4/Modules/CMakeCCompiler.cmake.in
-share/cmake-2.4/Modules/CMakeCInformation.cmake
-share/cmake-2.4/Modules/CMakeCXXCompiler.cmake.in
-share/cmake-2.4/Modules/CMakeCXXInformation.cmake
-share/cmake-2.4/Modules/CMakeCommonLanguageInclude.cmake
-share/cmake-2.4/Modules/CMakeConfigurableFile.in
-share/cmake-2.4/Modules/CMakeDependentOption.cmake
-share/cmake-2.4/Modules/CMakeDetermineCCompiler.cmake
-share/cmake-2.4/Modules/CMakeDetermineCXXCompiler.cmake
-share/cmake-2.4/Modules/CMakeDetermineFortranCompiler.cmake
-share/cmake-2.4/Modules/CMakeDetermineJavaCompiler.cmake
-share/cmake-2.4/Modules/CMakeDetermineRCCompiler.cmake
-share/cmake-2.4/Modules/CMakeDetermineSystem.cmake
-share/cmake-2.4/Modules/CMakeExportBuildSettings.cmake
-share/cmake-2.4/Modules/CMakeFindFrameworks.cmake
-share/cmake-2.4/Modules/CMakeFindWMake.cmake
-share/cmake-2.4/Modules/CMakeFindXCode.cmake
-share/cmake-2.4/Modules/CMakeFortranCompiler.cmake.in
-share/cmake-2.4/Modules/CMakeFortranInformation.cmake
-share/cmake-2.4/Modules/CMakeGenericSystem.cmake
-share/cmake-2.4/Modules/CMakeImportBuildSettings.cmake
-share/cmake-2.4/Modules/CMakeJavaCompiler.cmake.in
-share/cmake-2.4/Modules/CMakeJavaInformation.cmake
-share/cmake-2.4/Modules/CMakeMSYSFindMake.cmake
-share/cmake-2.4/Modules/CMakeMinGWFindMake.cmake
-share/cmake-2.4/Modules/CMakeNMakeFindMake.cmake
-share/cmake-2.4/Modules/CMakePrintSystemInformation.cmake
-share/cmake-2.4/Modules/CMakeRCCompiler.cmake.in
-share/cmake-2.4/Modules/CMakeRCInformation.cmake
-share/cmake-2.4/Modules/CMakeSystem.cmake.in
-share/cmake-2.4/Modules/CMakeSystemSpecificInformation.cmake
-share/cmake-2.4/Modules/CMakeTestCCompiler.cmake
-share/cmake-2.4/Modules/CMakeTestCXXCompiler.cmake
-share/cmake-2.4/Modules/CMakeTestForFreeVC.cxx
-share/cmake-2.4/Modules/CMakeTestFortranCompiler.cmake
-share/cmake-2.4/Modules/CMakeTestGNU.c
-share/cmake-2.4/Modules/CMakeTestJavaCompiler.cmake
-share/cmake-2.4/Modules/CMakeTestNMakeCLVersion.c
-share/cmake-2.4/Modules/CMakeTestRCCompiler.cmake
-share/cmake-2.4/Modules/CMakeUnixFindMake.cmake
-share/cmake-2.4/Modules/CMakeVCManifest.cmake
-share/cmake-2.4/Modules/CMakeVCManifestExe.cmake
-share/cmake-2.4/Modules/CMakeVS6BackwardCompatibility.cmake
-share/cmake-2.4/Modules/CMakeVS6FindMake.cmake
-share/cmake-2.4/Modules/CMakeVS71FindMake.cmake
-share/cmake-2.4/Modules/CMakeVS7BackwardCompatibility.cmake
-share/cmake-2.4/Modules/CMakeVS7FindMake.cmake
-share/cmake-2.4/Modules/CMakeVS8FindMake.cmake
-share/cmake-2.4/Modules/CMakeVS9FindMake.cmake
-share/cmake-2.4/Modules/CPack.Description.plist.in
-share/cmake-2.4/Modules/CPack.Info.plist.in
-share/cmake-2.4/Modules/CPack.STGZ_Header.sh.in
-share/cmake-2.4/Modules/CPack.cmake
-share/cmake-2.4/Modules/CTest.cmake
-share/cmake-2.4/Modules/CTestTargets.cmake
-share/cmake-2.4/Modules/CheckCCompilerFlag.cmake
-share/cmake-2.4/Modules/CheckCSourceCompiles.cmake
-share/cmake-2.4/Modules/CheckCSourceRuns.cmake
-share/cmake-2.4/Modules/CheckCXXCompilerFlag.cmake
-share/cmake-2.4/Modules/CheckCXXSourceCompiles.cmake
-share/cmake-2.4/Modules/CheckCXXSourceRuns.cmake
-share/cmake-2.4/Modules/CheckForPthreads.c
-share/cmake-2.4/Modules/CheckFunctionExists.c
-share/cmake-2.4/Modules/CheckFunctionExists.cmake
-share/cmake-2.4/Modules/CheckIncludeFile.c.in
-share/cmake-2.4/Modules/CheckIncludeFile.cmake
-share/cmake-2.4/Modules/CheckIncludeFile.cxx.in
-share/cmake-2.4/Modules/CheckIncludeFileCXX.cmake
-share/cmake-2.4/Modules/CheckIncludeFiles.cmake
-share/cmake-2.4/Modules/CheckLibraryExists.cmake
-share/cmake-2.4/Modules/CheckLibraryExists.lists.in
-share/cmake-2.4/Modules/CheckSizeOf.cmake
-share/cmake-2.4/Modules/CheckSymbolExists.cmake
-share/cmake-2.4/Modules/CheckTypeSize.c.in
-share/cmake-2.4/Modules/CheckTypeSize.cmake
-share/cmake-2.4/Modules/CheckVariableExists.c
-share/cmake-2.4/Modules/CheckVariableExists.cmake
-share/cmake-2.4/Modules/Dart.cmake
-share/cmake-2.4/Modules/DartConfiguration.tcl.in
-share/cmake-2.4/Modules/Documentation.cmake
-share/cmake-2.4/Modules/DummyCXXFile.cxx
-share/cmake-2.4/Modules/FindASPELL.cmake
-share/cmake-2.4/Modules/FindAVIFile.cmake
-share/cmake-2.4/Modules/FindBZip2.cmake
-share/cmake-2.4/Modules/FindBoost.cmake
-share/cmake-2.4/Modules/FindCABLE.cmake
-share/cmake-2.4/Modules/FindCURL.cmake
-share/cmake-2.4/Modules/FindCurses.cmake
-share/cmake-2.4/Modules/FindCygwin.cmake
-share/cmake-2.4/Modules/FindDCMTK.cmake
-share/cmake-2.4/Modules/FindDart.cmake
-share/cmake-2.4/Modules/FindDoxygen.cmake
-share/cmake-2.4/Modules/FindEXPAT.cmake
-share/cmake-2.4/Modules/FindFLTK.cmake
-share/cmake-2.4/Modules/FindGCCXML.cmake
-share/cmake-2.4/Modules/FindGLU.cmake
-share/cmake-2.4/Modules/FindGLUT.cmake
-share/cmake-2.4/Modules/FindGTK.cmake
-share/cmake-2.4/Modules/FindGnuplot.cmake
-share/cmake-2.4/Modules/FindHSPELL.cmake
-share/cmake-2.4/Modules/FindHTMLHelp.cmake
-share/cmake-2.4/Modules/FindITK.cmake
-share/cmake-2.4/Modules/FindImageMagick.cmake
-share/cmake-2.4/Modules/FindJNI.cmake
-share/cmake-2.4/Modules/FindJPEG.cmake
-share/cmake-2.4/Modules/FindJasper.cmake
-share/cmake-2.4/Modules/FindJava.cmake
-share/cmake-2.4/Modules/FindKDE.cmake
-share/cmake-2.4/Modules/FindKDE3.cmake
-share/cmake-2.4/Modules/FindKDE4.cmake
-share/cmake-2.4/Modules/FindLATEX.cmake
-share/cmake-2.4/Modules/FindLibXml2.cmake
-share/cmake-2.4/Modules/FindLibXslt.cmake
-share/cmake-2.4/Modules/FindMFC.cmake
-share/cmake-2.4/Modules/FindMPEG.cmake
-share/cmake-2.4/Modules/FindMPEG2.cmake
-share/cmake-2.4/Modules/FindMPI.cmake
-share/cmake-2.4/Modules/FindMatlab.cmake
-share/cmake-2.4/Modules/FindMotif.cmake
-share/cmake-2.4/Modules/FindOpenAL.cmake
-share/cmake-2.4/Modules/FindOpenGL.cmake
-share/cmake-2.4/Modules/FindOpenSSL.cmake
-share/cmake-2.4/Modules/FindPHP4.cmake
-share/cmake-2.4/Modules/FindPNG.cmake
-share/cmake-2.4/Modules/FindPerl.cmake
-share/cmake-2.4/Modules/FindPerlLibs.cmake
-share/cmake-2.4/Modules/FindPhysFS.cmake
-share/cmake-2.4/Modules/FindPike.cmake
-share/cmake-2.4/Modules/FindPkgConfig.cmake
-share/cmake-2.4/Modules/FindPythonInterp.cmake
-share/cmake-2.4/Modules/FindPythonLibs.cmake
-share/cmake-2.4/Modules/FindQt.cmake
-share/cmake-2.4/Modules/FindQt3.cmake
-share/cmake-2.4/Modules/FindQt4.cmake
-share/cmake-2.4/Modules/FindRuby.cmake
-share/cmake-2.4/Modules/FindSDL.cmake
-share/cmake-2.4/Modules/FindSDL_image.cmake
-share/cmake-2.4/Modules/FindSDL_mixer.cmake
-share/cmake-2.4/Modules/FindSDL_net.cmake
-share/cmake-2.4/Modules/FindSDL_sound.cmake
-share/cmake-2.4/Modules/FindSDL_ttf.cmake
-share/cmake-2.4/Modules/FindSWIG.cmake
-share/cmake-2.4/Modules/FindSelfPackers.cmake
-share/cmake-2.4/Modules/FindSubversion.cmake
-share/cmake-2.4/Modules/FindTCL.cmake
-share/cmake-2.4/Modules/FindTIFF.cmake
-share/cmake-2.4/Modules/FindTclsh.cmake
-share/cmake-2.4/Modules/FindThreads.cmake
-share/cmake-2.4/Modules/FindUnixCommands.cmake
-share/cmake-2.4/Modules/FindVTK.cmake
-share/cmake-2.4/Modules/FindWget.cmake
-share/cmake-2.4/Modules/FindWish.cmake
-share/cmake-2.4/Modules/FindX11.cmake
-share/cmake-2.4/Modules/FindXMLRPC.cmake
-share/cmake-2.4/Modules/FindZLIB.cmake
-share/cmake-2.4/Modules/FindwxWidgets.cmake
-share/cmake-2.4/Modules/FindwxWindows.cmake
-share/cmake-2.4/Modules/InstallRequiredSystemLibraries.cmake
-share/cmake-2.4/Modules/KDE3Macros.cmake
-share/cmake-2.4/Modules/MacOSXBundleInfo.plist.in
-share/cmake-2.4/Modules/MacroAddFileDependencies.cmake
-share/cmake-2.4/Modules/NSIS.InstallOptions.ini.in
-share/cmake-2.4/Modules/NSIS.template.in
-share/cmake-2.4/Modules/Platform/AIX.cmake
-share/cmake-2.4/Modules/Platform/BSDOS.cmake
-share/cmake-2.4/Modules/Platform/CYGWIN-g77.cmake
-share/cmake-2.4/Modules/Platform/CYGWIN.cmake
-share/cmake-2.4/Modules/Platform/Darwin-xlc.cmake
-share/cmake-2.4/Modules/Platform/Darwin.cmake
-share/cmake-2.4/Modules/Platform/DragonFly.cmake
-share/cmake-2.4/Modules/Platform/FreeBSD.cmake
-share/cmake-2.4/Modules/Platform/GNU.cmake
-share/cmake-2.4/Modules/Platform/HP-UX.cmake
-share/cmake-2.4/Modules/Platform/IRIX.cmake
-share/cmake-2.4/Modules/Platform/IRIX64.cmake
-share/cmake-2.4/Modules/Platform/Linux-como.cmake
-share/cmake-2.4/Modules/Platform/Linux-icpc.cmake
-share/cmake-2.4/Modules/Platform/Linux-ifort.cmake
-share/cmake-2.4/Modules/Platform/Linux.cmake
-share/cmake-2.4/Modules/Platform/MP-RAS.cmake
-share/cmake-2.4/Modules/Platform/NetBSD.cmake
-share/cmake-2.4/Modules/Platform/OSF1.cmake
-share/cmake-2.4/Modules/Platform/OpenBSD.cmake
-share/cmake-2.4/Modules/Platform/QNX.cmake
-share/cmake-2.4/Modules/Platform/RISCos.cmake
-share/cmake-2.4/Modules/Platform/SCO_SV.cmake
-share/cmake-2.4/Modules/Platform/SINIX.cmake
-share/cmake-2.4/Modules/Platform/SunOS.cmake
-share/cmake-2.4/Modules/Platform/Tru64.cmake
-share/cmake-2.4/Modules/Platform/ULTRIX.cmake
-share/cmake-2.4/Modules/Platform/UNIX_SV.cmake
-share/cmake-2.4/Modules/Platform/UnixPaths.cmake
-share/cmake-2.4/Modules/Platform/UnixWare.cmake
-share/cmake-2.4/Modules/Platform/Windows-bcc32.cmake
-share/cmake-2.4/Modules/Platform/Windows-cl.cmake
-share/cmake-2.4/Modules/Platform/Windows-cl.cmake.in
-share/cmake-2.4/Modules/Platform/Windows-g++.cmake
-share/cmake-2.4/Modules/Platform/Windows-g77.cmake
-share/cmake-2.4/Modules/Platform/Windows-gcc.cmake



Home | Main Index | Thread Index | Old Index