Skip to content
Permalink
Browse files

uzbl: use python27

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@117713 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
ryandesign committed Mar 9, 2014
1 parent 3ed7676 commit d0acd833b66c13fe75970c2df405f8c114a33783
Showing with 11 additions and 0 deletions.
  1. +11 −0 www/uzbl/Portfile
@@ -5,6 +5,7 @@ PortSystem 1.0
PortGroup github 1.0

github.setup Dieterbe uzbl 2012.05.14
revision 1
categories www
license GPL-3
platforms darwin
@@ -25,6 +26,16 @@ depends_lib port:gtk2 \
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 {}

0 comments on commit d0acd83

Please sign in to comment.
You can’t perform that action at this time.