[55135] trunk/dports/graphics/vtk-devel/Portfile
snc at macports.org
snc at macports.org
Thu Aug 6 18:47:42 PDT 2009
Revision: 55135
http://trac.macports.org/changeset/55135
Author: snc at macports.org
Date: 2009-08-06 18:47:42 -0700 (Thu, 06 Aug 2009)
Log Message:
-----------
in comments, remove hardcoded /opt/local. fix lint.
Modified Paths:
--------------
trunk/dports/graphics/vtk-devel/Portfile
Modified: trunk/dports/graphics/vtk-devel/Portfile
===================================================================
--- trunk/dports/graphics/vtk-devel/Portfile 2009-08-07 01:46:05 UTC (rev 55134)
+++ trunk/dports/graphics/vtk-devel/Portfile 2009-08-07 01:47:42 UTC (rev 55135)
@@ -129,11 +129,11 @@
# create version specific binaries and symlinks
if [file exists ${destroot}${prefix}/bin/vtkEncodeString] {
move ${destroot}${prefix}/bin/vtkEncodeString ${destroot}${prefix}/bin/vtk-${branch}-EncodeString
- ln -f -s vtk-${branch}-EncodeString ${destroot}${prefix}/bin/vtkEncodeString
+ ln -f -s vtk-${branch}-EncodeString ${destroot}${prefix}/bin/vtkEncodeString
}
if [file exists ${destroot}${prefix}/bin/lproj] {
move ${destroot}${prefix}/bin/lproj ${destroot}${prefix}/bin/vtk-${branch}-lproj
- ln -f -s vtk-${branch}-lproj ${destroot}${prefix}/bin/lproj
+ ln -f -s vtk-${branch}-lproj ${destroot}${prefix}/bin/lproj
}
}
@@ -449,11 +449,11 @@
post-destroot {
if [file exists ${destroot}${prefix}/bin/vtkWrapJava] {
move ${destroot}${prefix}/bin/vtkWrapJava ${destroot}${prefix}/bin/vtk-${branch}-WrapJava
- ln -f -s vtk-${branch}-WrapJava ${destroot}${prefix}/bin/vtkWrapJava
+ ln -f -s vtk-${branch}-WrapJava ${destroot}${prefix}/bin/vtkWrapJava
}
if [file exists ${destroot}${prefix}/bin/vtkParseJava] {
move ${destroot}${prefix}/bin/vtkParseJava ${destroot}${prefix}/bin/vtk-${branch}-ParseJava
- ln -f -s vtk-${branch}-ParseJava ${destroot}${prefix}/bin/vtkParseJava
+ ln -f -s vtk-${branch}-ParseJava ${destroot}${prefix}/bin/vtkParseJava
}
}
}
@@ -520,19 +520,19 @@
# version specific binaries, in case other apps look for them.
if [file exists ${destroot}${prefix}/bin/vtkpython] {
move ${destroot}${prefix}/bin/vtkpython ${destroot}${prefix}/bin/vtk-${branch}-${pyPort}
- ln -f -s vtk-${branch}-${pyPort} ${destroot}${prefix}/bin/vtkpython
+ ln -f -s vtk-${branch}-${pyPort} ${destroot}${prefix}/bin/vtkpython
}
if [file exists ${destroot}${prefix}/bin/pvtkpython] {
move ${destroot}${prefix}/bin/pvtkpython ${destroot}${prefix}/bin/pvtk-${branch}-${pyPort}
- ln -f -s pvtk-${branch}-${pyPort} ${destroot}${prefix}/bin/pvtkpython
+ ln -f -s pvtk-${branch}-${pyPort} ${destroot}${prefix}/bin/pvtkpython
}
if [file exists ${destroot}${prefix}/bin/vtkWrapPython] {
move ${destroot}${prefix}/bin/vtkWrapPython ${destroot}${prefix}/bin/vtk-${branch}-WrapPython${pyVer}
- ln -f -s vtk-${branch}-WrapPython${pyVer} ${destroot}${prefix}/bin/vtkWrapPython
+ ln -f -s vtk-${branch}-WrapPython${pyVer} ${destroot}${prefix}/bin/vtkWrapPython
}
if [file exists ${destroot}${prefix}/bin/vtkWrapPythonInit] {
move ${destroot}${prefix}/bin/vtkWrapPythonInit ${destroot}${prefix}/bin/vtk-${branch}-WrapPython${pyVer}Init
- ln -f -s vtk-${branch}-WrapPython${pyVer}Init ${destroot}${prefix}/bin/vtkWrapPythonInit
+ ln -f -s vtk-${branch}-WrapPython${pyVer}Init ${destroot}${prefix}/bin/vtkWrapPythonInit
}
################################################################################
# Is it possible to change the python site-package name and have it all work OK?
@@ -618,11 +618,11 @@
}
if [file exists ${destroot}${prefix}/bin/vtkWrapTcl] {
move ${destroot}${prefix}/bin/vtkWrapTcl ${destroot}${prefix}/bin/vtk-${branch}-WrapTcl
- ln -f -s vtk-${branch}-WrapTcl ${destroot}${prefix}/bin/vtkWrapTcl
+ ln -f -s vtk-${branch}-WrapTcl ${destroot}${prefix}/bin/vtkWrapTcl
}
if [file exists ${destroot}${prefix}/bin/vtkWrapTclInit] {
move ${destroot}${prefix}/bin/vtkWrapTclInit ${destroot}${prefix}/bin/vtk-${branch}-WrapTclInit
- ln -f -s vtk-${branch}-WrapTclInit ${destroot}${prefix}/bin/vtkWrapTclInit
+ ln -f -s vtk-${branch}-WrapTclInit ${destroot}${prefix}/bin/vtkWrapTclInit
}
}
@@ -743,7 +743,7 @@
# FindMPI module will not determine all the cmake variables
# automatically (don't set them). It should be sufficient to set the
# MPI_COMPILER and leave the rest to the FindMPI module, see:
- # /opt/local/share/cmake-2.6/Modules/FindMPI.cmake
+ # ${prefix}/share/cmake-2.6/Modules/FindMPI.cmake
}
@@ -753,8 +753,8 @@
configure.args-append \
-DVTK_USE_BOOST:BOOL=ON
# All determined automatically:
- #Boost_INCLUDE_DIR:PATH=/opt/local/include
- #Boost_LIBRARY_DIRS:FILEPATH=/opt/local/lib
+ #Boost_INCLUDE_DIR:PATH=${prefix}/include
+ #Boost_LIBRARY_DIRS:FILEPATH=${prefix}/lib
#Boost_USE_MULTITHREADED:BOOL=ON
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090806/68c41fca/attachment.html>
More information about the macports-changes
mailing list