# Created by: Espen Skoglund # $FreeBSD: head/devel/arm-elf-binutils/Makefile 407639 2016-01-31 14:02:24Z danilo $ PORTNAME= binutils PORTVERSION= 2.26 CATEGORIES= devel MASTER_SITES= SOURCEWARE/binutils/releases PKGNAMEPREFIX= arm-elf- MAINTAINER= danilo@FreeBSD.org COMMENT= GNU binutils for vanilla ARM cross-development USES= gettext gmake tar:bzip2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --target=${PKGNAMEPREFIX:S/-$//} --disable-werror \ --disable-nls CFLAGS="-I/usr/local/include" 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} -f ${STAGEDIR}${PREFIX}/${PKGNAMEPREFIX:S/-$//}/info/* ${RMDIR} ${STAGEDIR}${PREFIX}/${PKGNAMEPREFIX:S/-$//}/info .include