1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-22 08:58:47 +00:00

lang/gnatdroid-(sysroot,binutils): convert to staging

This commit is contained in:
John Marino 2013-11-09 13:02:19 +00:00
parent ebdc13af20
commit 776f3b4680
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=333285
2 changed files with 6 additions and 8 deletions

View File

@ -40,9 +40,9 @@ CONFIGURE_ARGS+= --with-mpfr=${LOCALBASE}
CONFIGURE_ARGS+= --disable-werror
CONFIGURE_ARGS+= --disable-nls
NO_STAGE= yes
post-install:
${MKDIR} ${BR2_PREFIX}
(cd ${BR1_PREFIX} && ${COPYTREE_BIN} \* ${BR2_PREFIX})
${MKDIR} ${STAGEDIR}${BR2_PREFIX}
(cd ${STAGEDIR}${BR1_PREFIX} && ${COPYTREE_BIN} \* \
${STAGEDIR}${BR2_PREFIX})
.include <bsd.port.mk>

View File

@ -4,8 +4,7 @@
PORTNAME= sysroot
PORTVERSION= 9
CATEGORIES= lang
MASTER_SITES= http://downloads.dragonlace.net/src/ \
http://dragonlace.mirrors.ada.cx/src/
MASTER_SITES= http://downloads.dragonlace.net/src/
PKGNAMEPREFIX= gnatdroid-
DISTNAME= android-9-arm
@ -19,10 +18,9 @@ NO_MTREE= YES
WRKSRC= ${WRKDIR}/android-${PORTVERSION}-arm
PREFIX= ${LOCALBASE}/android9
NO_STAGE= yes
do-install:
(cd ${WRKSRC} && ${FIND} usr/ -type d -exec ${MKDIR} ${PREFIX}/{} \;)
(cd ${WRKSRC} && ${FIND} usr/ -type d -exec ${MKDIR} ${STAGEDIR}${PREFIX}/{} \;)
(cd ${WRKSRC} && ${FIND} usr/ -type f -exec \
${INSTALL} -p -o root -g wheel ${WRKSRC}/{} ${PREFIX}/{} \;)
${INSTALL} -p -o root -g wheel ${WRKSRC}/{} ${STAGEDIR}${PREFIX}/{} \;)
.include <bsd.port.mk>