source: trunk/dports/cross/android-ndk/Portfile

Last change on this file was 128244, checked in by khindenburg@…, 3 years ago

android-ndk: update to 9d (10+ appear to have not have tar files); fix homepage; use notes instead of ui_info #40392 #36767 #38569

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-shellscript
File size: 1.4 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 128244 2014-11-17 04:53:45Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                android-ndk
7version             9d
8categories          cross devel
9maintainers         openmaintainer krischik
10platforms           darwin
11description         Android NDK
12long_description \
13    The Android NDK allows native development for the Android mobile platform.
14
15set prog            ${name}-r${version}-darwin-x86.tar.bz2
16
17homepage            https://developer.android.com/tools/sdk/ndk
18master_sites        http://dl.google.com/android/ndk
19use_bzip2           yes
20extract.mkdir       no
21
22distfiles           ${prog}:prog
23distname            android-ndk-macosx
24worksrcdir          android-ndk-r${version}
25
26checksums           ${prog} \
27                    rmd160  c9bdb257758266cc309fc1a2bc0cc024b57eb7dd \
28                    sha256  82ee78e79fb049f099dcee6680e229339f4c5507308d67c9e145e0964d0b40af
29
30use_configure       no
31build.cmd           true
32
33destroot {
34    xinstall -m 755 -d ${destroot}${prefix}/share/java
35
36    system "
37        cp -a ${worksrcpath} ${destroot}${prefix}/share/java/${distname};
38        chgrp -R _developer  ${destroot}${prefix}/share/java/${distname};
39        chmod -R g+w         ${destroot}${prefix}/share/java/${distname};
40    "
41}
42
43notes "
44${distname} has been made group _developer writable
45"
Note: See TracBrowser for help on using the repository browser.