head	1.21;
access;
symbols
	RELEASE_8_3_0:1.20
	RELEASE_9_0_0:1.20
	RELEASE_7_4_0:1.18
	RELEASE_8_2_0:1.18
	RELEASE_6_EOL:1.17
	RELEASE_8_1_0:1.13
	RELEASE_7_3_0:1.13
	RELEASE_8_0_0:1.13
	RELEASE_7_2_0:1.12
	RELEASE_7_1_0:1.11
	RELEASE_6_4_0:1.11
	RELEASE_5_EOL:1.9
	RELEASE_7_0_0:1.7
	RELEASE_6_3_0:1.7;
locks; strict;
comment	@# @;


1.21
date	2012.11.17.05.58.54;	author svnexp;	state Exp;
branches;
next	1.20;

1.20
date	2011.04.06.20.16.41;	author lme;	state Exp;
branches;
next	1.19;

1.19
date	2011.02.18.18.18.39;	author lme;	state Exp;
branches;
next	1.18;

1.18
date	2010.12.28.09.26.06;	author lme;	state Exp;
branches;
next	1.17;

1.17
date	2010.11.23.10.07.54;	author sunpoet;	state Exp;
branches;
next	1.16;

1.16
date	2010.11.16.19.09.56;	author lme;	state Exp;
branches;
next	1.15;

1.15
date	2010.09.07.23.13.58;	author obrien;	state Exp;
branches;
next	1.14;

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

1.13
date	2009.09.23.09.20.17;	author pav;	state Exp;
branches;
next	1.12;

1.12
date	2008.12.30.03.29.34;	author obrien;	state Exp;
branches;
next	1.11;

1.11
date	2008.08.21.06.17.30;	author rafan;	state Exp;
branches;
next	1.10;

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

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

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

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

1.6
date	2007.10.15.13.49.32;	author obrien;	state Exp;
branches;
next	1.5;

1.5
date	2007.09.20.20.01.11;	author obrien;	state Exp;
branches;
next	1.4;

1.4
date	2007.09.19.21.25.06;	author obrien;	state Exp;
branches;
next	1.3;

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

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

1.1
date	2007.09.18.02.48.52;	author obrien;	state Exp;
branches;
next	;


desc
@@


1.21
log
@Switch exporter over
@
text
@# ex:ts=8
# Ports collection makefile for:  pcc
# Date created:			  Mon Sept 17, 2007
# Whom:				  David O'Brien (obrien@@NUXI.org)
#
# $FreeBSD: head/lang/pcc/Makefile 300896 2012-07-14 13:54:48Z beat $
#

PORTNAME=	pcc
PORTVERSION=	1.0.0
PORTREVISION=	0
CATEGORIES=	lang
MASTER_SITES=	ftp://pcc.ludd.ltu.se/pub/pcc-releases/ \
		http://pcc.ludd.ltu.se/ftp/pub/pcc-releases/ \
		ftp://226.net120.skekraft.net/pcc-releases/
DISTNAME=	pcc-${PORTVERSION}
EXTRACT_SUFX=	.tgz

MAINTAINER=	joel@@FreeBSD.org
COMMENT=	The Portable C Compiler

ONLY_FOR_ARCHS=	i386 amd64

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	YACC=${YACC}
USE_GMAKE=	yes

MAN1=		ccom.1 cpp.1 pcc.1
PLIST_FILES=	bin/pcc libexec/ccom libexec/cpp

pre-configure:
	${MKDIR} ${WRKSRC}/os/freebsd
	${CP} ${FILESDIR}/*.h ${WRKSRC}/os/freebsd
	${REINPLACE_CMD} -e "s,%%OSVERMAJOR%%,${OSREL:R}," \
		${WRKSRC}/os/freebsd/ccconfig.h

.include <bsd.port.mk>
@


1.20
log
@Welcome pcc-1.0.0 the first stable release in a decade.

PR:		ports/156124
Submitted by:	joel
@
text
@d6 1
a6 1
# $FreeBSD$
@


1.19
log
@Update to 20110216 snapshot

PR:		ports/154861
Submitted by:	joel (maintainer)
@
text
@d10 2
a11 2
PORTVERSION=	0.9.9.20110216
PORTREVISION?=	0
d13 4
a16 4
MASTER_SITES=	ftp://pcc.ludd.ltu.se/pub/pcc/ \
		http://pcc.ludd.ltu.se/ftp/pub/pcc/ \
		ftp://226.net120.skekraft.net/pcc/
DISTNAME=	pcc-${PORTVERSION:E}
d20 1
a20 1
COMMENT=	S.C.Johnson's Portable C Compiler brought into the C99 world
d24 1
a24 1
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:E}
@


1.18
log
@Update to snapshot 101228

PR:		ports/153481
Submitted by:	joel (maintainer)
@
text
@d10 1
a10 1
PORTVERSION=	0.9.9.101228
@


1.17
log
@- Variable twiddle
- Use = for CONFIGURE_ENV
- Sort MAN1

PR:		ports/152522
Submitted by:	sunpoet (myself)
Approved by:	joel (maintainer)
@
text
@d10 1
a10 1
PORTVERSION=	0.9.9.101107
@


1.16
log
@- Update to 101107
- Pet portlint

Note: The new version can now compile itself.

PR:		ports/152027
Submitted by:	"Pedro F. Giffuni" <giffunip(AT)tutopia.com>
Approved by:	joeld (maintainer)
@
text
@d10 1
a10 1
PORTVERSION=	0.9.9.${DATESPEC}
d16 1
a16 1
DISTNAME=	pcc-${DATESPEC}
a21 2
DATESPEC=	101107

d24 1
a24 1
WRKSRC=		${WRKDIR}/${PORTNAME}-${DATESPEC}
d26 1
a26 1
CONFIGURE_ENV+=	YACC=${YACC}
d29 1
a29 1
MAN1=		pcc.1 cpp.1 ccom.1
a31 2
OSVERMAJOR=${OSREL:C/\.[0-9.]*//}

