Ticket #22125: Portfile

File Portfile, 1.1 KB (added by nodamage@…, 15 years ago)
Line 
1# $Id$
2
3PortSystem      1.0
4
5name            py26-pygtksourceview
6version         2.6.0
7categories      python x11
8platforms       darwin
9maintainers     nodamage.com:nodamage openmaintainer
10description     Python bindings for GtkSourceView2
11long_description ${description}
12
13homepage        http://www.gnome.org/
14master_sites    gnome:sources/pygtksourceview/2.6/
15distname        pygtksourceview-${version}
16
17checksums       md5 069633ab8724ec5cfeaadace6e7f1317
18
19depends_build   port:pkgconfig \
20                port:libxslt
21depends_lib     port:py26-gtk \
22                port:gtksourceview2
23
24set python_prefix ${frameworks_dir}/Python.framework/Versions/2.6
25
26configure.pre_args-delete  --prefix=${prefix}
27configure.pre_args-append  --prefix=${python_prefix}
28configure.args-append      --includedir=${python_prefix}/include/python2.6
29configure.pkg_config_path  ${python_prefix}/lib/pkgconfig
30
31configure.python    ${prefix}/bin/python2.6
32
33platform darwin 9 {
34    post-patch {
35        reinplace "s| -export-symbols-regex.*||g" ${worksrcpath}/Makefile.in
36    }
37}