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

Last change on this file since 122054 was 91278, checked in by krischik@…, 8 years ago

The Android NDK allows native development for the Android mobile platform.

  • 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.5 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 8; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4
2# $Id: Portfile 91278 2012-03-28 08:25:58Z krischik@macports.org $
3# vim: set fileencoding=utf-8 tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab filetype=tcl :
4
5PortSystem 1.0
6
7name                android-ndk
8version             7b
9categories          cross devel
10maintainers         openmaintainer krischik
11platforms           darwin
12description         Android NDK
13long_description                                                        \
14    The Android NDK allows native development for the Android mobile platform.
15
16set prog            ${name}-r${version}-darwin-x86.tar.bz2
17
18homepage            http://developer.${name}.com/
19master_sites        http://dl.google.com/android/ndk
20use_bzip2           yes
21extract.mkdir       no
22
23distfiles           ${prog}:prog
24distname            android-ndk-macosx
25worksrcdir          android-ndk-r7b
26
27checksums           ${prog}                                             \
28                    md5     6daa82ca6b73bc0614c9997430079c7a \
29                    sha1    d2f70b8f432250834e80fb23222466e268745d16 \
30                    rmd160  85e98fc636444ba838aa9ddf9af883c94567bd54
31
32use_configure       no
33build.cmd           true
34
35destroot {
36    xinstall -m 755 -d ${destroot}${prefix}/share/java
37
38    system "
39        cp -a ${worksrcpath} ${destroot}${prefix}/share/java/${distname};
40        chgrp -R _developer  ${destroot}${prefix}/share/java/${distname};
41        chmod -R g+w         ${destroot}${prefix}/share/java/${distname};
42    "
43
44    ui_info "####################################################################"
45    ui_info "# ${distname} has been made group «_developer» writable.   #"
46    ui_info "####################################################################"
47}
48
49
Note: See TracBrowser for help on using the repository browser.