source: trunk/dports/graphics/icoconvert/Portfile

Last change on this file was 112209, checked in by jmr@…, 4 years ago

icoconvert: license

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