# $Id: Portfile,v 1.7 2005/10/04 09:13:17 yeled Exp $

PortSystem 1.0
name		jikespg
version		1.3
categories	lang java devel
maintainers	waqar@opendarwin.org
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://www.ibm.com/developerworks/oss/jikes
master_sites   	ftp://www-126.ibm.com/pub/jikes/JikesPG/1.3
checksums	md5 eba183713d9ae61a887211be80eeb21f
fetch.use_epsv	yes
depends_run     bin:jikes:jikes
worksrcdir      ${name}/src
configure       {
	cd ${worksrcpath}
        reinplace "s|-s -o|-o|g" Makefile
}
destroot        {
	system "cd ${worksrcpath} && install -m 555 \
		${name} ${destroot}${prefix}/bin/"
}
