source: trunk/dports/gnome/libgit2-glib/Portfile

Last change on this file was 152421, checked in by devans@…, 15 months ago

libgit2-glib: update to version 0.24.4.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.3 KB
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: Portfile 152421 2016-09-08 15:52:21Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           gobject_introspection 1.0
6PortGroup           compiler_blacklist_versions 1.0
7
8name                libgit2-glib
9version             0.24.4
10license             LGPL-2.1
11set branch          [join [lrange [split ${version} .] 0 1] .]
12description         Glib wrapper library around the libgit2 git access library.
13long_description    ${description}
14
15maintainers         juanrgar devans openmaintainer
16categories          gnome devel
17platforms           darwin
18homepage            https://wiki.gnome.org/action/show/Apps/Gitg
19master_sites        gnome:sources/${name}/${branch}/
20
21use_xz              yes
22
23checksums           rmd160  e472bbaed8394d8298a46feb98b7785c370e95e7 \
24                    sha256  3a211f756f250042f352b3070e7314a048c88e785dba9d118b851253a7c60220
25
26depends_build       port:pkgconfig
27
28depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2 \
29                    port:curl \
30                    port:libgit2 \
31                    port:libssh2 \
32                    port:vala
33
34patchfiles          patch-configure.ac.diff
35
36gobject_introspection yes
37
38compiler.blacklist  *gcc* {clang < 300}
39
40use_autoreconf      yes
41autoreconf.args     -fvi
42
43configure.args      --disable-silent-rules \
44                    --enable-compile-warnings=minimum \
45                    --enable-vala \
46                    --enable-python=no
47
48# requires python >= 3.2.3
49
50variant python34 description {Enable Python support, using python34} {
51    configure.args-delete --enable-python=no
52    configure.args-append --enable-python=yes
53    depends_lib-append port:py34-gobject3
54    configure.python ${prefix}/bin/python3.4
55    configure.pkg_config_path-append ${frameworks_dir}/Python.framework/Versions/3.4/lib/pkgconfig/
56}
57
58variant python35 description {Enable Python support, using python35} {
59    configure.args-delete --enable-python=no
60    configure.args-append --enable-python=yes
61    depends_lib-append port:py35-gobject3
62    configure.python ${prefix}/bin/python3.5
63    configure.pkg_config_path-append ${frameworks_dir}/Python.framework/Versions/3.5/lib/pkgconfig/
64}
65
66if {![variant_isset python35]} {
67    default_variants +python34
68}
69
70livecheck.type      gnome-with-unstable
Note: See TracBrowser for help on using the repository browser.