mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-04 22:18:55 +02:00
* The patch is based on the 2.8.4 patch, i.e. keeps the changes from it (save
for corrected indentation).
* Clean up superfluous checks where it was assumed that Haiku defines the
__BEOS__ cpp macro.
* Platform/Haiku.cmake:
- No longer define the BEOS CMake variable, but define HAIKU instead. Adjust
all checks accordingly.
- No longer include Platform/UnixPaths. There isn't really anything helpful
in it for us. Instead define UNIX directly and use the correct Haiku paths.
- Also add the */non-packaged paths, although they don't exist on a non-PM
Haiku. Will require less changes later.
- Clean up a few variables that weren't correct according to the
documentation (like CMAKE_DL_LIBS) and add missing ones.
* cmExportCommand.cxx, cmFindPackageCommand.cxx, cmLocalGenerator.cxx,
CPack/cmCPackGenerator.cxx: No longer use BPath and the C++ find_directory().
Now use the C find_directory() instead, getting rid of the otherwise
unnecessary libbe dependency.
29 lines
916 B
Plaintext
29 lines
916 B
Plaintext
DESCRIPTION="cmake - Cross platform Make"
|
|
HOMEPAGE="http://www.cmake.org"
|
|
SRC_URI="http://www.cmake.org/files/v2.8/cmake-2.8.5.tar.gz"
|
|
CHECKSUM_MD5="3c5d32cec0f4c2dc45f4c2e84f4a20c5"
|
|
REVISION="1"
|
|
STATUS_HAIKU="stable"
|
|
DEPEND=""
|
|
BUILD {
|
|
cd cmake-2.8.5
|
|
# cmake appends the prefix to mandir and datadir
|
|
# so using ../../ to back that part out but for some reason
|
|
# the doc was also picking up /boot, so had to back it out 3 times
|
|
# this seems to work but might still need some further adjusting
|
|
# sed -i 's/${CMAKE_DATA_DIR}\/include cmCPluginAPI.h/${CMAKE_PREFIX_DIR}\/include cmCPluginAPI.h/g' Source/CMakeLists.txt
|
|
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
|
|
--datadir=/data/cmake \
|
|
--docdir=/documentation/doc/CMake \
|
|
--mandir=/documentation/man
|
|
make
|
|
}
|
|
|
|
INSTALL {
|
|
cd cmake-2.8.5
|
|
make install
|
|
}
|
|
|
|
LICENSE="CMake"
|
|
COPYRIGHT="2002-2011 Kitware, Inc., Insight Consortium, All rights reserved."
|