diff options
author | Frederic Culot <culot@FreeBSD.org> | 2011-09-05 12:53:04 +0000 |
---|---|---|
committer | Frederic Culot <culot@FreeBSD.org> | 2011-09-05 12:53:04 +0000 |
commit | ad5b8f39e64c5b2768963c7ba2c9a0eac88bb501 (patch) | |
tree | 28ae665e9bf8b46cbfee9fa9b8c70515fa89a127 /lang/gnatdroid-sysroot/Makefile | |
parent | b864d712bc8c97a9a79540cd13712128277e585e (diff) | |
download | ports-ad5b8f39e64c5b2768963c7ba2c9a0eac88bb501.tar.gz ports-ad5b8f39e64c5b2768963c7ba2c9a0eac88bb501.zip |
This package is used by lang/gnatdroid to install the system root of
Android 2.3 (API Level 9) of the ARM architecture. The ARM cross-tools
are built using these files, which in turn is required for the GNAT
FreeBSD->ARM cross-compiler that is gnatdroid.
WWW: http://www.dragonlace.net
PR: ports/160423
Submitted by: John Marino <freebsdml@marino.st>
Notes
Notes:
svn path=/head/; revision=281235
Diffstat (limited to 'lang/gnatdroid-sysroot/Makefile')
-rw-r--r-- | lang/gnatdroid-sysroot/Makefile | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/lang/gnatdroid-sysroot/Makefile b/lang/gnatdroid-sysroot/Makefile new file mode 100644 index 000000000000..a58db5ff9450 --- /dev/null +++ b/lang/gnatdroid-sysroot/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: gnatdroid-sysroot +# Date created: 2011-07-20 +# Whom: John Marino <draco@marino> +# +# $FreeBSD$ +# + +PORTNAME= sysroot +PORTVERSION= 9 +CATEGORIES= lang +MASTER_SITES= http://downloads.dragonlace.net/src/ \ + http://dragonlace.mirrors.ada.cx/src/ +PKGNAMEPREFIX= gnatdroid- +DISTNAME= android-9-arm + +MAINTAINER= draco@marino.st +COMMENT= Android-9 sysroot for C/Ada Android cross-compiler + +USE_BZIP2= YES +NO_BUILD= YES +NO_MTREE= YES + +WRKSRC= ${WRKDIR}/android-${PORTVERSION}-arm +PREFIX= ${LOCALBASE}/android9 + +do-install: + (cd ${WRKSRC} && ${FIND} usr/ -type d -exec ${MKDIR} ${PREFIX}/{} \;) + (cd ${WRKSRC} && ${FIND} usr/ -type f -exec \ + ${INSTALL} -p -o root -g wheel ${WRKSRC}/{} ${PREFIX}/{} \;) + +.include <bsd.port.mk> |