[91278] trunk/dports/cross

krischik at macports.org krischik at macports.org
Wed Mar 28 01:25:58 PDT 2012


Revision: 91278
          https://trac.macports.org/changeset/91278
Author:   krischik at macports.org
Date:     2012-03-28 01:25:58 -0700 (Wed, 28 Mar 2012)
Log Message:
-----------
The Android NDK allows native development for the Android mobile platform.

Added Paths:
-----------
    trunk/dports/cross/android-ndk/
    trunk/dports/cross/android-ndk/Portfile

Copied: trunk/dports/cross/android-ndk/Portfile (from rev 90914, trunk/dports/java/android/Portfile)
===================================================================
--- trunk/dports/cross/android-ndk/Portfile	                        (rev 0)
+++ trunk/dports/cross/android-ndk/Portfile	2012-03-28 08:25:58 UTC (rev 91278)
@@ -0,0 +1,49 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 8; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4
+# $Id$
+# vim: set fileencoding=utf-8 tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab filetype=tcl :
+
+PortSystem 1.0
+
+name		    android-ndk
+version		    7b
+categories	    cross devel
+maintainers	    openmaintainer krischik
+platforms	    darwin
+description	    Android NDK
+long_description							\
+    The Android NDK allows native development for the Android mobile platform.
+
+set prog	    ${name}-r${version}-darwin-x86.tar.bz2
+
+homepage	    http://developer.${name}.com/
+master_sites	    http://dl.google.com/android/ndk 
+use_bzip2           yes
+extract.mkdir	    no
+
+distfiles	    ${prog}:prog
+distname	    android-ndk-macosx
+worksrcdir	    android-ndk-r7b
+
+checksums           ${prog}						\
+		    md5     6daa82ca6b73bc0614c9997430079c7a \
+                    sha1    d2f70b8f432250834e80fb23222466e268745d16 \
+                    rmd160  85e98fc636444ba838aa9ddf9af883c94567bd54
+
+use_configure	    no
+build.cmd	    true
+
+destroot {
+    xinstall -m 755 -d ${destroot}${prefix}/share/java
+
+    system "
+	cp -a ${worksrcpath} ${destroot}${prefix}/share/java/${distname};
+	chgrp -R _developer  ${destroot}${prefix}/share/java/${distname};
+	chmod -R g+w         ${destroot}${prefix}/share/java/${distname};
+    "
+
+    ui_info "####################################################################"
+    ui_info "# ${distname} has been made group «_developer» writable.   #"
+    ui_info "####################################################################"
+}
+
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120328/96b073cd/attachment.html>


More information about the macports-changes mailing list