Ticket #21350: Portfile

File Portfile, 1.6 KB (added by nodamage@…, 15 years ago)
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$
3
4PortSystem      1.0
5name            py26-pyclutter
6version         0.9.2
7distname        pyclutter-${version}
8set branch      [string range $version 0 [expr [string last "." $version] - 1]]
9categories      python graphics
10description     Python bindings for Clutter 1.0.
11long_description This port contains the Python modules that allow you \
12                 to use the Clutter toolkit in Python programs.
13maintainers     nodamage.com:nodamage
14platforms       darwin
15homepage        http://www.clutter-project.org/
16master_sites    http://www.clutter-project.org/sources/pyclutter/${branch}/
17
18checksums       md5     c848543847191ab62361d3c705567d52 \
19                sha1    b67ba376bcc14b97364cf730776e9523d4d76de3 \
20                rmd160  bba1fe67ab4d6dae71d2e5a849e7042ebc0a9c42
21
22depends_build \
23    port:pkgconfig \
24    port:libtool
25   
26depends_lib \
27    port:python26 \
28    port:glib2 \
29    port:gtk2 \
30    port:py26-cairo \
31    port:py26-gobject \
32    port:py26-gtk \
33    port:py26-gst-python \
34    port:clutter \
35    port:clutter-gtk \
36    port:clutter-gst
37
38set python_prefix ${frameworks_dir}/Python.framework/Versions/2.6
39
40configure.pre_args-delete  --prefix=${prefix}
41configure.pre_args-append  --prefix=${python_prefix}
42configure.args-append      --includedir=${python_prefix}/include/python2.6
43configure.pkg_config_path  ${python_prefix}/lib/pkgconfig
44
45configure.python    ${prefix}/bin/python2.6
46
47configure.env-append PYGOBJECT_CODEGEN=${prefix}/Library/Frameworks/Python.framework/Versions/2.6/bin/pygobject-codegen-2.0