# $Id: Portfile 82819 2011-08-21 00:30:51Z jmr@macports.org $

PortSystem 1.0

name		jikespg
version		1.3
categories	lang java devel
maintainers	waqar openmaintainer
description	Jikes Parser Generator
long_description    \
	Jikes Parser Generator is the parser generator used by the Jikes \
	Compiler. It takes as input an annotated version of the Java 	 \
	language grammar and produces as output program source and data  \
	that is part of the source for the Jikes compiler.
platforms	darwin
homepage       	http://jikes.sourceforge.net/
master_sites   	sourceforge:project/jikes/Jikes%20Parser%20Generator/${version}
checksums	md5 eba183713d9ae61a887211be80eeb21f
depends_run     bin:jikes:jikes
worksrcdir      ${name}/src

configure       {
        reinplace "s|-s -o|-o|g" ${worksrcpath}/Makefile
}

destroot        {
	system "cd ${worksrcpath} && install -m 555 \
		${name} ${destroot}${prefix}/bin/"
}
