[89291] trunk/dports/lang/falcon/Portfile

snc at macports.org snc at macports.org
Mon Jan 23 06:34:08 PST 2012


Revision: 89291
          http://trac.macports.org/changeset/89291
Author:   snc at macports.org
Date:     2012-01-23 06:34:07 -0800 (Mon, 23 Jan 2012)
Log Message:
-----------
falcon: fix relative dylib id

Modified Paths:
--------------
    trunk/dports/lang/falcon/Portfile

Modified: trunk/dports/lang/falcon/Portfile
===================================================================
--- trunk/dports/lang/falcon/Portfile	2012-01-23 12:17:28 UTC (rev 89290)
+++ trunk/dports/lang/falcon/Portfile	2012-01-23 14:34:07 UTC (rev 89291)
@@ -6,6 +6,7 @@
 
 name                falcon
 version             0.9.6.8
+revision            1
 categories          lang
 maintainers         snc openmaintainer
 license             {GPL-2 FPLL-1.1}
@@ -33,6 +34,13 @@
 
 configure.args-append   -DFALCON_BUILD_SDL=OFF
 
+post-build {
+    system -W ${worksrcpath}/lib "install_name_tool -id ${prefix}/lib/libfalcon_engine.1.dylib libfalcon_engine.1.dylib"
+    foreach file [glob ${worksrcpath}/lib/falcon/*dylib] {
+        system -W ${worksrcpath}/lib/falcon "install_name_tool -change libfalcon_engine.1.dylib ${prefix}/lib/libfalcon_engine.1.dylib $file"
+    }
+}
+
 livecheck.type      regex
 livecheck.url       ${homepage}/index.ftd?page_id=official_download
 livecheck.regex     Falcon-(\\d+(\\.\\d+)+)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120123/741dfb58/attachment.html>


More information about the macports-changes mailing list