[61561] trunk/dports/graphics/Box2D/Portfile

nox at macports.org nox at macports.org
Mon Dec 14 16:06:04 PST 2009


Revision: 61561
          http://trac.macports.org/changeset/61561
Author:   nox at macports.org
Date:     2009-12-14 16:06:02 -0800 (Mon, 14 Dec 2009)
Log Message:
-----------
Fix Box2D installation

The library should be called `libbox2d.dylib`, furthermore the header
should be installed too.

Modified Paths:
--------------
    trunk/dports/graphics/Box2D/Portfile

Modified: trunk/dports/graphics/Box2D/Portfile
===================================================================
--- trunk/dports/graphics/Box2D/Portfile	2009-12-14 23:54:14 UTC (rev 61560)
+++ trunk/dports/graphics/Box2D/Portfile	2009-12-15 00:06:02 UTC (rev 61561)
@@ -5,6 +5,7 @@
                   
 name            Box2D
 version         2.0.2
+revision        1
 categories      graphics devel
 maintainers     nox openmaintainer
 license         as-is
@@ -33,8 +34,10 @@
 
 post-destroot {
     set app_path "${applications_dir}/Box2D Test Bed.app"
-    set lib_path ${prefix}/lib/libBox2D.dylib
-    
+    set lib_path ${prefix}/lib/libbox2d.dylib
+
+    copy ${workpath}/${distname}/Include/Box2D.h \
+            ${destroot}${prefix}/include
     delete ${destroot}${app_path}/Contents/MacOS/libBox2D.dylib
     move ${destroot}${applications_dir}/libBox2D.dylib \
             ${destroot}${lib_path}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091214/bf8023e6/attachment.html>


More information about the macports-changes mailing list