source: trunk/dports/gnome/gexiv2/Portfile

Last change on this file was 151425, checked in by devans@…, 12 months ago

gexiv2: update to version 0.10.4, disable compile warnings.

  • 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 151425 2016-08-16 01:19:19Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           gobject_introspection 1.0
6
7name                gexiv2
8version             0.10.4
9license             GPL-2
10set branch          [join [lrange [split ${version} .] 0 1] .]
11description         gexiv2 is a GObject-based wrapper around the exiv2 library.
12long_description    ${description} \
13                    It makes the basic features of exiv2 available to GNOME applications. \
14                    Thanks to GObject Introspection support, gexiv2 has excellent support \
15                    for Python 2 & 3, and can also be accessed by any other programming \
16                    language that supports GI.
17maintainers         devans openmaintainer
18categories          gnome graphics
19platforms           darwin
20homepage            https://wiki.gnome.org/Projects/gexiv2
21master_sites        gnome:sources/${name}/${branch}/
22
23use_xz              yes
24
25checksums           rmd160  0dbaf2e988c4516240b007d0bc7db74c180605c9 \
26                    sha256  ad8d31afdc0a1932cc44c4cfcea449497c0d0b445c0ad2f9735707b306e71ca4
27
28depends_build       port:pkgconfig
29
30depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2 \
31                    port:vala \
32                    port:exiv2
33
34patchfiles          patch-configure.ac.diff
35
36gobject_introspection yes
37
38use_autoreconf      yes
39autoreconf.args     -fvi
40
41configure.args      --enable-compile-warnings=no \
42                    --disable-silent-rules
43
44# one each of python2 python3 allowed
45
46variant python27 description {Build Python2 bindings using Python 2.7} {
47    depends_lib-append      port:py27-gobject3
48    configure.env-append    PYTHON2=${prefix}/bin/python2.7
49}
50
51default_variants +python27
52
53variant python34 conflicts python35 description {Build Python3 bindings using Python 3.4} {
54    depends_lib-append      port:py34-gobject3
55    configure.env-append    PYTHON3=${prefix}/bin/python3.4
56}
57
58variant python35 conflicts python34 description {Build Python3 bindings using Python 3.5} {
59    depends_lib-append      port:py35-gobject3
60    configure.env-append    PYTHON3=${prefix}/bin/python3.5
61}
62
63if {![variant_isset python35]} {
64    default_variants +python34
65}
66
67livecheck.type      gnome
Note: See TracBrowser for help on using the repository browser.