1 | # $Id: Portfile 54870 2009-08-03 12:08:54Z css@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name cmake |
---|
6 | version 2.6.4 |
---|
7 | categories devel |
---|
8 | maintainers css |
---|
9 | description Cross-platform make |
---|
10 | long_description \ |
---|
11 | An extensible, open-source system that manages the build \ |
---|
12 | process in an operating system and compiler independent manner. \ |
---|
13 | Unlike many cross-platform systems, CMake is designed to be \ |
---|
14 | used in conjunction with the native build environment. |
---|
15 | homepage http://www.cmake.org/ |
---|
16 | platforms darwin freebsd |
---|
17 | master_sites http://www.cmake.org/files/v2.6/ |
---|
18 | checksums md5 50f387d0436696c4a68b5512a72c9cde \ |
---|
19 | sha1 c7e295683e061c2ed19773a1f0444972f75db092 \ |
---|
20 | rmd160 e4217067537f76e52317514cb5bb0cf38733d16a |
---|
21 | |
---|
22 | configure.args --mandir=/share/man --docdir=/share/doc/cmake |
---|
23 | patchfiles patch-CMakeFindFrameworks.cmake.diff |
---|
24 | post-patch { |
---|
25 | reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/Modules/CMakeFindFrameworks.cmake |
---|
26 | } |
---|
27 | post-destroot { |
---|
28 | xinstall -d -m 0755 ${destroot}${prefix}/share/emacs/site-lisp |
---|
29 | xinstall -m 0644 ${worksrcpath}/Docs/cmake-mode.el \ |
---|
30 | ${destroot}${prefix}/share/emacs/site-lisp |
---|
31 | xinstall -d -m 0755 ${destroot}${prefix}/share/doc/cmake |
---|
32 | xinstall -m 0644 -W ${worksrcpath}/Docs cmake-indent.vim \ |
---|
33 | cmake-syntax.vim ${destroot}${prefix}/share/doc/cmake |
---|
34 | } |
---|
35 | |
---|
36 | livecheck.check regex |
---|
37 | livecheck.regex {Latest Release \((\d(?:\.\d+)*)\)} |
---|
38 | livecheck.url ${homepage}cmake/resources/software.html |
---|