# -*- 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 # $Id$ PortSystem 1.0 PortGroup active_variants 1.1 name gtkimageview version 1.6.4 revision 7 license LGPL-2.1 categories devel maintainers devans openmaintainer description GtkImageView is a simple image viewer widget for GTK. long_description \ ${description} homepage https://github.com/GNOME/${name} platforms darwin master_sites http://pkgs.fedoraproject.org/repo/pkgs/${name}/${distfiles}/501367b3f50e69a12208dc9c6ad00b18/ checksums md5 501367b3f50e69a12208dc9c6ad00b18 \ sha1 a6c78744ba98441bca28c9d27bf89245517940db \ rmd160 0d9cfdf97cde57bba057d75600d1abb0eabfe063 depends_build port:pkgconfig \ port:gnome-common \ port:gtk-doc depends_lib port:gtk2 patchfiles patch-configure.in.diff post-patch { reinplace "/SUBDIRS/s/tests//" \ ${worksrcpath}/Makefile.am } use_autoreconf yes autoreconf.args -fvi configure.args --enable-compile-warnings=minimum # # the following variants are used # to identify this port's binary dependencies # based on the variant of gtk2 used for the build # variant x11 conflicts quartz { require_active_variants port:gtk2 x11 } variant quartz conflicts x11 { require_active_variants port:gtk2 quartz } if {![variant_isset quartz]} { default_variants +x11 } livecheck.type regex livecheck.url http://pkgs.fedoraproject.org/repo/pkgs/${name} livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"