[50882] trunk/dports/graphics/vtk-devel/Portfile
ryandesign at macports.org
ryandesign at macports.org
Mon May 11 23:55:52 PDT 2009
Revision: 50882
http://trac.macports.org/changeset/50882
Author: ryandesign at macports.org
Date: 2009-05-11 23:55:52 -0700 (Mon, 11 May 2009)
Log Message:
-----------
vtk-devel: pedantic whitespace changes (remove trailing spaces, remove one tab)
Modified Paths:
--------------
trunk/dports/graphics/vtk-devel/Portfile
Modified: trunk/dports/graphics/vtk-devel/Portfile
===================================================================
--- trunk/dports/graphics/vtk-devel/Portfile 2009-05-12 06:54:12 UTC (rev 50881)
+++ trunk/dports/graphics/vtk-devel/Portfile 2009-05-12 06:55:52 UTC (rev 50882)
@@ -6,9 +6,9 @@
name vtk-devel
version 5.4.0
revision 1
-set branch [join [lrange [split ${version} .] 0 1] .]
+set branch [join [lrange [split ${version} .] 0 1] .]
-categories graphics math science devel
+categories graphics math science devel
maintainers dweber openmaintainer
@@ -159,7 +159,7 @@
set vtkDocPathLink ${prefix}/share/doc/${distname}
xinstall -d -o root -g admin -m 0755 ${destroot}/${vtkDocPathMain}
xinstall -d -o root -g admin -m 0755 ${destroot}/${vtkDocPathLink}
- # Add the doxygen documentation
+ # Add the doxygen documentation
system "tar -C ${destroot}/${vtkDocPathMain} -zxf ${vtkDocDistFile}"
# Add basic documentation
file copy ${worksrcpath}/README.html ${destroot}/${vtkDocPathMain}
@@ -414,7 +414,7 @@
-DPYTHON_DEBUG_LIBRARY:FILEPATH=${prefix}/lib/lib${python}.dylib \
-DPYTHON_EXECUTABLE:FILEPATH=${prefix}/bin/${python} \
-DVTK_PYTHON_SETUP_ARGS:STRING='--prefix=${prefix} --root=${destroot}'
- # The VTK_PYTHON_SETUP_ARGS *MUST* be in single quotes
+ # The VTK_PYTHON_SETUP_ARGS *MUST* be in single quotes
post-destroot {
# Redefine all the python variables in this clause (they are not carried
# through from the definitions above in the variant).
@@ -426,7 +426,7 @@
move ${destroot}${prefix}/bin/vtkpython ${destroot}${prefix}/bin/vtk-${branch}-${pyport}
# Is it possible to change the python site-package name and have it all work OK?
# from: /opt/local/lib/python2.6/site-packages/vtk
- # to: /opt/local/lib/python2.6/site-packages/vtk-5.4
+ # to: /opt/local/lib/python2.6/site-packages/vtk-5.4
# Reset the RPATH for all the python .so files
set buildBinPath ${build.dir}/bin
set vtkLibPath ${prefix}/lib/${distname}
@@ -450,7 +450,7 @@
depends_lib-append \
port:${pyport}
configure.args-delete \
- -DVTK_WRAP_PYTHON:BOOL=OFF
+ -DVTK_WRAP_PYTHON:BOOL=OFF
configure.args-append \
-DVTK_WRAP_PYTHON:BOOL=ON \
-DVTK_NO_PYTHON_THREADS:BOOL=OFF \
@@ -460,7 +460,7 @@
-DPYTHON_EXECUTABLE:FILEPATH=${prefix}/bin/${python} \
-DVTK_PYTHON_SETUP_ARGS:STRING='--prefix=${pyframe} --root=${destroot}'
# For 2.6, it needs to be installed into ${pyframe}/lib/${python}/site-packages
- # The VTK_PYTHON_SETUP_ARGS *MUST* be in single quotes
+ # The VTK_PYTHON_SETUP_ARGS *MUST* be in single quotes
post-destroot {
# Redefine all the python variables in this clause (they are not carried
# through from the definitions above in the variant).
@@ -472,7 +472,7 @@
move ${destroot}${prefix}/bin/vtkpython ${destroot}${prefix}/bin/vtk-${branch}-${pyport}
# Is it possible to change the python site-package name and have it all work OK?
# from: /opt/local/lib/python2.6/site-packages/vtk
- # to: /opt/local/lib/python2.6/site-packages/vtk-5.4
+ # to: /opt/local/lib/python2.6/site-packages/vtk-5.4
# Reset the RPATH for all the python .so files
set buildBinPath ${build.dir}/bin
set vtkLibPath ${prefix}/lib/${distname}
@@ -535,7 +535,7 @@
set includePath [exec ${prefix}/bin/mysql_config5 --include]
set includePath [string trim ${includePath} -I ]
#if [ exec find $includePath -name "mysql.h" ]
- set libs [exec ${prefix}/bin/mysql_config5 --libs]
+ set libs [exec ${prefix}/bin/mysql_config5 --libs]
set libIdx [lsearch -regex $libs "${prefix}/lib/mysql"]
set libPath [lindex $libs $libIdx]
set libPath [string trim ${libPath} -L ]
@@ -558,7 +558,7 @@
set pgconf [exec ${prefix}/lib/postgresql83/bin/pg_config ]
set includeIdx [lsearch -regex ${pgconf} "^INCLUDEDIR"]
set includePath [lindex ${pgconf} [expr ${includeIdx} + 2]]
- set libIdx [lsearch -regex $pgconf "^LIBDIR"]
+ set libIdx [lsearch -regex $pgconf "^LIBDIR"]
set libPath [lindex $pgconf [expr $libIdx + 2]]
set libFile [exec find ${libPath} -name "libpq.dylib"]
depends_lib-append \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090511/a5e55562/attachment.html>
More information about the macports-changes
mailing list