17 | | set appbundles ${name}-appbundles-r${patchversion}.tar.gz |
18 | | set prog ${name}-sdk_r${version}-macosx.zip |
19 | | |
20 | | homepage http://developer.${name}.com/ |
21 | | master_sites http://dl.google.com/${name}:prog \ |
22 | | macports:${name}:appbundles |
23 | | distfiles ${prog}:prog \ |
24 | | ${appbundles}:appbundles |
25 | | distname ${name}-sdk-mac_x86 |
26 | | worksrcdir ${name}-sdk-macosx |
27 | | extract.only ${appbundles} |
28 | | |
29 | | checksums ${prog} \ |
30 | | md5 812887018435382de8486f3bb26a5db4 \ |
31 | | sha1 51a21a1045a69def46561bbf6759d67369362d90 \ |
32 | | rmd160 d71f04888fb3f82b2bb86ed8e0f0983ccf41cc95 \ |
33 | | ${appbundles} \ |
34 | | md5 297ca0750c6cea42dd238063d15ae374 \ |
35 | | sha1 4fb441d14c0a019ac1fe8428c1ddbafa8392c1d6 \ |
36 | | rmd160 6d6b3086a2499bd675489aa816dcbb1e6216a177 |
37 | | |
38 | | use_configure no |
39 | | build.cmd true |
40 | | |
41 | | destroot.keepdirs \ |
42 | | ${destroot}${prefix}/share/java/${worksrcdir}/add-ons \ |
43 | | ${destroot}${prefix}/share/java/${worksrcdir}/docs \ |
44 | | ${destroot}${prefix}/share/java/${worksrcdir}/platforms \ |
45 | | ${destroot}${prefix}/share/java/${worksrcdir}/samples \ |
| 16 | set appbundles ${name}-appbundles-r${patchversion}.tar.gz |
| 17 | set prog ${name}-sdk_r${version}-macosx.zip |
| 18 | |
| 19 | homepage http://developer.${name}.com/ |
| 20 | master_sites http://dl.google.com/${name}:prog \ |
| 21 | macports:${name}:appbundles |
| 22 | distfiles ${prog}:prog \ |
| 23 | ${appbundles}:appbundles |
| 24 | distname ${name}-sdk-mac_x86 |
| 25 | worksrcdir ${name}-sdk-macosx |
| 26 | extract.only ${appbundles} |
| 27 | |
| 28 | checksums ${prog} \ |
| 29 | md5 812887018435382de8486f3bb26a5db4 \ |
| 30 | sha1 51a21a1045a69def46561bbf6759d67369362d90 \ |
| 31 | rmd160 d71f04888fb3f82b2bb86ed8e0f0983ccf41cc95 \ |
| 32 | ${appbundles} \ |
| 33 | md5 297ca0750c6cea42dd238063d15ae374 \ |
| 34 | sha1 4fb441d14c0a019ac1fe8428c1ddbafa8392c1d6 \ |
| 35 | rmd160 6d6b3086a2499bd675489aa816dcbb1e6216a177 |
| 36 | |
| 37 | use_configure no |
| 38 | build.cmd true |
| 39 | |
| 40 | destroot.keepdirs \ |
| 41 | ${destroot}${prefix}/share/java/${worksrcdir}/add-ons \ |
| 42 | ${destroot}${prefix}/share/java/${worksrcdir}/docs \ |
| 43 | ${destroot}${prefix}/share/java/${worksrcdir}/platforms \ |
| 44 | ${destroot}${prefix}/share/java/${worksrcdir}/samples \ |
64 | | chgrp -R _developer ${destroot}${prefix}/share/java/${distname}; |
65 | | chmod -R g+w ${destroot}${prefix}/share/java/${distname}/add-ons; |
66 | | chmod -R g+w ${destroot}${prefix}/share/java/${distname}/platforms; |
67 | | chmod -R g-w ${destroot}${prefix}/share/java/${distname}/tools; |
| 62 | chgrp -R _developer ${destroot}${prefix}/share/java/${distname}; |
| 63 | chmod -R g+w ${destroot}${prefix}/share/java/${distname}/add-ons; |
| 64 | chmod -R g+w ${destroot}${prefix}/share/java/${distname}/platforms; |
| 65 | chmod -R g-w ${destroot}${prefix}/share/java/${distname}/tools; |
86 | | foreach comp { Android-DDMS Android-Draw9Patch Android-Emulator Android-Hierarchyviewer Android-Manager } { |
87 | | copy \ |
88 | | ${workpath}/appbundles-r${patchversion}/${comp}.app \ |
89 | | ${destroot}${applications_dir}/Developer |
90 | | reinplace s|@PREFIX@|${prefix}|g \ |
91 | | ${destroot}${applications_dir}/Developer/${comp}.app/Contents/MacOS/Start.command |
92 | | } |
| 84 | foreach comp { Android-DDMS Android-Draw9Patch Android-Emulator Android-Hierarchyviewer Android-Manager } { |
| 85 | copy \ |
| 86 | ${workpath}/appbundles-r${patchversion}/${comp}.app \ |
| 87 | ${destroot}${applications_dir}/Developer |
| 88 | reinplace s|@PREFIX@|${prefix}|g \ |
| 89 | ${destroot}${applications_dir}/Developer/${comp}.app/Contents/MacOS/Start.command |
| 90 | } |