1 | # $Id: Portfile 46616 2009-02-09 00:35:27Z ryandesign@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name pd |
---|
6 | version 0.42-4 |
---|
7 | categories audio |
---|
8 | platforms macosx |
---|
9 | maintainers ryandesign |
---|
10 | use_parallel_build yes |
---|
11 | homepage http://pd.iem.at/ |
---|
12 | master_sites http://www.crca.ucsd.edu/~msp/Software/ \ |
---|
13 | ftp://ftp.iem.at/pub/pd/archive/ |
---|
14 | distname ${name}-${version}.src |
---|
15 | worksrcdir ${name}-${version} |
---|
16 | configure.dir ${worksrcpath}/src |
---|
17 | build.dir ${configure.dir} |
---|
18 | |
---|
19 | description |
---|
20 | |
---|
21 | long_description |
---|
22 | |
---|
23 | checksums md5 13a0a5eeeb7ebcda10f86cff2558a59f \ |
---|
24 | sha1 89e20907e6230ac1e13f049be23fd6f1aa03aed2 \ |
---|
25 | rmd160 505a9a0b133da99b6c758425b7a660754eb7d411 |
---|
26 | |
---|
27 | depends_lib-append port:tcl \ |
---|
28 | port:tk |
---|
29 | |
---|
30 | configure.args-append --mandir=${prefix}/share/man |
---|
31 | |
---|
32 | platform macosx { |
---|
33 | configure.args-append --disable-fat |
---|
34 | } |
---|
35 | |
---|
36 | build.args-append CC=${configure.cc} |
---|
37 | |
---|
38 | destroot.args-append CC=${configure.cc} |
---|
39 | |
---|
40 | post-destroot { |
---|
41 | xinstall -d ${destroot}${prefix}/share/doc |
---|
42 | copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name} |
---|
43 | xinstall -m 644 -W ${worksrcpath} \ |
---|
44 | LICENSE.txt \ |
---|
45 | README.txt \ |
---|
46 | ${destroot}${prefix}/share/doc/${name} |
---|
47 | } |
---|
48 | |
---|
49 | livecheck.check regex |
---|
50 | livecheck.url http://www.crca.ucsd.edu/~msp/software.html |
---|
51 | livecheck.regex ${name}-(\[0-9.-\]+)\\.src\\.tar |
---|