# $Id: Portfile,v 1.3 2006/04/14 07:13:14 mww Exp $

PortSystem 1.0

name			xcc
version			0.6.0
categories		devel lang
platforms		darwin
maintainers		mww@opendarwin.org
description		parser generator for XML
long_description	XCC is a tool for building XML format parsers. One way to \
			describe what XCC does is by analogy with a generic parser \
			generator, e.g. yacc or bison. Yacc needs a lexical analyzer to \
			function properly, and that lexical analyzer is usually built \
			with (f)lex. In the XML world, there are a few packages which fill \
			in the role of lex (expat and libxml are the most known), but the \
			high-level grammar parsing is usually done by a hand-written code. \
			Writing such a parser is a tedious and error-prone task.

homepage		ftp://plasma-gate.weizmann.ac.il/pub/xcc/
master_sites	ftp://plasma-gate.weizmann.ac.il/pub/xcc/
checksums		sha1 828f5d313c9faa8877193b53ef6ec73de7b11231

fetch.use_epsv	no

configure.env	CFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib

build.target	bundle.i all

platform darwin 8 {
	configure.env-append	CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
}

