1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | name py26-webkitgtk |
---|
6 | version 1.1.6 |
---|
7 | categories python www |
---|
8 | description Python bindings for thw WebKit GTK+ port |
---|
9 | long_description ${description} |
---|
10 | maintainers nodamage.com:nodamage openmaintainer |
---|
11 | platforms darwin |
---|
12 | homepage http://code.google.com/p/pywebkitgtk/ |
---|
13 | master_sites http://pywebkitgtk.googlecode.com/files/ |
---|
14 | distname pywebkitgtk-${version} |
---|
15 | |
---|
16 | checksums md5 883f3d7386d29b6c0d00155329041854 \ |
---|
17 | sha1 17cced538540dd2d97b0256e2c3677cd03ee7193 \ |
---|
18 | rmd160 0fce023574fbd52116195bf05e57b7eff38b3245 |
---|
19 | |
---|
20 | depends_lib \ |
---|
21 | port:webkit-gtk \ |
---|
22 | port:python26 |
---|
23 | |
---|
24 | set python_prefix ${frameworks_dir}/Python.framework/Versions/2.6 |
---|
25 | |
---|
26 | configure.pre_args-delete --prefix=${prefix} |
---|
27 | configure.pre_args-append --prefix=${python_prefix} |
---|
28 | configure.args-append --includedir=${python_prefix}/include/python2.6 |
---|
29 | configure.pkg_config_path ${python_prefix}/lib/pkgconfig |
---|
30 | |
---|
31 | configure.python ${prefix}/bin/python2.6 |
---|
32 | |
---|
33 | post-destroot { |
---|
34 | # Add a .pth file pointing to the proper location |
---|
35 | # See: http://code.google.com/p/pywebkitgtk/issues/detail?id=38 |
---|
36 | system "echo webkit-1.0 > ${destroot}${python_prefix}/lib/python2.6/site-packages/webkit.pth" |
---|
37 | } |
---|