# -*- 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 PortSystem 1.0 PortGroup active_variants 1.1 PortGroup compiler_blacklist_versions 1.0 name gutenprint version 5.3.3 revision 0 license GPL-2+ set branch [join [lrange [split ${version} .] 0 1] .] categories print maintainers {mascguy @mascguy} openmaintainer description Gutenprint print plugin for GIMP long_description ${description} universal_variant no homepage https://gimp-print.sourceforge.io master_sites sourceforge:gimp-print \ https://ftp.osuosl.org/pub/blfs/conglomeration/gutenprint/ use_xz yes checksums rmd160 3a1a9a66ad376294fbb10b547ff53481a81b0337 \ sha256 7279ecbc8e67d1858c53cb24e423ea1be98e214872006b79e6e03650dd54a072 \ size 5050624 depends_build path:bin/pkg-config:pkgconfig depends_lib path:lib/pkgconfig/gtk+-2.0.pc:gtk2 \ path:lib/pkgconfig/gimp-2.0.pc:gimp2 notes " * This port only installs the Gutenprint plugin for GIMP. * You can get the complete Gutenprint drivers and utilities - except the gimp plugin - from: ${homepage} " patchfiles llvm-15.patch # blacklist old compilers that do not support gcc diagnostic pragmas in functions # addresses 10.6 and possibly earlier compiler.blacklist *gcc-3.* *gcc-4.* {clang < 300} configure.env-append \ PKG_CONFIG=${prefix}/bin/pkg-config configure.perl /usr/bin/perl configure.args --disable-escputil \ --disable-samples \ --disable-silent-rules \ --disable-test \ --without-cups \ --without-readline \ --with-gimp2-as-gutenprint variant quartz {} if {[variant_isset quartz]} { require_active_variants gimp2 quartz } else { require_active_variants gimp2 "" quartz } livecheck.type regex livecheck.url ${homepage} livecheck.regex >Gutenprint (\[0-9.\]+) is \.*!<