source: trunk/dports/devel/cmake/Portfile @ 58130

Last change on this file since 58130 was 58130, checked in by toby@…, 8 years ago

cmake: bootstrap in parallel

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