Ticket #40196: Portfile

File Portfile, 1.9 KB (added by gui-dos (Guido Soranzio), 11 years ago)
Line 
1# $Id$
2
3PortSystem      1.0
4
5name            libpeas
6version         1.8.1
7license         LGPL-2+
8set branch      [join [lrange [split ${version} .] 0 1] .]
9description     GObject-based plugins engine.
10long_description \
11                libpeas is a gobject-based plugins engine, and is targetted at \
12                giving every application the chance to assume its own extensibility. \
13                It also has a set of features including, but not limited to: \
14                * multiple extension points \
15                * on demand (lazy) programming language support for C, Python and JS \
16                * simplicity of the API
17maintainers     nomaintainer
18categories      gnome
19platforms       darwin
20homepage        https://wiki.gnome.org/Libpeas
21master_sites    gnome:sources/${name}/${branch}/
22
23use_xz          yes
24
25checksums       rmd160  5ae13b20221a4c61904933664bbaf19fe830524e \
26                sha256  ff0e7cd1f0da5dc1289efdd4662a06188f8f0fb088eac67abe05ffa66ba7751d
27
28patchfiles      patch-loaders-python-peas-plugin-loader-python.c.diff
29
30depends_build   port:pkgconfig \
31                port:intltool
32
33depends_lib     port:gobject-introspection \
34                port:gettext \
35                port:gtk3 \
36                port:py33-gobject3 \
37                port:py33-cairo \
38                port:glade \
39                port:seed \
40                port:gjs
41   
42configure.python          ${prefix}/bin/python3.3
43set python_framework      ${frameworks_dir}/Python.framework/Versions/3.3
44configure.pkg_config_path ${python_framework}/lib/pkgconfig
45configure.env             PATH=${python_framework}/bin:$env(PATH)
46configure.ldflags-append  -L${python_framework}/lib
47
48configure.args  --enable-python3 \
49                --disable-python2 \
50                --enable-gjs \
51                --enable-seed
52
53post-activate   {
54    system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor"
55}
56
57livecheck.type  gnome