1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/devel/arm-elf-binutils/Makefile
2020-10-27 21:12:08 +00:00

33 lines
957 B
Makefile

# Created by: Espen Skoglund <esk@ira.uka.de>
# $FreeBSD$
PORTNAME= binutils
PORTVERSION= 2.35.1
CATEGORIES= devel
MASTER_SITES= SOURCEWARE/binutils/releases
PKGNAMEPREFIX= arm-elf-
MAINTAINER= danilo@FreeBSD.org
COMMENT= GNU binutils for vanilla ARM cross-development
LICENSE= GPLv3 LGPL3
LICENSE_COMB= multi
USES= gettext gmake localbase makeinfo tar:xz
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --target=${PKGNAMEPREFIX:S/-$//} --disable-werror \
--disable-nls
INFO_PATH= ${PKGNAMEPREFIX:S/-$//}/info
post-install:
.for F in addr2line c++filt elfedit gprof objcopy objdump readelf size strings
${LN} -f ${STAGEDIR}${PREFIX}/bin/${PKGNAMEPREFIX}$F \
${STAGEDIR}${PREFIX}/${PKGNAMEPREFIX:S/-$//}/bin/$F
.endfor
cd ${WRKSRC}/libiberty ; ${CP} libiberty.a \
${STAGEDIR}${PREFIX}/${PKGNAMEPREFIX:S/-$//}/lib
${RM} ${STAGEDIR}${PREFIX}/${PKGNAMEPREFIX:S/-$//}/info/*
${RMDIR} ${STAGEDIR}${PREFIX}/${PKGNAMEPREFIX:S/-$//}/info
.include <bsd.port.mk>