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 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name libgit2-glib |
---|
7 | version 0.0.10 |
---|
8 | license LGPL-2.1 |
---|
9 | set branch [join [lrange [split ${version} .] 0 1] .] |
---|
10 | description Glib wrapper library around the libgit2 git access library. |
---|
11 | long_description ${description} |
---|
12 | |
---|
13 | maintainers gmail.com:juanrgar openmaintainer |
---|
14 | categories gnome devel |
---|
15 | platforms darwin |
---|
16 | homepage https://wiki.gnome.org/action/show/Apps/Gitg |
---|
17 | master_sites gnome:sources/${name}/${branch}/ |
---|
18 | |
---|
19 | use_xz yes |
---|
20 | |
---|
21 | checksums rmd160 3b2f16e33a9eabe8abade2779d4716ce8e95d1c0 \ |
---|
22 | sha256 3d9dc3c2ca7fab21aa005100b102e085f4d864e507c424d46de451e9d40bfeff |
---|
23 | |
---|
24 | depends_build port:pkgconfig |
---|
25 | |
---|
26 | depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \ |
---|
27 | port:libgit2 \ |
---|
28 | port:gobject-introspection |
---|
29 | |
---|
30 | configure.args --disable-silent-rules \ |
---|
31 | --enable-python=no |
---|
32 | |
---|
33 | variant 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 | |
---|
40 | variant 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 | |
---|
47 | livecheck.type gnome |
---|