# -*- 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 muniversal 1.0 PortGroup perl5 1.0 name icoutils version 0.32.3 revision 1 perl5.branches 5.28 5.32 5.34 perl5.default_branch \ 5.34 perl5.create_variants \ ${perl5.branches} categories graphics license GPL-3 maintainers nomaintainer description Programs for extracting and converting Windows icons long_description The icoutils are a set of command-line programs for \ extracting and converting images in Microsoft Windows(R) \ icon and cursor files. These files usually have the \ extension .ico or .cur, but they can also be embedded in \ executables and libraries (.dll-files). homepage https://www.nongnu.org/icoutils/ master_sites savannah:icoutils checksums rmd160 0ce5252ba66e100ac8aa1dd0850479ff41ec02a3 \ sha256 17abe02d043a253b68b47e3af69c9fc755b895db68fdc8811786125df564c6e0 \ size 609286 use_bzip2 yes patchfiles patch-lib-error.c.diff # https://trac.macports.org/ticket/66084 patchfiles-append patch-icoutils-remove-libgnu-from-libcommon.diff depends_lib port:libpng depends_run port:perl${perl5.major} \ port:p${perl5.major}-libwww-perl post-patch { reinplace "s|/usr/bin/perl|${perl5.bin}|" ${worksrcpath}/extresso/extresso.in reinplace "s|/usr/bin/perl|${perl5.bin}|" ${worksrcpath}/extresso/genresscript.in } livecheck.type regex livecheck.url ${homepage} livecheck.regex "${name}-(\\d+\\.\\d+\\.\\d+)\\.tar"