<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[124135] trunk/dports/graphics/vtk5/Portfile</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/124135">124135</a></dd>
<dt>Author</dt> <dd>petr@macports.org</dd>
<dt>Date</dt> <dd>2014-08-19 13:47:20 -0700 (Tue, 19 Aug 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>vtk5: whitespace and formating</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportsgraphicsvtk5Portfile">trunk/dports/graphics/vtk5/Portfile</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportsgraphicsvtk5Portfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/graphics/vtk5/Portfile (124134 => 124135)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/graphics/vtk5/Portfile        2014-08-19 20:45:59 UTC (rev 124134)
+++ trunk/dports/graphics/vtk5/Portfile        2014-08-19 20:47:20 UTC (rev 124135)
</span><span class="lines">@@ -1,74 +1,81 @@
</span><span class="cx"> # -*- 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
</span><span class="cx"> # $Id$
</span><span class="cx"> 
</span><del>-PortSystem 1.0
-PortGroup   cmake 1.0
</del><ins>+PortSystem          1.0
+PortGroup           cmake 1.0
</ins><span class="cx"> 
</span><del>-name        vtk5
-version     5.10.1
-revision    1
-set branch  [join [lrange [split ${version} .] 0 1] .]
</del><ins>+name                vtk5
+version             5.10.1
+revision            1
+set branch          [join [lrange [split ${version} .] 0 1] .]
</ins><span class="cx"> #
</span><del>-# There was a stealth-update of vtkdata-5.10.1 that invalidated the checksums of that file.
-# (see https://trac.macports.org/wiki/PortfileRecipes#stealth-updates) Remove the 'dist_subdir'
-# line when the next proper version of vtk5 is released...
</del><ins>+# There was a stealth-update of vtkdata-5.10.1 that invalidated the checksums 
+# of that file.
+# (see https://trac.macports.org/wiki/PortfileRecipes#stealth-updates) 
+# Remove the 'dist_subdir' line when the next proper version of vtk5 is 
+# released...
</ins><span class="cx"> #
</span><del>-dist_subdir   ${name}/${version}_1
-#
-categories  graphics devel
-maintainers nomaintainer
-description 3D visualization toolkit
</del><ins>+dist_subdir         ${name}/${version}_1
+
+categories          graphics devel
+platforms           darwin freebsd
+license             BSD
+maintainers         nomaintainer
+
+description         3D visualization toolkit
</ins><span class="cx"> long_description    an open source, freely available software system  \
</span><span class="cx">     for 3D computer graphics, image processing, and visualization     \
</span><span class="cx">     used by thousands of researchers and developers around the world. \
</span><span class="cx">     VTK consists of a C++ class library, and several interpreted      \
</span><span class="cx">     interface layers including Tcl/Tk, Java, and Python.
</span><del>-license     BSD
</del><span class="cx"> 
</span><del>-homepage    http://www.vtk.org/
-platforms   darwin freebsd
-master_sites    http://www.vtk.org/files/release/${branch}/
</del><ins>+homepage            http://www.vtk.org/
+master_sites        http://www.vtk.org/files/release/${branch}/
</ins><span class="cx"> 
</span><ins>+distname            VTK${version}
</ins><span class="cx"> distfiles           vtk-${version}${extract.suffix}
</span><span class="cx"> checksums           vtk-${version}${extract.suffix} \
</span><span class="cx">                     md5     264b0052e65bd6571a84727113508789 \
</span><span class="cx">                     sha1    deb834f46b3f7fc3e122ddff45e2354d69d2adc3 \
</span><span class="cx">                     rmd160  3b0b138bf45743e925a905fb2eccb6b3ab3dada4
</span><span class="cx"> 
</span><ins>+
</ins><span class="cx"> depends_build-append    port:readline
</span><del>-distname    VTK${version}
</del><span class="cx"> 
</span><del>-patchfiles  patch-tiff-inline.diff
-
</del><ins>+patchfiles          patch-tiff-inline.diff
</ins><span class="cx"> post-patch {
</span><span class="cx">     # Xcode 5.1 breaks vtk build. A backwards compatible fix is to remove
</span><span class="cx">     # -fobjc-gc; see http://review.source.kitware.com/#/c/14424/
</span><span class="cx">     reinplace -W ${worksrcpath} &quot;s,-fobjc-gc,,g&quot; CMakeLists.txt
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-use_parallel_build yes
-
</del><span class="cx"> configure.args-append  \
</span><del>-        -DBUILD_SHARED_LIBS:BOOL=ON \
-        -DVTK_USE_RPATH:BOOL=ON \
-        -DCMAKE_INSTALL_RPATH:STRING=${prefix}/lib/vtk-${branch} \
-        -DCMAKE_INSTALL_NAME_DIR:STRING=${prefix}/lib/vtk-${branch} \
-        -DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=ON \
-        -DVTK_INSTALL_PREFIX:PATH=${prefix} \
-        -DVTK_USE_HYBRID:BOOL=ON \
-        -DVTK_USE_TK:BOOL=OFF \
-        -DVTK_WRAP_TCL:BOOL=OFF \
-        -DTK_INCLUDE_PATH=${prefix}/include \
-        -DTK_LIBRARY=${prefix}/lib/libtk.dylib \
-        -DVTK_USE_CARBON:BOOL=OFF \
-        -DVTK_USE_COCOA:BOOL=ON \
-        -DVTK_DATA_ROOT:PATH=${prefix}/share/VTKData \
-        -DVTK_USE_GL2PS:BOOL=ON \
-        -DVTK_WRAP_PYTHON:BOOL=OFF
</del><ins>+    -DBUILD_SHARED_LIBS:BOOL=ON \
+    -DVTK_USE_RPATH:BOOL=ON \
+    -DCMAKE_INSTALL_RPATH:STRING=${prefix}/lib/vtk-${branch} \
+    -DCMAKE_INSTALL_NAME_DIR:STRING=${prefix}/lib/vtk-${branch} \
+    -DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=ON \
+    -DVTK_INSTALL_PREFIX:PATH=${prefix} \
+    -DVTK_USE_HYBRID:BOOL=ON \
+    -DVTK_USE_TK:BOOL=OFF \
+    -DVTK_WRAP_TCL:BOOL=OFF \
+    -DTK_INCLUDE_PATH=${prefix}/include \
+    -DTK_LIBRARY=${prefix}/lib/libtk.dylib \
+    -DVTK_USE_CARBON:BOOL=OFF \
+    -DVTK_USE_COCOA:BOOL=ON \
+    -DVTK_DATA_ROOT:PATH=${prefix}/share/VTKData \
+    -DVTK_USE_GL2PS:BOOL=ON \
+    -DVTK_WRAP_PYTHON:BOOL=OFF
</ins><span class="cx"> configure.cxxflags-append \
</span><del>-        -DUSE_INTERP_ERRORLINE
-configure.cppflags-replace -I${prefix}/include -isystem${prefix}/include
</del><ins>+    -DUSE_INTERP_ERRORLINE
+configure.cppflags-replace \
+    -I${prefix}/include -isystem${prefix}/include
</ins><span class="cx"> 
</span><ins>+if {${os.major} &lt;= 10} {
+    configure.args-append  \
+        -DIOKit:FILEPATH=/System/Library/Frameworks/IOKit.framework
+}
+
</ins><span class="cx"> post-configure {
</span><span class="cx">     reinplace &quot;s|c++|c++ -L${prefix}/lib |&quot; \
</span><span class="cx">     ${worksrcpath}/Infovis/Testing/Cxx/CMakeFiles/InfovisCxxTests.dir/link.txt \
</span><span class="lines">@@ -81,12 +88,10 @@
</span><span class="cx">     }
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-build.env-append DYLD_LIBRARY_PATH=${worksrcpath}/bin
</del><ins>+use_parallel_build  yes
</ins><span class="cx"> 
</span><del>-if {${os.major} &lt;= 10} {
-    configure.args-append  \
-        -DIOKit:FILEPATH=/System/Library/Frameworks/IOKit.framework
-}
</del><ins>+build.env-append \
+    DYLD_LIBRARY_PATH=${worksrcpath}/bin
</ins><span class="cx"> 
</span><span class="cx"> if {![variant_isset carbon] &amp;&amp; ![variant_isset qt4_mac]} {
</span><span class="cx">     default_variants +x11 +tcltk
</span><span class="lines">@@ -100,8 +105,9 @@
</span><span class="cx"> 
</span><span class="cx"> variant x11 conflicts carbon qt4_mac {
</span><span class="cx">     depends_lib-append port:mesa port:Xft2 port:xorg-libXScrnSaver port:xorg-libXt
</span><del>-    configure.args-delete   -DVTK_USE_COCOA:BOOL=ON
-    configure.args-append   \
</del><ins>+    configure.args-delete \
+        -DVTK_USE_COCOA:BOOL=ON
+    configure.args-append \
</ins><span class="cx">         -DVTK_USE_COCOA:BOOL=OFF \
</span><span class="cx">         -DVTK_USE_X:BOOL=ON \
</span><span class="cx">         -DOPENGL_gl_LIBRARY:FILEPATH=${prefix}/lib/libGL.dylib \
</span><span class="lines">@@ -168,7 +174,6 @@
</span><span class="cx">                 file mkdir ${destroot}${prefix}/lib/python${v}/site-packages
</span><span class="cx">                 system &quot;cd ${worksrcpath}/Wrapping/Python &amp;&amp; ${prefix}/bin/python${v} setup.py install --prefix=${frameworks_dir}/Python.framework/Versions/${v} --root=${destroot}&quot;
</span><span class="cx">             }
</span><del>-
</del><span class="cx">         }
</span><span class="cx">     }]
</span><span class="cx"> }
</span></span></pre>
</div>
</div>

</body>
</html>