# -*- 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 115972 2014-01-15 20:18:27Z ryandesign@macports.org $ PortSystem 1.0 name png2ico version 2002-12-08 revision 4 categories graphics platforms darwin maintainers nomaintainer license GPL-2 description Converts PNG files to Windows icon resource files. long_description ${description} homepage http://www.winterdrache.de/freeware/png2ico/ master_sites http://www.winterdrache.de/freeware/png2ico/data/ distname ${name}-src-${version} checksums sha1 955004bee9a20f12b225aa01895762cbbafaeb28 \ rmd160 d71f49992f152df580e0c264f723a2a4c20fac2c \ sha256 d6bc2b8f9dacfb8010e5f5654aaba56476df18d88e344ea1a32523bb5843b68e depends_lib port:libpng \ port:zlib worksrcdir ${name} patchfiles patch-Makefile \ patch-png2ico.cpp.diff use_configure no variant universal {} build.args CXX="${configure.cxx} [get_canonical_archflags cxx]" \ CPPFLAGS="${configure.cppflags} ${configure.cxxflags}" \ LDFLAGS="${configure.ldflags}" destroot { xinstall -m 755 ${worksrcpath}/png2ico ${destroot}${prefix}/bin xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} xinstall -m 644 -W ${worksrcpath} LICENSE README README.unix README.win \ ${destroot}${prefix}/share/doc/${name} xinstall -m 644 ${worksrcpath}/doc/png2ico.1 \ ${destroot}${prefix}/share/man/man1/ }