Cleaned up cmake's directories.

This commit is contained in:
Scott McCreary
2011-03-06 21:19:55 +00:00
parent f036988447
commit 5c82336ceb

View File

@@ -7,7 +7,15 @@ STATUS_HAIKU="stable"
DEPEND=""
BUILD {
cd cmake-2.8.4
./configure --prefix=/boot/common
# 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
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
--mandir=../../`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/man \
--datadir=../../`finddir B_COMMON_DATA_DIRECTORY` \
--docdir=../../../`finddir B_COMMON_DOCUMENTATION_DIRECTORY`/doc
make
}
@@ -15,5 +23,6 @@ INSTALL {
cd cmake-2.8.4
make install
}
LICENSE="CMake"
COPYRIGHT="2002-2011 Kitware, Inc., Insight Consortium, All rights reserved."