Ticket #25614: patch-Portfile.diff
File patch-Portfile.diff, 1.2 KB (added by cssdev, 14 years ago) |
---|
-
Portfile
6 6 7 7 name cmake 8 8 version 2.8.2 9 revision 19 revision 2 10 10 set branch [join [lrange [split ${version} .] 0 1] .] 11 11 categories devel 12 12 maintainers css … … 26 26 27 27 depends_lib port:libidn port:openssl 28 28 29 configure.env CMAKE_PREFIX_PATH=${prefix} 30 configure.args --mandir=/share/man --docdir=/share/doc/cmake --parallel=${build.jobs} 29 configure.env CMAKE_PREFIX_PATH=${prefix} \ 30 CMAKE_INCLUDE_PATH=${prefix}/include/ncurses \ 31 CMAKE_LIBRARY_PATH=${prefix}/lib 32 33 configure.args --mandir=/share/man --docdir=/share/doc/cmake \ 34 --parallel=${build.jobs} \ 35 --init=${worksrcpath}/macports.cmake 31 36 patchfiles patch-CMakeFindFrameworks.cmake.diff 32 37 post-patch { 33 38 reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/Modules/CMakeFindFrameworks.cmake 39 copy ${filespath}/macports.cmake ${worksrcpath} 34 40 } 35 41 42 platform darwin { 43 post-configure { 44 reinplace "s|/usr/lib/libcurses|${prefix}/lib/libncurses|g" ${worksrcpath}/CMakeCache.txt 45 } 46 } 47 36 48 post-destroot { 37 49 xinstall -d -m 0755 ${destroot}${prefix}/share/emacs/site-lisp 38 50 xinstall -m 0644 ${worksrcpath}/Docs/cmake-mode.el \