# New ports collection makefile for:	avr-gcc
# Date created:		30 Nov 2000
# Whom:			Joerg Wunsch <joerg@freebsd.org>
#
# $FreeBSD: ports/devel/avr-binutils/Makefile,v 1.9 2003/03/07 06:00:08 ade Exp $
#

PORTNAME=	binutils
PORTVERSION=	2.13.2.1
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_SOURCEWARE}
MASTER_SITE_SUBDIR=	binutils/releases
PKGNAMEPREFIX=	avr-

MAINTAINER=	joerg@freebsd.org
COMMENT=	GNU binutils for Atmel AVR 8-bit RISC cross-development

WRKSRC=		${WRKDIR}/binutils-${PORTVERSION}

USE_BZIP2=	yes
USE_GMAKE=	yes
CONFIGURE_ARGS=	--target=avr
USE_LIBTOOL=	yes
LIBTOOLFILES=	configure bfd/configure binutils/configure etc/configure \
		gas/configure gprof/configure intl/configure ld/configure \
		libiberty/configure opcodes/configure

MAN1=	\
		avr-addr2line.1 \
		avr-ar.1 \
		avr-as.1 \
		avr-c++filt.1 \
		avr-dlltool.1 \
		avr-ld.1 \
		avr-nlmconv.1 \
		avr-nm.1 \
		avr-objcopy.1 \
		avr-objdump.1 \
		avr-ranlib.1 \
		avr-readelf.1 \
		avr-size.1 \
		avr-strings.1 \
		avr-strip.1 \
		avr-windres.1

.include <bsd.port.mk>
