the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: cmake
Version: 2.8.6
Revision: 2
Source: http://www.cmake.org/files/v2.8/%n-%v.tar.gz
Source-MD5: 2147da452fd9212bb9b4542a9eee9d5b
License: BSD
BuildDepends: libidn
Depends: libidn-shlibs
PatchScript: <<
# Virtualize explicit '/sw' in sources
perl -pi -e 's,/sw,%p,g' Modules/*.cmake Modules/Platform/Darwin*.cmake
perl -pi -e 's,%p/local,%p,g' Modules/FindBoost.cmake
# Don't use openssl
perl -pi -e 's|(CMAKE_USE_OPENSSL.*) ON|\1 OFF|' Utilities/cmcurl/CMakeLists.txt
# Don't use libmd.dylib, it's not what it seems anyway
perl -pi -e 's|FIND_LIBRARY\(MD_LIBRARY NAMES md\)||' Utilities/cmlibarchive/CMakeLists.txt
# don't waste time by searching for frameworks and app bundles first
perl -pi -e 's,FRAMEWORK FIRST,FRAMEWORK LAST,g;s,APPBUNDLE FIRST,APPBUNDLE LAST,g' Modules/Platform/Darwin.cmake
<<
CompileScript: <<
#!/bin/sh -ev
./bootstrap --prefix=%p --docdir=/share/doc/%n --mandir=/share/man
make
<<
InstallScript: <<
make install DESTDIR=%d
<<
DocFiles: Docs/cmake*.el Docs/cmake*.vim ChangeLog.*
Description: Cross-platform Make
DescDetail: <<
CMake is used to control the software compilation process using simple
platform and compiler independent configuration files. CMake generates
native makefiles and workspaces that can be used in the compiler
environment of your choice. CMake is quite sophisticated: it is possible
to support complex environments requiring system configuration,
pre-processor generation, code generation, and template instantiation.
<<
DescPort: <<
Earlier versions by Sylvain Cuaz.
<<
Maintainer: Martin Costabel
Homepage: http://www.cmake.org