/
Portfile
34 lines (26 loc) · 1.09 KB
/
Portfile
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
# $Id: Portfile,v 1.1 2005/12/11 00:12:28 mww Exp $
PortSystem 1.0
name xcc
version 0.5.2
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 md5 e4d598a48a4e55f68284fe64c527af73
use_configure no
build.args CFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib \
PREFIX=${prefix}
destroot.args PREFIX=${prefix}
platform darwin 8 {
build.args-append CC=/usr/bin/gcc-4.0
}