head	1.15;
access;
symbols
	RELEASE_5_0_DP1:1.14
	RELEASE_4_5_0:1.14
	RELEASE_4_4_0:1.14
	RELEASE_4_3_0:1.14
	RELEASE_4_2_0:1.14
	RELEASE_4_1_1:1.12
	RELEASE_4_1_0:1.11
	RELEASE_3_5_0:1.11
	RELEASE_4_0_0:1.8
	RELEASE_3_4_0:1.7
	RELEASE_3_3_0:1.7
	RELEASE_3_2_0:1.2
	RELEASE_3_1_0:1.2
	RELEASE_2_2_8:1.2
	RELEASE_3_0_0:1.2
	RELEASE_2_2_7:1.2
	RELEASE_2_2_6:1.2
	RELEASE_2_2_5:1.2
	RELEASE_2_2_1:1.2
	RELEASE_2_2_2:1.2
	lcc_3_6:1.1.1.1
	OBRIEN:1.1.1;
locks; strict;
comment	@# @;


1.15
date	2002.04.12.19.29.14;	author ade;	state dead;
branches;
next	1.14;

1.14
date	2000.11.10.18.18.04;	author obrien;	state Exp;
branches;
next	1.13;

1.13
date	2000.10.08.10.21.50;	author asami;	state Exp;
branches;
next	1.12;

1.12
date	2000.08.08.03.04.22;	author steve;	state Exp;
branches;
next	1.11;

1.11
date	2000.04.12.06.19.09;	author obrien;	state Exp;
branches;
next	1.10;

1.10
date	2000.03.22.00.27.02;	author obrien;	state Exp;
branches;
next	1.9;

1.9
date	2000.03.20.02.36.38;	author obrien;	state Exp;
branches;
next	1.8;

1.8
date	2000.02.13.03.23.35;	author obrien;	state Exp;
branches;
next	1.7;

1.7
date	99.09.04.20.34.13;	author obrien;	state Exp;
branches;
next	1.6;

1.6
date	99.08.28.02.41.55;	author mharo;	state Exp;
branches;
next	1.5;

1.5
date	99.08.28.02.17.14;	author mharo;	state Exp;
branches;
next	1.4;

1.4
date	99.08.28.01.57.30;	author mharo;	state Exp;
branches;
next	1.3;

1.3
date	99.08.25.06.34.50;	author obrien;	state Exp;
branches;
next	1.2;

1.2
date	96.12.31.15.08.18;	author obrien;	state Exp;
branches;
next	1.1;

1.1
date	96.12.27.11.09.48;	author obrien;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	96.12.27.11.09.48;	author obrien;	state Exp;
branches;
next	;


desc
@@


1.15
log
@Remove lang/lcc -- it's been broken for so long and there is no new
version.
@
text
@# ex:ts=8
# Ports collection makefile for:  lcc
# Date created:			  Sat Dec 7, 1996
# Whom:				  David O'Brien (obrien@@cs.ucdavis.edu)
#
# $FreeBSD: ports/lang/lcc/Makefile,v 1.14 2000/11/10 18:18:04 obrien Exp $
#

PORTNAME=	lcc
PORTVERSION=	3.6
CATEGORIES=	lang
MASTER_SITES=	ftp://ftp.cs.princeton.edu/pub/packages/lcc/

MAINTAINER=	obrien@@FreeBSD.org
#origial [and extensive] patches by Soren Schmidt  / sos@@freebsd.org

PLIST_SUB+=	ARCH=${ARCH}

MAKEFILE=	makefile
MAKE_FLAGS=	BUILDDIR=${LCCBUILDDIR} HOSTFILE=etc/${OPSYS}.c -f
MAN1=		bprint.1 lcc.1

UNAME_M!=	uname -m
LCCBUILDDIR=	${WRKDIR}/${UNAME_M}-${OPSYS}
LCCDESTDIR=	lib/${DISTNAME}/${UNAME_M}-${OPSYS}

pre-configure:
	@@${MKDIR} ${LCCBUILDDIR}
	@@${CP} ${FILESDIR}/${OPSYS}.md ${WRKSRC}/src
	@@${SED} -e "s:%%PREFIX%%:${PREFIX}:g"  \
	     -e "s:%%LCCDESTDIR%%:${LCCDESTDIR}:g"  \
	     -e "s:%%VERSION%%:${DISTNAME}:g"  \
	     -e "s:!!ARCH!!:${ARCH}:g"  \
		${FILESDIR}/${OPSYS}.c.in > ${WRKSRC}/etc/${OPSYS}.c
	@@#	below can be used to patchup PLIST file for diff os/arch
	@@#${SED} -e "s:%%LCCDESTDIR%%:${LCCDESTDIR}:g"  \
		#${PKGDIR}/pkg-plist.in > ${PKGDIR}/pkg-plist
	@@${SED} -e "s:%%OPSYS%%:${OPSYS}:g"  \
		${WRKSRC}/makefile > ${WRKSRC}/makefile.configured
	@@${MV} -f ${WRKSRC}/makefile.configured ${WRKSRC}/makefile

do-install:
	@@(umask 022 ; ${MKDIR} ${PREFIX}/${LCCDESTDIR})
	@@${INSTALL_PROGRAM} ${LCCBUILDDIR}/lcc \
		${LCCBUILDDIR}/rcc \
		${LCCBUILDDIR}/cpp \
		${LCCBUILDDIR}/bprint \
		${LCCBUILDDIR}/bbexit.o \
		${PREFIX}/${LCCDESTDIR}
	@@${LN} -sf ${PREFIX}/${LCCDESTDIR}/lcc ${PREFIX}/bin
	@@${LN} -sf ${PREFIX}/${LCCDESTDIR}/bprint ${PREFIX}/bin
	@@${INSTALL_MAN} ${WRKSRC}/doc/lcc.1 ${WRKSRC}/doc/bprint.1 \
		${PREFIX}/man/man1

