aboutsummaryrefslogtreecommitdiffstats
path: root/devel/gcc-6811/Makefile
blob: c87e529ec13984650e12e6c1fb33ca7f8c11f46c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# New ports collection makefile for:    gcc11
# Version required: 2.6.3
# Date created:     Thu Sep 14 11:10:01 CDT 1995
# Whom:         erich@FreeBSD.org
#
# $Id$
#

DISTNAME=   gcc11
PKGNAME=    gcc11-2.6.3
CATEGORIES= devel
MASTER_SITES=   ftp://nyquist.ee.ualberta.ca/pub/motorola/68hc11/gcc/
MASTER_SITES+=  ftp://archive.cis.ohio-state.edu/pub/gnu/mirror/
#MASTER_SITES+= ftp://prep.ai.mit.edu/pub/gnu/

DISTFILES=  gcc-6811-fsf.tar.gz gcc-2.6.3.tar.gz

MAINTAINER= erich@FreeBSD.ORG

BUILD_DEPENDS=  bison:${PORTSDIR}/devel/bison

NO_WRKSUBDIR=   yes

post-extract:
    tar -C ${WRKSRC}/gcc-6811-release/gcc -cf - config | \
      tar -C ${WRKSRC}/gcc-2.6.3 -xvf -

pre-configure:
    cd ${WRKSRC}/gcc-2.6.3; ./configure -host=i386-unknown-freebsd2.0.5 \
      --target=m6811-local --prefix=${PREFIX}

post-install:
    cd ${PREFIX}/lib/gcc-lib/m6811-local/2.6.3; strip cc1 cpp
    cd ${PREFIX}/bin; strip m6811-local-gcc as6800 asz80 as6811 \
      as6809 as6805 as6804 asi85 aslink

.include <bsd.port.mk>