[63811] trunk/dports/graphics/InsightToolkit/Portfile
dweber at macports.org
dweber at macports.org
Mon Feb 15 15:30:30 PST 2010
Revision: 63811
http://trac.macports.org/changeset/63811
Author: dweber at macports.org
Date: 2010-02-15 15:30:30 -0800 (Mon, 15 Feb 2010)
Log Message:
-----------
no universal variant, bug fix for post-destroot section to create a version specific cmake module for FindITK.cmake
Modified Paths:
--------------
trunk/dports/graphics/InsightToolkit/Portfile
Modified: trunk/dports/graphics/InsightToolkit/Portfile
===================================================================
--- trunk/dports/graphics/InsightToolkit/Portfile 2010-02-15 22:54:56 UTC (rev 63810)
+++ trunk/dports/graphics/InsightToolkit/Portfile 2010-02-15 23:30:30 UTC (rev 63811)
@@ -5,7 +5,7 @@
name InsightToolkit
version 3.16.0
-revision 1
+revision 2
set branch [join [lrange [split ${version} .] 0 1] .]
# Online documentation on the 3.16 release:
@@ -130,8 +130,10 @@
ln -sf ${distname} ${destroot}${prefix}/share/${itkName}
# copy FindITK.cmake to a version specific file, which might persist even
# when cmake is updated, deactivated, etc.
- set findITK [glob ${prefix}/share/cmake-*/Modules/FindITK.cmake]
+ set cmakePath [lrange [lsort [glob ${prefix}/share/cmake-*]] end end]
+ set findITK [glob ${cmakePath}/Modules/FindITK.cmake]
set findITKbranch [strsed ${findITK} #FindITK#FindITK-${branch}#]
+ xinstall -d -m 0755 ${destroot}${cmakePath}/Modules
copy ${findITK} ${destroot}${findITKbranch}
# Change the content of $findITKbranch, to find this port installation,
# then a generic ITK installation within MacPorts ${prefix}/lib, and
@@ -165,6 +167,9 @@
+py25
# Test the py26 variant ASAP.
+# universal variant is failing, so let's disable it
+universal_variant no
+
variant doc description "provide doxygen documentation in ${itkDocPath}" {
distfiles-append ${itkDocFile}
checksums-append ${itkDocFile} \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100215/e0f10e7c/attachment.html>
More information about the macports-changes
mailing list