aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gnatdroid-sysroot/Makefile
blob: 5c6056db9fee475ef8757689a8f067cf23a89964 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Created by: John Marino <marino@FreeBSD.org>
# $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= marino@FreeBSD.org
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>