Ticket #20244: Portfile

File Portfile, 1.4 KB (added by mamoll (Mark Moll), 15 years ago)
Line 
1# $Id: Portfile 54870 2009-08-03 12:08:54Z css@macports.org $
2
3PortSystem 1.0
4
5name            cmake
6version         2.6.4
7categories      devel
8maintainers     css
9description     Cross-platform make
10long_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.
15homepage        http://www.cmake.org/
16platforms       darwin freebsd
17master_sites    http://www.cmake.org/files/v2.6/
18checksums       md5 50f387d0436696c4a68b5512a72c9cde \
19                sha1 c7e295683e061c2ed19773a1f0444972f75db092 \
20                rmd160 e4217067537f76e52317514cb5bb0cf38733d16a
21
22configure.args  --mandir=/share/man --docdir=/share/doc/cmake
23patchfiles  patch-CMakeFindFrameworks.cmake.diff
24post-patch {
25    reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/Modules/CMakeFindFrameworks.cmake
26}
27post-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
36livecheck.check regex
37livecheck.regex {Latest Release \((\d(?:\.\d+)*)\)}
38livecheck.url   ${homepage}cmake/resources/software.html