.include <bsd.port.mk>
@


1.14
log
@Don't hardcode the arch symbols.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/lcc/Makefile,v 1.13 2000/10/08 10:21:50 asami Exp $
@


1.13
log
@Change PKGDIR from pkg/ to .  Also fix places where ${PKGDIR} is
spelled out (many of which are ${PKGDIR}/MESSAGE -> ${PKGMESSAGE} type
fixes that shouldn't have been necessary) and the string "/pkg/"
appear.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/lcc/Makefile,v 1.12 2000/08/08 03:04:22 steve Exp $
d33 1
@


1.12
log
@Use ARCH in pkg/PLIST so this port packages cleanly on the Alpha.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/lcc/Makefile,v 1.11 2000/04/12 06:19:09 obrien Exp $
d36 1
a36 1
		#${PKGDIR}/PLIST.in > ${PKGDIR}/PLIST
@


1.11
log
@Convert to the PORTNAME - PORTVERSION syntax.
@
text
@d6 1
a6 1
# $FreeBSD: ports/lang/lcc/Makefile,v 1.10 2000/03/22 00:27:02 obrien Exp $
d16 2
@


1.10
log
@Restore useless version required comments.
@
text
@a2 1
# Version required: 0.0
d6 1
a6 1
# $FreeBSD: ports/lang/lcc/Makefile,v 1.9 2000/03/20 02:36:38 obrien Exp $
d9 2
a10 1
DISTNAME=	lcc-3.6
@


1.9
log
@Remove the "version required" line.
@
text
@d3 1
d7 1
a7 1
# $FreeBSD: ports/lang/lcc/Makefile,v 1.8 2000/02/13 03:23:35 obrien Exp $
@


1.8
log
@Style nits in the ports I maintain.
@
text
@a2 1
# Version required:		  3.6
d6 1
a6 1
# $FreeBSD: ports/lang/lcc/Makefile,v 1.7 1999/09/04 20:34:13 obrien Exp $
@


1.7
log
@portlint
@
text
@d3 3
a5 3
# Version required:	3.6
# Date created:		Sat Dec 7, 1996
# Whom:			David O'Brien (obrien@@cs.ucdavis.edu)
d7 1
a7 1
# $FreeBSD: ports/lang/lcc/Makefile,v 1.6 1999/08/28 02:41:55 mharo Exp $
d14 1
a14 1
MAINTAINER=     obrien@@FreeBSD.org
@


1.6
log
@expr -> ${EXPR}
mv   -> ${MV}
rm   -> ${RM}
tr   -> ${TR}
@
text
@d7 1
a7 1
# $FreeBSD: ports/lang/lcc/Makefile,v 1.5 1999/08/28 02:17:14 mharo Exp $
a50 1

@


1.5
log
@sed -> ${SED}
@
text
@d7 1
a7 1
# $FreeBSD: ports/lang/lcc/Makefile,v 1.4 1999/08/28 01:57:30 mharo Exp $
d37 1
a37 1
	@@/bin/mv -f ${WRKSRC}/makefile.configured ${WRKSRC}/makefile
@


1.4
log
@ln -> ${LN}
@
text
@d7 1
a7 1
# $FreeBSD: ports/lang/lcc/Makefile,v 1.3 1999/08/25 06:34:50 obrien Exp $
d28 1
a28 1
	@@sed -e "s:%%PREFIX%%:${PREFIX}:g"  \
d33 1
a33 1
	@@#sed -e "s:%%LCCDESTDIR%%:${LCCDESTDIR}:g"  \
d35 1
a35 1
	@@sed -e "s:%%OPSYS%%:${OPSYS}:g"  \
@


1.3
log
@Change Id->FreeBSD.
@
text
@d7 1
a7 1
# $FreeBSD$
d47 2
a48 2
	@@/bin/ln -sf ${PREFIX}/${LCCDESTDIR}/lcc ${PREFIX}/bin
	@@/bin/ln -sf ${PREFIX}/${LCCDESTDIR}/bprint ${PREFIX}/bin
@


1.2
log
@Don't use a generic PLIST which is then fixedup.  Note, that others using
our ports collection will have to come up with a solution for this.

Requested by:	Satoshi
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.1.1.1 1996/12/27 11:09:48 obrien Exp $
@


1.1
log
@Initial revision
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.1.1.1 1996/08/09 04:17:16 asami Exp $
d32 3
a34 2
	@@sed -e "s:%%LCCDESTDIR%%:${LCCDESTDIR}:g"  \
		${PKGDIR}/PLIST.in > ${PKGDIR}/PLIST
@


1.1.1.1
log
@lcc is the retargetable ANSI C compiler described in the book
`A Retargetable C Compiler: Design and Implementation'
(Addison-Wesley, 1995, ISBN 0-8053-1670-1).

lcc is a production compiler with a hand crafted lexical analyzer and a
hand-coded recursive decent parser.  The lexer and parser code is well
written and very easy to read (and learn from :-)).

lcc compiles much faster than FreeBSD's stock [gcc] compiler.  However, it
does not under stand FreeBSD's "long long" data type.

Contributions by:	Soren Schmidt
@
text
@@
