1 | # $Id: $ |
---|
2 | PortSystem 1.0 |
---|
3 | name astyle |
---|
4 | version 1.19 |
---|
5 | categories devel |
---|
6 | platforms darwin |
---|
7 | maintainers macports@macports.org |
---|
8 | description source code beautifier for the C, C++, C# and Java programming |
---|
9 | long_description Artistic Style is a source code indenter, source code formatter \ |
---|
10 | , and source code beautifier for the C, C++, C# and Java \ |
---|
11 | programming languages. |
---|
12 | homepage http://astyle.sourceforge.net/ |
---|
13 | master_sites sourceforge |
---|
14 | distname ${name}_${version}_linux |
---|
15 | worksrcdir ${name} |
---|
16 | checksums md5 2cd52822f39b9211846c4070999a492d |
---|
17 | patchfiles patch-Makefile |
---|
18 | |
---|
19 | post-extract { |
---|
20 | set entries [glob ${worksrcpath}/src/*] |
---|
21 | foreach entry ${entries} { |
---|
22 | file attributes ${entry} -permissions u-x,g-wx,o-wx |
---|
23 | } |
---|
24 | set entries [glob ${worksrcpath}/doc/*] |
---|
25 | foreach entry ${entries} { |
---|
26 | file attributes ${entry} -permissions u-x,g-wx,o-wx |
---|
27 | } |
---|
28 | } |
---|
29 | |
---|
30 | configure {} |
---|
31 | |
---|
32 | pre-build { |
---|
33 | set worksrcdir ${worksrcdir}/src |
---|
34 | } |
---|
35 | |
---|
36 | destroot { |
---|
37 | file copy ${worksrcpath}/${name} ${destroot}${prefix}/bin |
---|
38 | } |
---|