aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc42/Makefile
blob: 042403edbbeb88de90d78dc7d3d8a1c98014e940 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
# ex:ts=8 
# Ports collection makefile for:    egcs 
# Version required:             1998-09-14
# Date created:             9 Jan 1998
# Whom:                 John Polstra <jdp@polstra.com>
#
# $Id: Makefile,v 1.33 1998/09/27 01:56:14 obrien Exp $
#

DISTNAME=   egcs-19980914
PKGNAME=    egcs-19980914
CATEGORIES= lang
MASTER_SITES=   ftp://egcs.cygnus.com/pub/egcs/snapshots/1998-09-14/ \
        ftp://cambridge.cygnus.com/pub/egcs/snapshots/1998-09-14/ \
        ftp://ftp.fu-berlin.de/unix/languages/egcs/snapshots/1998-09-14/

MAINTAINER= obrien@FreeBSD.org

BROKEN=     package

EGCS_REV=   egcs-2.92.07
LIBSTDCPP_REV=  2.9.0
PLIST_SUB=  EGCS_REV=${EGCS_REV} GNU_HOST=${GNUHOST}
GNU_CONFIGURE=  yes
USE_GMAKE=  yes
CONFIGURE_ARGS= --with-gnu-as --with-gnu-ld ${GNUHOST} \
        --with-gxx-include-dir=${PREFIX}/lib/gcc-lib/${GNUHOST}/${EGCS_REV}/include/g++
ALL_TARGET= bootstrap
MAN1=       cccp.1 g++.1 g77.1 gcc.1

