[121825] trunk/dports/java/android/Portfile
krischik at macports.org
krischik at macports.org
Tue Jul 8 12:30:21 PDT 2014
Revision: 121825
https://trac.macports.org/changeset/121825
Author: krischik at macports.org
Date: 2014-07-08 12:30:21 -0700 (Tue, 08 Jul 2014)
Log Message:
-----------
Update to current version and patch for missing zipalign
Modified Paths:
--------------
trunk/dports/java/android/Portfile
Modified: trunk/dports/java/android/Portfile
===================================================================
--- trunk/dports/java/android/Portfile 2014-07-08 19:04:38 UTC (rev 121824)
+++ trunk/dports/java/android/Portfile 2014-07-08 19:30:21 UTC (rev 121825)
@@ -5,7 +5,7 @@
PortSystem 1.0
name android
-version 22.3
+version 23
categories java devel emulators
maintainers openmaintainer krischik
platforms darwin
@@ -14,27 +14,33 @@
The Android SDK allows development for the Android mobile platform.
supported_archs noarch
-set patchversion 114239
+set patchversion 121820
set appbundles ${name}-appbundles-r${patchversion}.tar.gz
+set tools ${name}-tools-r${patchversion}.tar.gz
set prog ${name}-sdk_r${version}-macosx.zip
homepage http://developer.${name}.com/
master_sites http://dl.google.com/${name}:prog \
macports:${name}:appbundles
distfiles ${prog}:prog \
- ${appbundles}:appbundles
+ ${appbundles}:appbundles \
+ ${tools}:appbundles
distname ${name}-sdk-macosx
worksrcdir ${name}-sdk-macosx
-extract.only ${appbundles}
+extract.only ${appbundles} ${tools}
checksums ${prog} \
- md5 ecde88ca1f05955826697848fcb4a9e7 \
- sha1 547ea51c4aa61d623a4823d0b635d3b66b6c9329 \
- rmd160 2feefd61659c711d81cfd4459a3e9124d787c154 \
+ md5 fe64ec74a943572da9cfa4a90243461d \
+ sha1 7119841e5fcadd8ef2b75c1fe419c4cbc9a97336 \
+ rmd160 801b01eb49c04ca43507b2c5f2f7baac598db50f \
${appbundles} \
- md5 4b063feb919989a2fa9576a3e00a126f \
- sha1 8e7dad4e0f57bf5e48ad3d5cfe4d58d9ad1c24a8 \
- rmd160 ca4c01ad96a1ebdfd8c34b2294e9066521d14ae3
+ md5 d363cae627e4922da942a1c115965eca \
+ sha1 54468931ffa347540d8627a0addb54c844e2c9de \
+ rmd160 623f21017f6d04c2a425f9e691fa138ad5ad2b7a \
+ ${tools} \
+ md5 46e2caebec7ca9e25f97a924d09fb982 \
+ sha1 2c9c56246ed15ae82c90ff5da1f1a9c531b6189a \
+ rmd160 2dfbe666c93d701dab56728ad4eeaff0654ce608
use_configure no
build.cmd true
@@ -73,7 +79,7 @@
ui_info "# #"
ui_info "# sudo dscl . append /Groups/_developer GroupMembership <username> #"
ui_info "####################################################################"
- ui_info "# you need to download the actual SDKs. Because of the licence #"
+ ui_info "# you need to download the actual SDKs. Because of the licence #"
ui_info "# querys this can not be done automaticaly. Use: #"
ui_info "# #"
ui_info "# @PREFIX@/share/java/android-sdk-macosx/tools/android update sdk #"
@@ -86,13 +92,21 @@
system "touch ${destroot}${applications_dir}/Developer/.localized"
+ copy \
+ ${workpath}/tools-r${patchversion}/zipalign \
+ ${destroot}${prefix}/share/java/android-sdk-macosx/tools/zipalign
+
foreach comp { Android-DDMS Android-Draw9Patch Android-Emulator Android-Hierarchyviewer Android-Manager Android-Monitor} {
- copy \
- ${workpath}/appbundles-r${patchversion}/${comp}.app \
- ${destroot}${applications_dir}/Developer
+ copy \
+ ${workpath}/appbundles-r${patchversion}/${comp}.app \
+ ${destroot}${applications_dir}/Developer
reinplace s|@PREFIX@|${prefix}|g \
${destroot}${applications_dir}/Developer/${comp}.app/Contents/MacOS/Start.command
}
}
}
+#
+# post-install {
+# system "( sleep 5 && while [ 1 ]; do sleep 1; echo y; done ) | }${prefix}/share/java/android-sdk-macosx/tools/android update sdk --no-ui"
+# }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140708/b10f38d1/attachment-0001.html>
More information about the macports-changes
mailing list