1 | PortSystem 1.0 |
---|
2 | PortGroup muniversal 1.0 |
---|
3 | |
---|
4 | name cmake |
---|
5 | version 2.8.0 |
---|
6 | revision 1 |
---|
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.8/ |
---|
18 | checksums md5 3b3679b8a6afaedc38a8c15dd7ff4fcf \ |
---|
19 | sha1 c35cb0d787c53aee768b154f05b68d3a20eccb3d \ |
---|
20 | rmd160 27e80a14b4970d85b12aaf18fbe738c02dc0620f |
---|
21 | |
---|
22 | depends_build port:libidn \ |
---|
23 | port:openssl |
---|
24 | |
---|
25 | configure.args --mandir=/share/man --docdir=/share/doc/cmake --parallel=${build.jobs} |
---|
26 | patchfiles patch-CMakeFindFrameworks.cmake.diff |
---|
27 | post-patch { |
---|
28 | reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/Modules/CMakeFindFrameworks.cmake |
---|
29 | } |
---|
30 | |
---|
31 | post-destroot { |
---|
32 | xinstall -d -m 0755 ${destroot}${prefix}/share/emacs/site-lisp |
---|
33 | xinstall -m 0644 ${worksrcpath}/Docs/cmake-mode.el \ |
---|
34 | ${destroot}${prefix}/share/emacs/site-lisp |
---|
35 | xinstall -d -m 0755 ${destroot}${prefix}/share/doc/cmake |
---|
36 | xinstall -m 0644 -W ${worksrcpath}/Docs cmake-indent.vim \ |
---|
37 | cmake-syntax.vim ${destroot}${prefix}/share/doc/cmake |
---|
38 | } |
---|
39 | |
---|
40 | livecheck.type regex |
---|
41 | livecheck.regex {Latest Release \((\d(?:\.\d+)*)\)} |
---|
42 | livecheck.url ${homepage}cmake/resources/software.html |
---|
43 | |
---|