# $Id: Portfile 53321 2009-07-03 08:18:30Z mww@macports.org $

PortSystem 1.0

name            dparser
version         1.21
categories      devel
maintainers     mww
platforms       darwin
description     general-purpose parser generator
long_description \
	DParser is an simple but powerful tool for parsing.  You can specify \
	the form of the text to be parsed using a combination of regular \
	expressions and grammar productions. Because of the parsing technique \
	(technically a scannerless GLR parser based on the Tomita algorithm) \
	there are no restrictions. The grammar can be ambiguous, right or \
	left recursive, have any number of null productions, and because there \
	is no seperate tokenizer, can include whitespace in terminals and have \
	terminals which are prefixes of other terminals. DParser handles not \
	just well formed computer languages and data files, but just about any \
	wacky situation that occurs in the real world.

homepage        http://dparser.sourceforge.net/
master_sites    sourceforge
checksums           md5     7b9415ad4e0ba2d5d69b9ff314152f36 \
                    sha1    5adbf5073c73eed044690e40f9aaf9a20fd95fd9 \
                    rmd160  b3fb40fd713a35681c23c82c107b3872a33e19df
distname	d-${version}-src
patchfiles	patch-Makefile

worksrcdir	d

use_configure	no

build.args-append	CC="${configure.cc} ${configure.cflags}" PREFIX=${prefix}

destroot.destdir	PREFIX=${destroot}${prefix}

