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$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name makeicns |
---|
7 | version 1.2 |
---|
8 | revision 3 |
---|
9 | |
---|
10 | categories graphics |
---|
11 | maintainers techno.ms:mk-macports pixilla.com:brad |
---|
12 | platforms darwin |
---|
13 | |
---|
14 | license MIT |
---|
15 | |
---|
16 | description This program lets you convert all kinds of images to Apples icns format on the command line. |
---|
17 | |
---|
18 | long_description ${description} |
---|
19 | |
---|
20 | homepage http://bitbucket.org/mkae/makeicns |
---|
21 | master_sites http://bitbucket.org/mkae/makeicns/get |
---|
22 | |
---|
23 | use_bzip2 yes |
---|
24 | extract.suffix .bz2 |
---|
25 | |
---|
26 | distname ${name} |
---|
27 | distfiles ${version}.tar${extract.suffix} |
---|
28 | |
---|
29 | checksums md5 3a62b0f20ed846d35895d4b0bc6eb358 \ |
---|
30 | sha1 6a5cdcb7afd170780bcc196c88d5af8a7cd3b6d4 \ |
---|
31 | rmd160 bb3a5d5e71ac9c1ddee089b6d3e7af9a127b90f9 |
---|
32 | |
---|
33 | patchfiles patch-Makefile.diff |
---|
34 | |
---|
35 | use_configure no |
---|
36 | |
---|
37 | build.target {} |
---|
38 | |
---|
39 | build.env CFLAGS="-fpascal-strings -O2 ${configure.universal_cxxflags}" \ |
---|
40 | CXXFLAGS="-O2 ${configure.universal_cxxflags} \ |
---|
41 | -framework Foundation -framework AppKit -framework Carbon" |
---|
42 | |
---|
43 | destroot {} |
---|
44 | |
---|
45 | post-destroot { |
---|
46 | xinstall -m 755 ${worksrcpath}/${name} \ |
---|
47 | ${destroot}${prefix}/bin/${name} |
---|
48 | } |
---|