source: trunk/dports/graphics/icoconvert/Portfile @ 109415

Last change on this file since 109415 was 109415, checked in by ryandesign@…, 7 years ago

revbump ports that link with libgd in their default configuration to rebuild with gd2 @2.1.0 (libgd.3.dylib) (#39550)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 109415 2013-08-15 06:58:50Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    icoconvert
6version                 2.0
7revision                1
8categories              graphics
9platforms               darwin
10maintainers             nomaintainer
11description             convert Windows .ico icon files into .xpm and .png files
12long_description        A small utility to convert Windows .ico icon files into \
13                        .xpm and .png files. This can be done in batches, and properly \
14                        supports transparencies as well as non 32x32 icon sizes. It also \
15                        supports 24 bit icons.
16
17homepage                http://www.mox.net/tag/icoconvert/
18master_sites    http://www.mox.net/downloads/ \
19                                http://www.xunix.org/~flz/distfiles/ \
20                                freebsd
21checksums               md5 56fe4474c8eaae2c8b886331cda41aca
22
23depends_lib             port:gd2
24
25extract.post_args       "| tar -xf - --exclude 'icoconvert' --exclude 'icoconvert.static'"
26
27use_configure   no
28
29variant universal {}
30
31build.target
32build.args              CC=${configure.cc} \
33                        LIBDIR="${configure.ldflags} [get_canonical_archflags]" \
34                        FLAGS="${configure.cflags} ${configure.cppflags} [get_canonical_archflags]"
35
36destroot {
37        xinstall -m 755 -d ${destroot}${prefix}/bin \
38                ${destroot}${prefix}/share/doc/${name}
39        xinstall -m 755 ${worksrcpath}/icoconvert ${destroot}${prefix}/bin
40        xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
41}
Note: See TracBrowser for help on using the repository browser.