# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$

PortSystem 1.0

name		jikespg
version		1.3
revision	1
categories	lang java devel
maintainers	nomaintainer
license		IBMPL-1

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 755 \
		${name} ${destroot}${prefix}/bin/"
}