[117713] trunk/dports/www/uzbl/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sat Mar 8 17:54:41 PST 2014
Revision: 117713
https://trac.macports.org/changeset/117713
Author: ryandesign at macports.org
Date: 2014-03-08 17:54:41 -0800 (Sat, 08 Mar 2014)
Log Message:
-----------
uzbl: use python27
Modified Paths:
--------------
trunk/dports/www/uzbl/Portfile
Modified: trunk/dports/www/uzbl/Portfile
===================================================================
--- trunk/dports/www/uzbl/Portfile 2014-03-09 01:49:58 UTC (rev 117712)
+++ trunk/dports/www/uzbl/Portfile 2014-03-09 01:54:41 UTC (rev 117713)
@@ -5,6 +5,7 @@
PortGroup github 1.0
github.setup Dieterbe uzbl 2012.05.14
+revision 1
categories www
license GPL-3
platforms darwin
@@ -25,6 +26,16 @@
path:lib/pkgconfig/webkit-1.0.pc:webkit-gtk \
port:libsoup
+depends_run port:python27
+
+post-patch {
+ foreach f [concat [glob ${worksrcpath}/bin/*] [glob ${worksrcpath}/examples/data/scripts/*]] {
+ if {[file isfile ${f}]} {
+ reinplace -E "s|#!/usr/bin/env python2?|#!${prefix}/bin/python2.7|g" ${f}
+ }
+ }
+}
+
use_configure no
variant universal {}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140308/b58af22d/attachment.html>
More information about the macports-changes
mailing list