[70361] trunk/dports/x11/lablgtk/Portfile

ryandesign at macports.org ryandesign at macports.org
Sat Aug 7 01:26:11 PDT 2010


Revision: 70361
          http://trac.macports.org/changeset/70361
Author:   ryandesign at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100807/ffe079f4/attachment.html>


More information about the macports-changes mailing list