pre-configure:
    @(cd ${WRKSRC}/gcc/config/i386/ ; \
    MAJ=`sysctl -n kern.osreldate | ${SED} -e '/.....$$/s///'` ; \
    ${MV} freebsd.h freebsd.h.in ; \
    ${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd.h.in >freebsd.h ; \
    ${MV} freebsd-elf.h freebsd-elf.h.in ; \
    ${SED} -e "s:__FreeBSD__:__FreeBSD__=$${MAJ}:" freebsd-elf.h.in >freebsd-elf.h)

pre-install:
    ${MKDIR} ${PREFIX}/info
    touch ${PREFIX}/info/dir

post-install:
    @${RM} -f ${PREFIX}/bin/c++
    @${MV} -f ${PREFIX}/bin/c++filt ${PREFIX}/bin/g++filt
    @(for prog in ${PREFIX}/bin/gcc ${PREFIX}/bin/g++ \
    ${PREFIX}/bin/g++filt ${PREFIX}/bin/g77 ${PREFIX}/bin/gcov \
    ${PREFIX}/bin/protoize ${PREFIX}/bin/unprotoize \
    ${PREFIX}/bin/${GNUHOST}-gcc \
    ${PREFIX}/lib/gcc-lib/${GNUHOST}/${EGCS_REV}/cc1 \
    ${PREFIX}/lib/gcc-lib/${GNUHOST}/${EGCS_REV}/cc1obj \
    ${PREFIX}/lib/gcc-lib/${GNUHOST}/${EGCS_REV}/cc1plus \
    ${PREFIX}/lib/gcc-lib/${GNUHOST}/${EGCS_REV}/cpp \
    ${PREFIX}/lib/gcc-lib/${GNUHOST}/${EGCS_REV}/collect2 \
    ${PREFIX}/lib/gcc-lib/${GNUHOST}/${EGCS_REV}/f771 ; \
        do strip $$prog ; \
        done)
    ln -f ${PREFIX}/bin/gcc ${PREFIX}/bin/egcc
    ln -f ${PREFIX}/bin/g++ ${PREFIX}/bin/eg++
    ${MV} ${PREFIX}/lib/libiberty.a  \
        ${PREFIX}/lib/gcc-lib/${GNUHOST}/${EGCS_REV}
    ${MV} -f ${PREFIX}/lib/libstdc++.a.${LIBSTDCPP_REV}  \
        ${PREFIX}/lib/gcc-lib/${GNUHOST}/${EGCS_REV}/libstdc++.a
    if [ ! -f ${PREFIX}/info/dir ]; then \
        ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \
    fi
.for info in cpp g77 gcc
    install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir
.endfor

.include <bsd.port.mk>

.if (${PORTOBJFORMAT} == "elf")
GNUHOST=    i386-unknown-freebsdelf
.else
GNUHOST=    i386-unknown-freebsd
.endif
>-42/+42 * Replace erroneous usage of INSTALL_MAN with INSTALL_DATA.wjv2001-07-032-2/+2 * Update to version 3.04wjv2001-07-033-5/+5 * Update to version 1.82wjv2001-07-032-3/+2 * Use $FILESDIR rather than hard-coded path.wjv2001-06-291-1/+1 * Updating my email address in my remaining ports.wjv2001-06-273-3/+3 * Embarrassingly long overdue update to 0.7.0, including optional support forwjv2001-06-263-66/+300 * Update to version 2001.04.03; add installation of some documentation.wjv2001-06-205-30/+86 * Update to 1.00.a1; change MAINTAINER to my new address.wjv2001-06-156-124/+691 * Update to 1.13.3; remove bogus file.wjv2001-06-154-71/+9 * - Update to version 1.2.6akevlo2001-06-124-8/+9 * Distfile was moved and renamed.markp2001-06-112-3/+3 * Use proper POSIX syntax for `chown'.obrien2001-06-011-1/+1 * Update to version 1.13.1kevlo2001-05-305-42/+240 * math/numpy was renamed to math/py-numeric.sobomax2001-05-291-1/+1 * upgrade to 4.3.2ijliao2001-05-2714-458/+389 * Update the EMBOSS suite (biology/emboss) to version 1.12.0jeh2001-05-073-138/+25 * Updata biology/fasta3 to version 33.t08.d4jeh2001-05-073-8/+8 * Update distfile checksum (PORTREVISION bumped)olgeni2001-04-205-37/+14 * activate IGNOREFILES.sf2001-04-141-0/+3 * Ignore checksum. The distfile changes day by day.sf2001-04-131-1/+1 * This port require X libraries to build/run.steve2001-04-111-0/+1 * Overhaul QT/KDE support:will2001-04-031-2/+1 * update to 3.03mharo2001-04-024-27/+5 * updated port biology/phylip from vers 3.5 to 3.6mharo2001-04-025-94/+110 * - Update MASTER_SITES and WWW: linekevlo2001-03-314-32/+21 * Update to 33.t08.d3.sobomax2001-03-223-4/+3 * - Upgrade to version 1.70kevlo2001-03-135-18/+41 * Upgrade to 0.4.kuriyama2001-03-134-12/+12 * o update to 2.7.2.sf2001-03-132-5/+5 * pass maintainership to ports@.sf2001-03-131-1/+1 * Update to lastest versionkevlo2001-03-122-2/+3 * Update the EMBOSS suite to v1.11.0nbm2001-03-123-7/+12 * - A small bugfix lead to a rerelease without a version number change.nbm2001-03-122-1/+2 * Update to 0.85.trevor2001-03-122-2/+2 * Force -O0 on the Alpha.trevor2001-03-121-1/+7 * fix WWW:sf2001-03-091-1/+1 * update to 33.t08.d2.sf2001-03-082-2/+2 * gd.2, not gd.1ijliao2001-03-051-1/+1 * Change MASTER_SITE and FTP/WWW lines: caos.kun.nl is cmbi.kun.nl now.roam2001-03-052-3/+3 * Remove do-configure section, use PERL_CONFIGURE now.vanilla2001-03-011-1/+0 * Update to version 1.10.1kevlo2001-02-283-8/+7 * reimport biology/genpakijliao2001-02-288-0/+164 * module name conflict with print/gp, so remove it and I'll reimport it againijliao2001-02-288-163/+0 * add gpijliao2001-02-288-0/+163 * Update to version 1.10.0kevlo2001-02-205-24/+51 * The author (at my request) has gone back to a more FreeBSD-friendlytrevor2001-02-202-2/+1 * Update to 0.84.trevor2001-02-193-15/+14 * Update to version 2001-02-06jeh2001-02-192-2/+2 * Chase graphics/gd's shlib version bump.knu2001-02-121-1/+2 * - New port: biology/fasta3, which comprises the FASTA3 suite of DNA andjeh2001-02-129-0/+204 * New port: biology/fasta, the FASTA2 suite of DNA and protein sequencejeh2001-02-128-0/+151 * add gaussian98, an ab-initio molecular orbital calculation program.sf2001-02-1112-0/+822 * Update to 0.84a. Generate the plist.trevor2001-02-093-8/+10 * - Update EMBOSS (biology/emboss) from 1.9.0 to 1.9.1kevlo2001-01-2910-77/+118 * update from 3.7 to 3.8ijliao2001-01-2518-167/+706 * Upgrade to version 1.9.0kevlo2001-01-246-13/+47 * Massive style enforcement - use ^I instead of spaces for variables identation.sobomax2001-01-171-2/+2 * Clean up inefficient perl invocations; use multiple REs in the same call.will2001-01-081-2/+2 * Update to 1.2.6kevlo2000-12-234-7/+25 * Remove trailing period and package name from the pkg-comment.demon2000-12-191-1/+1 * Update to version 5.79.steve2000-12-113-26/+42 * Update distfiles' checksums after the distfiles have been rerolled yetroam2000-12-042-4/+5 * Distfile tarballs were rerolled without notice due to a minor bug.roam2000-12-011-4/+4 * - Update port biology/emboss from 1.7.0 to 1.8.0jeh2000-11-284-17/+124 * Make nolonger support :U. Fix to compensate for that.jeh2000-11-191-3/+6 * They made changes to the "blast" program.jeh2000-11-152-2/+3 * - This is a fairly extensive rework of this port.jeh2000-11-133-0/+56 * - This is a fairly extensive rework of this port.jeh2000-11-134-5/+150 * Change motif to a normal dependency. REQUIRES_MOTIF is now calledasami2000-11-081-1/+1 * Yes. They did re-roll this version, it is legit.jeh2000-11-032-2/+2 * Updated to new version. That is the pits, the day after it becomesjeh2000-11-024-4/+3 * Make portlint happy, remove a spacejeh2000-11-011-1/+1 * Update to version 1.7.0jeh2000-11-013-2/+11 * File missing in pkg-plistjeh2000-10-301-0/+1 * New Port: biology/ncbi-toolkitjeh2000-10-2911-0/+376 * Update biology/sim4 to 2000.10.19jeh2000-10-263-5/+7 * gmake is neededjeh2000-10-241-0/+1 * Update to version 0.6.2jeh2000-10-133-174/+132 * A file was added to distfile and then repackaged with the same name.jeh2000-10-133-2/+5 * Initial import of fastDNAml Version 1.2.2jeh2000-10-126-0/+93 * Missing " in post-patch targetjeh2000-10-111-1/+1 * PR 21608 was not processed as intented.jeh2000-10-112-21/+22 * Initial import of biology/biojavajeh2000-10-106-0/+661 * - Update to 1.6.0kevlo2000-10-103-363/+372 * - Update biology/p5-AcePerl from 1.62 to 1.67kevlo2000-10-106-61/+88 * Initiail version of nab (4.2)jeh2000-10-1017-0/+666 * This is nab (nucleic acid builder), a language for macromoleculesjeh2000-10-101-0/+1 * - Fix MASTER_SITES/DISTNAMEjeh2000-10-103-20/+19 * The last commit changes the ports and therefore need a PORTREVISION bumpjeh2000-10-102-0/+2 * Support PREFIX properlyjeh2000-10-102-1/+5 * - Fix MASTER_SITESjeh2000-10-104-18/+36 * Add do-install target to port's Makefile. Remove patch sectiontrevor2000-10-092-10/+5 * Change PKGDIR from pkg/ to . Also fix places where ${PKGDIR} isasami2000-10-081-1/+1 * Rename ${FILESDIR}/patch-* to ${PATCHDIR}/extra-patch-*.asami2000-10-081-2/+2 * Implement USE_GTK, part 1.reg2000-10-053-38/+26 * - Support CC/CFLAGS/PREFIX properlyjeh2000-10-036-8/+127 * Correct and sort PLISTs.reg2000-10-032-6/+6 * Change MAINTAINER for my ports.trevor2000-10-021-1/+1 * Add USE_XLIBkris2000-09-221-0/+1 * respect CXX and CXXFLAGS (Kato Tsuguru)ade2000-09-194-20/+39 * Update to 0.90.d03nbm2000-09-113-132/+152 * Fix checksumkevlo2000-09-091-18/+1 * Don't break package building on Satoshi's cluster. Explicitly dependtg2000-09-081-1/+1 * Upgrade to 1.5.0nbm2000-09-084-66/+113 * Update to emboss 1.4.0.nbm2000-09-074-52/+83 * Update to version 2000.08.24kevlo2000-09-044-7/+23 * USE_LIBTOOL implies GNU_CONFIGURE, so remove redundant GNU_CONFIGURE lines.sobomax2000-08-211-1/+0 * Update to emboss 1.1.0, fixing some style bugs too.nbm2000-08-135-6/+321 * Upgrade to 0.90.d02.will2000-08-062-3/+3 * Fix MASTER_SITESjedgar2000-08-021-1/+1 * Add emboss, the European Molecular Biology Open Software Suitenbm2000-08-016-0/+700 * Add py-biopython, is a collection of Python packages and modules creatednbm2000-07-316-0/+166 * Add BioPerl, a collection of Perl5 mods for bioinformatics/genomicsnbm2000-07-287-0/+259 * Add p5-AcePerl, a perl interface to the ACEDB genome database systemnbm2000-07-289-0/+177 * Add sim4, an implementation of the sim4 algorithm for aligning expressednbm2000-07-277-0/+48 * Add xdrawchem 0.82 - a program for drawing moleculesalex2000-07-197-0/+65 * Activating the chemeq, clustalw, paml, and phylip ports.steve2000-07-101-0/+4 * Adding phylip version 3.5.steve2000-07-105-0/+161 * Add paml version 3.01.steve2000-07-107-0/+89 * Adding clustalw version 1.81.steve2000-07-106-0/+66 * Adding chemeq version 1.10.steve2000-07-105-0/+62 * - Use GTK_CONFIG/GLIB_CONFIG instead of hardcoded gtk12-config/glib12-configsteve2000-07-082-19/+27 * Unbreak by extracting the correct distfilekris2000-07-031-8/+2 * ...local-distfiles... -> MASTER_SITE_LOCALalex2000-06-201-1/+2 * fc is ftn77 now, adjust accordingly.alex2000-06-123-5/+6 * Update to version 1.0.3alex2000-06-11