Revision: 70361 http://trac.macports.org/changeset/70361 Author: ryandesign@macports.org Date: 2010-08-07 01:26:07 -0700 (Sat, 07 Aug 2010) Log Message: ----------- lablgtk: get the path to the destroot out of the lablgtk script Modified Paths: -------------- trunk/dports/x11/lablgtk/Portfile Modified: trunk/dports/x11/lablgtk/Portfile =================================================================== --- trunk/dports/x11/lablgtk/Portfile 2010-08-07 08:17:13 UTC (rev 70360) +++ trunk/dports/x11/lablgtk/Portfile 2010-08-07 08:26:07 UTC (rev 70361) @@ -4,6 +4,7 @@ name lablgtk version 1.2.7 +revision 1 categories x11 maintainers nomaintainer description Objective Caml interface to gtk+ @@ -34,6 +35,7 @@ post-destroot { system "ranlib ${destroot}${prefix}/lib/ocaml/lablgtk/lablgtk.a" system "ranlib ${destroot}${prefix}/lib/ocaml/lablgtk/liblablgtk.a" + reinplace "s|${destroot}${prefix}|${prefix}|g" ${destroot}${prefix}/bin/${name} } livecheck.type regex