mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
54a0b86543
in bsd.autotools.mk essentially makes this a no-op given that all the old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in exactly the same way as USE_AUTOTOOLS itself. Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME team -- all GNOME 2.12.x ports use it. Preliminary documentation can be found at: http://people.FreeBSD.org/~ade/autotools.txt which is in the process of being SGMLized before introduction into the Porters Handbook. Light blue touch-paper. Run.
62 lines
1.7 KiB
Makefile
62 lines
1.7 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.4.4
|
|
PORTREVISION= 5
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GCC}
|
|
MASTER_SITES+= http://people.freebsd.org/~joerg/:local
|
|
MASTER_SITE_SUBDIR= releases/${DISTNAME}
|
|
PKGNAMEPREFIX= avr-
|
|
DISTFILES= gcc-core-${PORTVERSION}${EXTRACT_SUFX} \
|
|
gcc-g++-${PORTVERSION}${EXTRACT_SUFX}
|
|
EXTRACT_ONLY= gcc-core-${PORTVERSION}${EXTRACT_SUFX} \
|
|
gcc-g++-${PORTVERSION}${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= joerg@freebsd.org
|
|
COMMENT= FSF GCC 3.x for Atmel AVR 8-bit RISC cross-development
|
|
|
|
BUILD_DEPENDS= avr-as:${PORTSDIR}/devel/avr-binutils \
|
|
avr-ld:${PORTSDIR}/devel/avr-binutils
|
|
RUN_DEPENDS= avr-as:${PORTSDIR}/devel/avr-binutils \
|
|
avr-ld:${PORTSDIR}/devel/avr-binutils
|
|
|
|
WRKSRC= ${WRKDIR}/gcc-${PORTVERSION}
|
|
|
|
USE_AUTOTOOLS= autoheader:213
|
|
USE_PERL5_BUILD= yes
|
|
USE_BZIP2= yes
|
|
USE_GMAKE= yes
|
|
USE_BISON= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --target=avr --disable-nls
|
|
|
|
MAKE_FLAGS= LANGUAGES="c c++"
|
|
# get rid of that silly -mcpu=pentiumpro FreeBSD 5+ is so fond of. :-(
|
|
MAKE_ENV= MACHINE_ARCH=avr
|
|
|
|
MAN1= avr-cpp.1 avr-gcc.1 avr-g++.1 avr-gcov.1
|
|
MAN7= fsf-funding.7 gfdl.7 gpl.7
|
|
INFO= cpp gcc gccint cppinternals gccinstall
|
|
|
|
# As files/patch-binary-constants updates the documentation, we need to
|
|
# recreate it.
|
|
pre-build:
|
|
cd ${WRKSRC}/gcc &&\
|
|
makeinfo -I doc -I doc/include --no-split -o doc/gcc.info doc/gcc.texi
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${PERL_LEVEL} < 500600
|
|
BROKEN= "System's Pod::Man too old to generate the documentation."
|
|
IGNORE= "you need a newer version of Perl to build the documentation"
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|