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