Ticket #41869: Portfile

File Portfile, 1.8 KB (added by juanrgar (Juan R. García Blanco), 11 years ago)

Updated to @0.0.10

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
5
6name                libgit2-glib
7version             0.0.10
8license             LGPL-2.1
9set branch          [join [lrange [split ${version} .] 0 1] .]
10description         Glib wrapper library around the libgit2 git access library.
11long_description    ${description}
12
13maintainers         gmail.com:juanrgar openmaintainer
14categories          gnome devel
15platforms           darwin
16homepage            https://wiki.gnome.org/action/show/Apps/Gitg
17master_sites        gnome:sources/${name}/${branch}/
18
19use_xz              yes
20
21checksums           rmd160  3b2f16e33a9eabe8abade2779d4716ce8e95d1c0 \
22                    sha256  3d9dc3c2ca7fab21aa005100b102e085f4d864e507c424d46de451e9d40bfeff
23
24depends_build       port:pkgconfig
25
26depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2 \
27                    port:libgit2 \
28                    port:gobject-introspection
29
30configure.args      --disable-silent-rules \
31                    --enable-python=no
32
33variant python32 description {Enable Python support, using python32} conflicts python33 {
34    configure.args-delete --enable-python=no
35    configure.args-append --enable-python=yes
36    depends_lib-append port:py32-gobject3
37    configure.pkg_config_path-append ${frameworks_dir}/Python.framework/Versions/3.2/lib/pkgconfig/
38}
39
40variant python33 description {Enable Python support, using python33} conflicts python32 {
41    configure.args-delete --enable-python=no
42    configure.args-append --enable-python=yes
43    depends_lib-append port:py33-gobject3
44    configure.pkg_config_path-append ${frameworks_dir}/Python.framework/Versions/3.3/lib/pkgconfig/
45}
46
47livecheck.type      gnome