[51600] users/dweber/graphics/InsightToolkit/Portfile
dweber at macports.org
dweber at macports.org
Thu May 28 13:39:54 PDT 2009
Revision: 51600
http://trac.macports.org/changeset/51600
Author: dweber at macports.org
Date: 2009-05-28 13:39:54 -0700 (Thu, 28 May 2009)
Log Message:
-----------
removing hack for FindITK.cmake after making that change in my copy of cmake in my user svn
Modified Paths:
--------------
users/dweber/graphics/InsightToolkit/Portfile
Modified: users/dweber/graphics/InsightToolkit/Portfile
===================================================================
--- users/dweber/graphics/InsightToolkit/Portfile 2009-05-28 20:16:43 UTC (rev 51599)
+++ users/dweber/graphics/InsightToolkit/Portfile 2009-05-28 20:39:54 UTC (rev 51600)
@@ -123,13 +123,11 @@
# when cmake is updated, deactivated, etc.
set findITK [glob ${prefix}/share/cmake-*/Modules/FindITK.cmake]
set findITKbranch [strsed ${findITK} #FindITK#FindITK-${branch}#]
- copy ${findITK} ${destroot}${findITK}
copy ${findITK} ${destroot}${findITKbranch}
- # Change the content of $findITK and $findITKbranch, to find MacPorts lib
+ # Change the content of $findITKbranch, to find MacPorts lib
set stdlib /usr/local/lib/InsightToolkit
- set newlib ${prefix}/lib/InsightToolkit
- reinplace "s|${stdlib}|${newlib}\\\n ${newlib}-${branch}\\\n ${stdlib}|g" ${destroot}${findITK}
- reinplace "s|${stdlib}|${newlib}\\\n ${newlib}-${branch}\\\n ${stdlib}|g" ${destroot}${findITKbranch}
+ set maclib ${prefix}/lib/InsightToolkit
+ reinplace "s|${stdlib}|${maclib}\\\n ${maclib}-${branch}\\\n ${stdlib}|g" ${destroot}${findITKbranch}
# Change the content of ITKConfig.cmake
reinplace "s|${name}|${distname}|g" ${destroot}${itkLibPath}/ITKConfig.cmake
copy ${destroot}${itkLibPath}/ITKConfig.cmake ${destroot}${itkLibPath}/itk-${branch}-config.cmake
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090528/76abfa43/attachment.html>
More information about the macports-changes
mailing list