1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-19 03:52:17 +00:00
freebsd-ports/devel/avr-gcc-3/Makefile

63 lines
1.7 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: avr-gcc
# Date created: 29 Nov 2000
# Whom: Joerg Wunsch <joerg@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= gcc
PORTVERSION= 3.4.1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITES+= http://people.freebsd.org/~joerg/:local
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}-${PORTVERSION}
PKGNAMEPREFIX= avr-
DISTFILES= gcc-core-${PORTVERSION}${EXTRACT_SUFX} \
gcc-g++-${PORTVERSION}${EXTRACT_SUFX} \
${MAN_AUX}:local
EXTRACT_ONLY= gcc-core-${PORTVERSION}${EXTRACT_SUFX} \
gcc-g++-${PORTVERSION}${EXTRACT_SUFX}
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
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}
2004-06-04 17:29:38 +00:00
USE_AUTOHEADER_VER= 213
USE_PERL5_BUILD= yes
USE_BZIP2= yes
USE_GMAKE= yes
USE_BISON= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --target=avr --disable-nls
2004-03-03 21:23:29 +00:00
MAN_AUX= gcc-man.${PORTVERSION}.tar.gz
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. :-(
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
.include <bsd.port.pre.mk>
# Since the pod2man in FreeBSD 4-stable's /usr/bin cannot be used, we
# help out by extracting precompiled manpages there.
pre-build:
2004-03-03 21:23:29 +00:00
if ${PERL} -e 'use 1.10 Pod::Man' >/dev/null 2>/dev/null ; \
then : ; \
else \
cd ${WRKDIR}/gcc-${PORTVERSION} ; \
${TAR} -xvzf ${DISTDIR}/${MAN_AUX} ; \
fi
.include <bsd.port.post.mk>