[54264] users/dweber/devel/cmake

dweber at macports.org dweber at macports.org
Thu Jul 23 19:04:23 PDT 2009


Revision: 54264
          http://trac.macports.org/changeset/54264
Author:   dweber at macports.org
Date:     2009-07-23 19:04:22 -0700 (Thu, 23 Jul 2009)
Log Message:
-----------
Remove my test Portfile so it will not collide with the default rsync portfile on my system; keeping the file in a different filename so my postdestroot changes are available at some point.

Added Paths:
-----------
    users/dweber/devel/cmake/Portfile_test

Removed Paths:
-------------
    users/dweber/devel/cmake/Portfile

Deleted: users/dweber/devel/cmake/Portfile
===================================================================
--- users/dweber/devel/cmake/Portfile	2009-07-24 02:02:56 UTC (rev 54263)
+++ users/dweber/devel/cmake/Portfile	2009-07-24 02:04:22 UTC (rev 54264)
@@ -1,54 +0,0 @@
-# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
-# $Id$
-
-PortSystem      1.0
-
-name            cmake
-version         2.6.4
-revision        1
-set branch      [join [lrange [split ${version} .] 0 1] .]
-
-categories      devel
-maintainers     css dweber
-description     Cross-platform make
-
-long_description    \
-An extensible, open-source system that manages the build process in an operating system and compiler independent manner.  Unlike many cross-platform systems, CMake is designed to be used in conjunction with the native build environment.
-
-homepage        http://www.cmake.org/
-platforms       darwin freebsd
-master_sites    http://www.cmake.org/files/v${branch}/
-checksums       md5 50f387d0436696c4a68b5512a72c9cde \
-                sha1 c7e295683e061c2ed19773a1f0444972f75db092 \
-                rmd160 e4217067537f76e52317514cb5bb0cf38733d16a
-configure.args-append \
-    --mandir=/share/man \
-    --docdir=/share/doc/cmake
-
-post-destroot {
-    xinstall -d -m 0755 ${destroot}${prefix}/share/emacs/site-lisp
-    xinstall -m 0644 ${worksrcpath}/Docs/cmake-mode.el \
-        ${destroot}${prefix}/share/emacs/site-lisp
-    xinstall -d -m 0755 ${destroot}${prefix}/share/doc/cmake
-    xinstall -m 0644 -W ${worksrcpath}/Docs \
-        cmake-indent.vim cmake-syntax.vim \
-        ${destroot}${prefix}/share/doc/cmake
-    # Change the content of FindITK.cmake to find MacPorts libs
-    set findITK [glob ${destroot}${prefix}/share/cmake-${branch}/Modules/FindITK.cmake]
-    set findVTK [glob ${destroot}${prefix}/share/cmake-${branch}/Modules/FindVTK.cmake]
-    set stdlib /usr/local/lib
-    set maclib ${prefix}/lib
-    reinplace "s|${stdlib}\\(.*\\)$|${maclib}\\1\\\n    ${stdlib}\\1|g" ${findITK}
-    reinplace "s|${stdlib}\\(.*\\)$|${maclib}\\1\\\n    ${stdlib}\\1|g" ${findVTK}
-    # ---
-    # Experiment to change the prefix in all .cmake files
-    #set usrPrefix /usr/local
-    #set macPrefix ${prefix}
-    #set cmakeFiles [glob ${destroot}${prefix}/share/cmake-${branch}/Modules/*.cmake]
-    #foreach f ${cmakeFiles} {
-    #    reinplace "s|${usrPrefix}|${macPrefix}|g" ${f}
-    #}
-}
-
-livecheck.check regex
-livecheck.regex {CMake (\d(?:\.\d+)*)}

Copied: users/dweber/devel/cmake/Portfile_test (from rev 53116, users/dweber/devel/cmake/Portfile)
===================================================================
--- users/dweber/devel/cmake/Portfile_test	                        (rev 0)
+++ users/dweber/devel/cmake/Portfile_test	2009-07-24 02:04:22 UTC (rev 54264)
@@ -0,0 +1,54 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem      1.0
+
+name            cmake
+version         2.6.4
+revision        1
+set branch      [join [lrange [split ${version} .] 0 1] .]
+
+categories      devel
+maintainers     css dweber
+description     Cross-platform make
+
+long_description    \
+An extensible, open-source system that manages the build process in an operating system and compiler independent manner.  Unlike many cross-platform systems, CMake is designed to be used in conjunction with the native build environment.
+
+homepage        http://www.cmake.org/
+platforms       darwin freebsd
+master_sites    http://www.cmake.org/files/v${branch}/
+checksums       md5 50f387d0436696c4a68b5512a72c9cde \
+                sha1 c7e295683e061c2ed19773a1f0444972f75db092 \
+                rmd160 e4217067537f76e52317514cb5bb0cf38733d16a
+configure.args-append \
+    --mandir=/share/man \
+    --docdir=/share/doc/cmake
+
+post-destroot {
+    xinstall -d -m 0755 ${destroot}${prefix}/share/emacs/site-lisp
+    xinstall -m 0644 ${worksrcpath}/Docs/cmake-mode.el \
+        ${destroot}${prefix}/share/emacs/site-lisp
+    xinstall -d -m 0755 ${destroot}${prefix}/share/doc/cmake
+    xinstall -m 0644 -W ${worksrcpath}/Docs \
+        cmake-indent.vim cmake-syntax.vim \
+        ${destroot}${prefix}/share/doc/cmake
+    # Change the content of FindITK.cmake to find MacPorts libs
+    set findITK [glob ${destroot}${prefix}/share/cmake-${branch}/Modules/FindITK.cmake]
+    set findVTK [glob ${destroot}${prefix}/share/cmake-${branch}/Modules/FindVTK.cmake]
+    set stdlib /usr/local/lib
+    set maclib ${prefix}/lib
+    reinplace "s|${stdlib}\\(.*\\)$|${maclib}\\1\\\n    ${stdlib}\\1|g" ${findITK}
+    reinplace "s|${stdlib}\\(.*\\)$|${maclib}\\1\\\n    ${stdlib}\\1|g" ${findVTK}
+    # ---
+    # Experiment to change the prefix in all .cmake files
+    #set usrPrefix /usr/local
+    #set macPrefix ${prefix}
+    #set cmakeFiles [glob ${destroot}${prefix}/share/cmake-${branch}/Modules/*.cmake]
+    #foreach f ${cmakeFiles} {
+    #    reinplace "s|${usrPrefix}|${macPrefix}|g" ${f}
+    #}
+}
+
+livecheck.check regex
+livecheck.regex {CMake (\d(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090723/84937126/attachment.html>


More information about the macports-changes mailing list