d35 1
a35 1
	${REINPLACE_CMD} -e "s,%%OSVERMAJOR%%,${OSVERMAJOR}," \
@


1.15
log
@Update to version the 100821 release of 0.9.9.
Joel would also like to take over maintenance.

PR:		149850
Submitted by:	joel
@
text
@a9 1
DATESPEC=	100821
d20 3
a22 1
COMMENT=	S.C.Johnson's Portable C Compiler brought into the C99 world.
@


1.14
log
@Update to version the 100708 release of 0.9.9.

PR:		148448
Submitted by:	Alex Kozlov <spam@@rm-rf.kiev.ua>
@
text
@d10 1
a10 1
DATESPEC=	100708
d20 1
a20 1
MAINTAINER=	obrien@@FreeBSD.org
@


1.13
log
@- Update to 090922
- Allow on amd64

PR:		ports/132952
Submitted by:	Alex Kozlov <spam@@rm-rf.kiev.ua>
Approved by:	maintainer timeout (obrien; 6 months)
Feature safe:	yes
@
text
@d10 1
a10 1
DATESPEC=	090922
@


1.12
log
@Update to 081227.

PR:		129980
Submitted by:	Alex Kozlov <spam@@rm-rf.kiev.ua>
@
text
@d10 1
a10 1
DATESPEC=	081227
d23 1
a23 1
ONLY_FOR_ARCHS=	i386
a27 1
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
@


1.11
log
@Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
@
text
@d10 1
a10 1
DATESPEC=	080613
d28 1
d31 4
a34 2
PLIST_FILES=	bin/pcc libexec/ccom libexec/cpp \
		man/man1/pcc.1 man/man1/cpp.1 man/man1/ccom.1
d38 3
a40 1
	${LN} -sf ${FILESDIR}/*.h ${WRKSRC}/os/freebsd
@


1.10
log
@Update to 13-June-2008 snapshot.

PR:		123356
Submitted by:	Alex Kozlov <spam@@rm-rf.kiev.ua>
@
text
@a27 1
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
@


1.9
log
@Update to the 080213 distro - version number has been bumped to 0.9.9
to show the progress that has been made.

PR:		120613
Submitted by:	Alex Kozlov <spam@@rm-rf.kiev.ua>
@
text
@d10 1
a10 1
DATESPEC=	080213
@


1.8
log
@Update to the 071213 snapshot.
PR:	118676
@
text
@d10 2
a11 2
DATESPEC=	071213
PORTVERSION=	0.9.8.${DATESPEC}
@


1.7
log
@Catchup with the 071021 distribution.

PR:		117371
Submitted by:	Alex Kozlov <spam@@rm-rf.kiev.ua>
@
text
@d10 1
a10 1
DATESPEC=	071021
@


1.6
log
@Update to the 01-Oct-2007 snapshot.
@
text
@d10 1
a10 1
DATESPEC=	071001
@


1.5
log
@Update to the Sept 20, 2007 snapshot of 0.9.8.
@
text
@d10 1
a10 1
DATESPEC=	070920
d14 3
a16 1
MASTER_SITES=	ftp://226.net120.skekraft.net/pcc/
d31 2
a32 1
PLIST_FILES=	bin/pcc libexec/ccom libexec/cpp
@


1.4
log
@Specify the YACC to use thru configure vs. a patch.
@
text
@d10 2
a11 1
PORTVERSION=	0.9.8
d15 1
a15 1
DISTNAME=	pcc-current
d23 1
a23 1
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
@


1.3
log
@Change self-documenting value to simply "yes".

Requested by:	kiron
@
text
@d24 1
@


1.2
log
@Use Gmake for now - for some reason 1/2 time bmake will not 'make all'
within the build directory.

Submitted by:	Marcus von Appen <mva@@sysfault.org>
@
text
@d23 1
a23 1
GNU_CONFIGURE=	YES
d25 1
a25 1
USE_GMAKE=	I_dont_know_why_bmake_isnt_always_working_right
@


1.1
log
@C99 modernization of the original Portable C Compiler by S. C. Johnson,
written in the late 70's.
@
text
@d25 1
@

