[149341] trunk/dports/science/OpenCSG/Portfile

dstrubbe at macports.org dstrubbe at macports.org
Mon Jun 13 14:14:03 PDT 2016


Revision: 149341
          https://trac.macports.org/changeset/149341
Author:   dstrubbe at macports.org
Date:     2016-06-13 14:14:03 -0700 (Mon, 13 Jun 2016)
Log Message:
-----------
OpenSCG: Fix destroot problem introduced in last commit. Clarify message about test.

Modified Paths:
--------------
    trunk/dports/science/OpenCSG/Portfile

Modified: trunk/dports/science/OpenCSG/Portfile
===================================================================
--- trunk/dports/science/OpenCSG/Portfile	2016-06-13 21:08:27 UTC (rev 149340)
+++ trunk/dports/science/OpenCSG/Portfile	2016-06-13 21:14:03 UTC (rev 149341)
@@ -38,8 +38,8 @@
 build.target        sub-src-all
 
 destroot {
-    eval file copy [glob ${worksrcpath}/../lib/*] ${destroot}${prefix}/lib
-    eval file copy [glob ${worksrcpath}/../include/*] ${destroot}${prefix}/include
+    eval file copy [glob ${worksrcpath}/lib/*] ${destroot}${prefix}/lib
+    eval file copy [glob ${worksrcpath}/include/*] ${destroot}${prefix}/include
     system "install_name_tool -id ${prefix}/lib/libopencsg.[lindex [split ${version} .] 0].dylib ${destroot}${prefix}/lib/libopencsg.dylib"
 }
 
@@ -50,6 +50,6 @@
 test.run            yes
 test.target         sub-example-all
 post-test {
-    ui_msg "Close the window that appears to complete the test."
+    ui_msg "To finish the test, close the window that appears."
     system "DYLD_LIBRARY_PATH=${worksrcpath}/lib ${worksrcpath}/example/opencsgexample.app/Contents/MacOS/opencsgexample"
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160613/580c4f36/attachment.html>


More information about the macports-changes mailing list