# $Id: Portfile,v 1.10 2006/06/23 18:20:35 mww Exp $

PortSystem 1.0
name		cmake
version		2.4.2
categories	devel
maintainers	cssdev@mac.com
description	Cross-platform make
long_description	\
	An extensible, open-source system that manages the build 	\
	process in an operating system and compiler independent manner. \
	Unlike many cross-platform systems, CMake is designed to be 	\
	used in conjunction with the native build environment.
homepage	http://www.cmake.org/
platforms	darwin freebsd
master_sites	http://www.cmake.org/files/v2.4/
checksums	md5 c774f932cbd0c77d3cd76f0f8f46e0d9
configure.args	--mandir=/share/man --docdir=/share/doc/CMake

post-destroot {
	xinstall -d -m 0755 ${destroot}${prefix}/share/emacs/site-lisp
	xinstall -m 0644 ${worksrcpath}/Docs/cmake-mode.el \
		${destroot}${prefix}/share/emacs/site-lisp
	xinstall -d -m 0755 ${destroot}${prefix}/share/CMake/Docs
	xinstall -m 0644 -W ${worksrcpath}/Docs cmake-indent.vim \
		cmake-syntax.vim ${destroot}${prefix}/share/CMake/Docs
	xinstall -m 0644 ${worksrcpath}/CMake.rtf \
		${destroot}${prefix}/share/CMake/Docs
}
