2000-12-05 15:21:02 +00:00
|
|
|
# New ports collection makefile for: avr-gcc
|
|
|
|
# Date created: 29 Nov 2000
|
|
|
|
# Whom: Joerg Wunsch <joerg@freebsd.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2006-10-05 21:56:21 +00:00
|
|
|
PORTNAME= gcc-3
|
2006-03-19 22:38:09 +00:00
|
|
|
PORTVERSION= 3.4.6
|
2007-10-17 10:13:01 +00:00
|
|
|
PORTREVISION= 1
|
2000-12-05 15:21:02 +00:00
|
|
|
CATEGORIES= devel
|
2004-07-07 19:49:07 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GCC}
|
2003-09-09 21:16:21 +00:00
|
|
|
MASTER_SITES+= http://people.freebsd.org/~joerg/:local
|
2004-07-07 19:49:07 +00:00
|
|
|
MASTER_SITE_SUBDIR= releases/${DISTNAME}
|
2001-08-12 16:33:45 +00:00
|
|
|
PKGNAMEPREFIX= avr-
|
2006-10-21 19:59:18 +00:00
|
|
|
DISTNAME= gcc-${DISTVERSION}
|
2003-09-09 21:16:21 +00:00
|
|
|
DISTFILES= gcc-core-${PORTVERSION}${EXTRACT_SUFX} \
|
2005-01-27 09:51:36 +00:00
|
|
|
gcc-g++-${PORTVERSION}${EXTRACT_SUFX}
|
2003-09-09 21:16:21 +00:00
|
|
|
EXTRACT_ONLY= gcc-core-${PORTVERSION}${EXTRACT_SUFX} \
|
|
|
|
gcc-g++-${PORTVERSION}${EXTRACT_SUFX}
|
2000-12-05 15:21:02 +00:00
|
|
|
|
|
|
|
MAINTAINER= joerg@freebsd.org
|
2004-03-03 21:23:29 +00:00
|
|
|
COMMENT= FSF GCC 3.x for Atmel AVR 8-bit RISC cross-development
|
2000-12-05 15:21:02 +00:00
|
|
|
|
|
|
|
BUILD_DEPENDS= avr-as:${PORTSDIR}/devel/avr-binutils \
|
2004-04-28 20:53:33 +00:00
|
|
|
avr-ld:${PORTSDIR}/devel/avr-binutils
|
2000-12-05 15:21:02 +00:00
|
|
|
RUN_DEPENDS= avr-as:${PORTSDIR}/devel/avr-binutils \
|
|
|
|
avr-ld:${PORTSDIR}/devel/avr-binutils
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/gcc-${PORTVERSION}
|
|
|
|
|
2005-11-15 06:52:12 +00:00
|
|
|
USE_AUTOTOOLS= autoheader:213
|
2002-11-28 18:05:49 +00:00
|
|
|
USE_PERL5_BUILD= yes
|
2002-07-03 19:20:58 +00:00
|
|
|
USE_BZIP2= yes
|
2000-12-05 15:21:02 +00:00
|
|
|
USE_GMAKE= yes
|
2007-10-17 10:13:01 +00:00
|
|
|
USE_BISON= build
|
2000-12-05 15:21:02 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2006-10-16 13:46:42 +00:00
|
|
|
CONFLICTS= avr-gcc-4*
|
2006-03-19 22:38:09 +00:00
|
|
|
|
2004-04-28 20:53:33 +00:00
|
|
|
CONFIGURE_ARGS= --target=avr --disable-nls
|
2000-12-05 15:21:02 +00:00
|
|
|
|
2001-08-12 20:18:25 +00:00
|
|
|
MAKE_FLAGS= LANGUAGES="c c++"
|
2004-03-03 21:23:29 +00:00
|
|
|
# get rid of that silly -mcpu=pentiumpro FreeBSD 5+ is so fond of. :-(
|
2005-04-12 03:26:56 +00:00
|
|
|
MAKE_ENV= MACHINE_ARCH=avr
|
2000-12-05 15:21:02 +00:00
|
|
|
|
2004-04-28 20:53:33 +00:00
|
|
|
MAN1= avr-cpp.1 avr-gcc.1 avr-g++.1 avr-gcov.1
|
2002-09-01 12:13:57 +00:00
|
|
|
MAN7= fsf-funding.7 gfdl.7 gpl.7
|
2004-04-28 20:53:33 +00:00
|
|
|
INFO= cpp gcc gccint cppinternals gccinstall
|
2000-12-05 15:21:02 +00:00
|
|
|
|
2006-03-19 22:38:09 +00:00
|
|
|
# As ${FILESDIR}/patch-binary-constants updates the documentation, we need to
|
2005-01-27 09:51:36 +00:00
|
|
|
# recreate it.
|
|
|
|
pre-build:
|
|
|
|
cd ${WRKSRC}/gcc &&\
|
|
|
|
makeinfo -I doc -I doc/include --no-split -o doc/gcc.info doc/gcc.texi
|
|
|
|
|
2007-09-08 01:12:10 +00:00
|
|
|
.include <bsd.port.mk>
|