source: trunk/dports/devel/gtkimageview/Portfile

Last change on this file was 132586, checked in by devans@…, 2 years ago

gtkimageview: fix build error due to gdk-pixbuf deprecations (#46767).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 132586 2015-02-05 14:43:55Z ryandesign@macports.org $
3
4PortSystem      1.0
5PortGroup       active_variants 1.1
6
7name            gtkimageview
8version         1.6.4
9revision        7
10license         LGPL-2.1
11categories      devel
12maintainers     devans openmaintainer
13description     GtkImageView is a simple image viewer widget for GTK.
14
15long_description \
16                ${description}
17
18homepage        https://github.com/GNOME/${name}
19platforms       darwin
20
21master_sites    http://pkgs.fedoraproject.org/repo/pkgs/${name}/${distfiles}/501367b3f50e69a12208dc9c6ad00b18/
22
23checksums       md5     501367b3f50e69a12208dc9c6ad00b18 \
24                sha1    a6c78744ba98441bca28c9d27bf89245517940db \
25                rmd160  0d9cfdf97cde57bba057d75600d1abb0eabfe063
26
27
28depends_build   port:pkgconfig \
29                port:gnome-common \
30                port:gtk-doc
31
32depends_lib     port:gtk2
33
34patchfiles      patch-configure.in.diff
35
36post-patch {
37    reinplace "/SUBDIRS/s/tests//" \
38        ${worksrcpath}/Makefile.am
39}
40
41use_autoreconf  yes
42autoreconf.args -fvi
43
44configure.args  --enable-compile-warnings=minimum
45
46#
47# the following variants are used
48# to identify this port's binary dependencies
49# based on the variant of gtk2 used for the build
50#
51
52variant x11 conflicts quartz {
53    require_active_variants port:gtk2 x11
54}
55
56variant quartz conflicts x11 {
57    require_active_variants port:gtk2 quartz
58}
59
60if {![variant_isset quartz]} {
61    default_variants +x11
62}
63
64livecheck.type  regex
65livecheck.url   http://pkgs.fedoraproject.org/repo/pkgs/${name}
66livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Note: See TracBrowser for help on using the repository browser.