freebsd-ports/lang/gnatdroid-sysroot/Makefile
Frederic Culot ad5b8f39e6 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>
2011-09-05 12:53:04 +00:00

31 lines
765 B
Makefile

# 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>