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 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name makeicns |
---|
7 | version 1.5 |
---|
8 | categories graphics |
---|
9 | maintainers techno.ms:mk-macports pixilla.com:brad |
---|
10 | platforms darwin |
---|
11 | license MIT |
---|
12 | |
---|
13 | description This program lets you convert all kinds of images to Apple icns format on the command line. |
---|
14 | long_description ${description} |
---|
15 | |
---|
16 | homepage http://bitbucket.org/mkae/makeicns |
---|
17 | master_sites ${homepage}/get |
---|
18 | |
---|
19 | use_bzip2 yes |
---|
20 | |
---|
21 | distname ${version} |
---|
22 | worksrcdir ${name} |
---|
23 | |
---|
24 | checksums md5 74fb5ad0efc4aa0e595c856522d1a6da \ |
---|
25 | sha1 d73a0a00e684be577e070ae76dad145dd24e5ed0 \ |
---|
26 | rmd160 2769bd6ea2b21cbc0fd920f3c7b23dd7e35f7786 |
---|
27 | |
---|
28 | use_configure no |
---|
29 | |
---|
30 | variant universal { |
---|
31 | build.env-append BUILD_UNIVERSAL=yes |
---|
32 | } |
---|
33 | |
---|
34 | if {[variant_isset universal]} { |
---|
35 | set archflags ${configure.universal_cflags} |
---|
36 | } else { |
---|
37 | set archflags ${configure.cc_archflags} |
---|
38 | } |
---|
39 | |
---|
40 | build.env CC=${configure.cc} \ |
---|
41 | CXX=${configure.cxx} \ |
---|
42 | |
---|
43 | if {${configure.sdkroot} != ""} { |
---|
44 | build.env-append SDK=${configure.sdkroot} |
---|
45 | } |
---|
46 | |
---|
47 | destroot { |
---|
48 | xinstall ${worksrcpath}/${name} ${destroot}${prefix}/bin/${name} |
---|
49 | } |
---|