freebsd-ports/devel/avr-gcc-3/Makefile
Joerg Wunsch d6adec0038 Mega-upgrade of the AVR GNU toolchain, step #2:
Upgrade to a development version of GCC 3.2.  New AVR microcontrollers are
introduced with faster pace than new versions of GCC :), so we need the
development version to support recent AVR chips (like the ATmega 128).

Alas, official GCC snapshot tarballs still track the 3.1.x branch, so i
got to CVS checkout and roll my own tarball.
2002-07-03 19:20:58 +00:00

43 lines
1.1 KiB
Makefile

# New ports collection makefile for: avr-gcc
# Date created: 29 Nov 2000
# Whom: Joerg Wunsch <joerg@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= gcc
PORTVERSION= 3.2-2002-06-28
CATEGORIES= devel
#MASTER_SITES= ${MASTER_SITE_GNU}
#MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}-${PORTVERSION}
#MASTER_SITES= ftp://gcc.gnu.org/pub/gcc/snapshots/${PORTVERSION}/
MASTER_SITES= http://people.freebsd.org/~joerg/
PKGNAMEPREFIX= avr-
DISTFILES= gcc-core+g++-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= joerg@freebsd.org
BUILD_DEPENDS= avr-as:${PORTSDIR}/devel/avr-binutils \
avr-ld:${PORTSDIR}/devel/avr-binutils \
autoheader:${PORTSDIR}/devel/autoconf
RUN_DEPENDS= avr-as:${PORTSDIR}/devel/avr-binutils \
avr-ld:${PORTSDIR}/devel/avr-binutils
WRKSRC= ${WRKDIR}/gcc-${PORTVERSION}
# Unfortunately, only some mirrors have it as a .bz2 file, while
# the original master site still uses .gz.
USE_BZIP2= yes
USE_GMAKE= yes
USE_BISON= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --target=avr
MAKE_FLAGS= LANGUAGES="c c++"
# Only few man pages in this snapshot...
#MAN1= cpp.1 avr-gcc.1 avr-g++.1 gcov.1
MAN1= avr-g++.1
.include <bsd.port.mk>