head	1.9;
access;
symbols
	RELEASE_8_3_0:1.8
	RELEASE_9_0_0:1.7
	RELEASE_7_4_0:1.5
	RELEASE_8_2_0:1.5
	RELEASE_6_EOL:1.5
	RELEASE_8_1_0:1.4
	RELEASE_7_3_0:1.3
	RELEASE_8_0_0:1.3
	RELEASE_7_2_0:1.3;
locks; strict;
comment	@# @;


1.9
date	2012.11.17.05.58.48;	author svnexp;	state Exp;
branches;
next	1.8;

1.8
date	2012.01.28.20.30.02;	author miwi;	state Exp;
branches;
next	1.7;

1.7
date	2011.08.13.06.41.17;	author crees;	state Exp;
branches;
next	1.6;

1.6
date	2011.08.12.17.13.55;	author crees;	state Exp;
branches;
next	1.5;

1.5
date	2010.07.25.15.13.41;	author decke;	state Exp;
branches;
next	1.4;

1.4
date	2010.06.06.01.09.30;	author linimon;	state Exp;
branches;
next	1.3;

1.3
date	2009.02.15.13.22.27;	author miwi;	state Exp;
branches;
next	1.2;

1.2
date	2008.12.02.01.24.52;	author wxs;	state Exp;
branches;
next	1.1;

1.1
date	2008.11.24.09.33.54;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.9
log
@Switch exporter over
@
text
@# New ports collection makefile for: libFIRM
# Date created:         22 Nov 2008
# Whom:                 Christoph Mallon <christoph.mallon@@gmx.de>
#
# $FreeBSD: head/lang/cparser/Makefile 300896 2012-07-14 13:54:48Z beat $
#

PORTNAME=	cparser
PORTVERSION=	0.9.13
CATEGORIES=	lang devel
MASTER_SITES=	SF

MAINTAINER=	armin@@frozen-zone.org
COMMENT=	A C99 compiler using libFIRM as backend

LICENSE=	GPLv2

LIB_DEPENDS=	firm.1:${PORTSDIR}/devel/libfirm

USE_BZIP2=	yes
USE_GMAKE=	yes

PLIST_FILES=	bin/cparser

.include <bsd.port.pre.mk>

MAN1=	cparser.1

do-install:
	@@${INSTALL_PROGRAM} ${INSTALL_WRKSRC}/build/cparser ${PREFIX}/bin
	@@${INSTALL_MAN} ${INSTALL_WRKSRC}/cparser.1 ${MAN1PREFIX}/man/man1

.include <bsd.port.post.mk>
@


1.8
log
@- Update to 0.9.13

PR:		164297
Submitted by:	Armin Pirkovitsch <armin@@frozen-zone.org> (maintainer)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.7
log
@Fix on amd64 -- cputype is called x86_64 here.

PR:		ports/159627
Submitted by:	rdivacky
Approved by:	Armin Pirkovitsch <armin@@frozen-zone.org> (maintainer)
@
text
@d9 1
a9 2
PORTVERSION=	0.9.12
PORTREVISION=	1
d16 2
a19 2
LICENSE=	GPLv2

@


1.6
log
@- Update devel/libfirm to 1.19.1
- Update lang/cparser to 0.9.12 and bump LIB_DEPENDS for libfirm

PR:		ports/159627
Submitted by:	Armin Pirkovitsch <armin@@frozen-zone.org> (maintainer)
@
text
@d10 1
@


1.5
log
@- Update to 0.9.11
- Add LICENSE
- Pass maintainership to submitter (via IRC)

PR:		ports/148723
Submitted by:	Armin Pirkovitsch <armin at frozen-zone dot org>
Approved by:	beat (co-mentor)
@
text
@d9 1
a9 1
PORTVERSION=	0.9.11
d16 1
a16 1
LIB_DEPENDS=	firm.0:${PORTSDIR}/devel/libfirm
@


1.4
log
@Reset christoph.mallon@@gmx.de due to maintainer-timeouts and no response
to email.

Hat:		portmgr
@
text
@d9 1
a9 1
PORTVERSION=	0.9.8
d13 1
a13 1
MAINTAINER=	ports@@FreeBSD.org
d18 2
@


1.3
log
@- Update to 0.9.8
- Use SF macro

Submitted by:	Christoph Mallon (maintainer via irc)
@
text
@d13 1
a13 1
MAINTAINER=	christoph.mallon@@gmx.de
@


1.2
log
@- Update to 0.9.7
- Switch to MASTER_SITE_SOURCEFORGE
- Install man pages
- Fixup pkg-descr typos

PR:		ports/129343
Submitted by:	Christoph Mallon <christoph.mallon@@gmx.de> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	0.9.7
d11 1
a11 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
@


1.1
log
@cparser is a C compiler, which can parse C89 and C99 as well as many GCC and
some MSVC extensions.  It also provides many useful analyses for warnings.  It
uses libFIRM, which provides a SSA-based intermediate representation in form of
explicit dependency graphs, for optimization and code generation.  Parsing is
done with a handwritten recursive descent parser.  The AST representation is
straightforward, so it can be used for other purposes than code generation.

* fast recursive descent parser, parses C89 and C99
* handles most GCC extensions, f.e. __attribute__, inline assembler,
  computed goto, statement expressions
* handles some MSVC extensions (like declspec)
* provides many useful warnings
  * format string checker for char and wchar_t
  * unreachable code analysis
  * missing return statement check, which pinpoints exact location(s)
  * write-only/-self variables detection
  * missing and redundant forward declarations
  * most warnings switches, which are available for GCC
* provides concise messages in case of error, for example when encountering
  misspelled typenames
* compiler driver compatible with with GCC (-fxxx, -Wxxx, -M, ...)
* uses libFIRM for optimization and code generation (devel/libfirm)

WWW: http://www.libfirm.org

Submitted by:	Christoph Mallon <christoph.mallon at gmx.de>
@
text
@d9 1
a9 1
PORTVERSION=	0.9.6
d11 2
a12 1
MASTER_SITES=	http://www.info.uni-karlsruhe.de/software/libfirm/
a16 1
RUN_DEPENDS=	${LOCALBASE}/lib/libfirm.a:${PORTSDIR}/devel/libfirm
d26 2
d30 1
@

