Ticket #26205: Portfile.2

File Portfile.2, 1.4 KB (added by mkae (Marko Käning), 14 years ago)

Portfile update for makeicns version 1.5 not needing any patches anymore. Ryan could you please test the universal variant as well as on TIGER?! Thanks

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id: Portfile 70902 2010-08-25 16:41:19Z mk@macports.org $
3
4PortSystem          1.0
5
6name                makeicns
7version             1.5
8categories          graphics
9maintainers         techno.ms:mk-macports pixilla.com:brad
10platforms           darwin
11license             MIT
12
13description         This program lets you convert all kinds of images to Apple icns format on the command line.
14long_description    ${description}
15
16homepage            http://bitbucket.org/mkae/makeicns
17master_sites        ${homepage}/get
18
19use_bzip2           yes
20
21distname            ${version}
22worksrcdir          ${name}
23
24checksums           md5     74fb5ad0efc4aa0e595c856522d1a6da \
25                    sha1    d73a0a00e684be577e070ae76dad145dd24e5ed0 \
26                    rmd160  2769bd6ea2b21cbc0fd920f3c7b23dd7e35f7786
27
28use_configure       no
29
30variant universal {
31    build.env-append BUILD_UNIVERSAL=yes
32}
33
34if {[variant_isset universal]} {
35    set archflags ${configure.universal_cflags}
36} else {
37    set archflags ${configure.cc_archflags}
38}
39
40build.env           CC=${configure.cc} \
41                    CXX=${configure.cxx} \
42
43if {${configure.sdkroot} != ""} {
44    build.env-append SDK=${configure.sdkroot}
45}
46
47destroot {
48    xinstall ${worksrcpath}/${name} ${destroot}${prefix}/bin/${name}
49}