source: trunk/dports/python/py27-webkitgtk/Portfile @ 87001

Last change on this file since 87001 was 87001, checked in by dports@…, 8 years ago

py27-webkitgtk: license

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
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: Portfile 87001 2011-11-08 01:31:47Z dports@macports.org $
3
4PortSystem      1.0
5
6name            py27-webkitgtk
7version         1.1.8
8revision        1
9categories      python www
10license         LGPL-2+
11description     Python bindings for the WebKit GTK+ port
12long_description ${description}
13maintainers     nodamage.com:nodamage elelay openmaintainer
14homepage        http://code.google.com/p/pywebkitgtk/
15
16platforms       darwin
17depends_build   port:pkgconfig
18depends_lib     port:webkit-gtk port:py27-gtk port:libffi
19
20distname        pywebkitgtk-${version}
21master_sites    http://pywebkitgtk.googlecode.com/files/
22
23checksums       md5     158335385354ba38090c9324b37bf225 \
24                sha1    74ff2222d9aa9af6ab0aa4279b28dd2b26f5824e \
25                rmd160  e857939e65a9a409390f1fd256310988f592935f
26
27set python_prefix ${frameworks_dir}/Python.framework/Versions/2.7
28
29configure.pre_args-delete  --prefix=${prefix}
30configure.pre_args-append  --prefix=${python_prefix}
31configure.args-append      --includedir=${python_prefix}/include/python2.7
32configure.pkg_config_path  ${python_prefix}/lib/pkgconfig
33configure.env-append PYGOBJECT_CODEGEN=${python_prefix}/bin/pygobject-codegen-2.0
34configure.python    ${prefix}/bin/python2.7
35
36post-destroot {
37        # Add a .pth file pointing to the proper location
38        # See: http://code.google.com/p/pywebkitgtk/issues/detail?id=38
39        system "echo webkit-1.0 > ${destroot}${python_prefix}/lib/python2.7/site-packages/webkit.pth"
40}
41
42livecheck.type  regex
43livecheck.url   ${homepage}
44livecheck.regex pywebkitgtk-(\\d+.\\d+\\.\\d+)
Note: See TracBrowser for help on using the repository browser.