# -*- 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: Portfile 154444 2016-10-29 21:08:53Z mk@macports.org $ PortSystem 1.0 PortGroup muniversal 1.0 PortGroup perl5 1.0 name icoutils version 0.31.0 revision 6 perl5.branches 5.24 categories graphics platforms darwin license GPL-3 maintainers mk openmaintainer 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 http://www.nongnu.org/icoutils/ master_sites http://gnu.mirrors.pair.com/savannah/savannah/icoutils/ checksums rmd160 21668170f86a9981a4f9488cb0bb211fcebf8f53 \ sha256 a895d9d74a418d65d39a667e58ae38be79c9e726711384551d36531696f3af71 use_bzip2 yes patchfiles patch-common-llist.c.diff \ patch-lib-error.c.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"