1 | # $Id$ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name py26-pygtksourceview |
---|
6 | version 2.6.0 |
---|
7 | categories python x11 |
---|
8 | platforms darwin |
---|
9 | maintainers nodamage.com:nodamage openmaintainer |
---|
10 | description Python bindings for GtkSourceView2 |
---|
11 | long_description ${description} |
---|
12 | |
---|
13 | homepage http://www.gnome.org/ |
---|
14 | master_sites gnome:sources/pygtksourceview/2.6/ |
---|
15 | distname pygtksourceview-${version} |
---|
16 | |
---|
17 | checksums md5 069633ab8724ec5cfeaadace6e7f1317 |
---|
18 | |
---|
19 | depends_build port:pkgconfig \ |
---|
20 | port:libxslt |
---|
21 | depends_lib port:py26-gtk \ |
---|
22 | port:gtksourceview2 |
---|
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 | platform darwin 9 { |
---|
34 | post-patch { |
---|
35 | reinplace "s| -export-symbols-regex.*||g" ${worksrcpath}/Makefile.in |
---|
36 | } |
---|
37 | } |
---|