eabbfd75e3
PR: 213570 Submitted by: mat Exp-run by: antoine Sponsored by: Absolight
29 lines
927 B
Makefile
29 lines
927 B
Makefile
# Created by: Espen Skoglund <esk@ira.uka.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= binutils
|
|
PORTVERSION= 2.27
|
|
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} ${STAGEDIR}${PREFIX}/${PKGNAMEPREFIX:S/-$//}/info/*
|
|
${RMDIR} ${STAGEDIR}${PREFIX}/${PKGNAMEPREFIX:S/-$//}/info
|
|
|
|
.include <bsd.port.mk>
|