Portfile

# $Id: Portfile 20322 2006-11-01 23:02:31Z blair@macports.org $

PortSystem 1.0
name jikespg
version 1.3
categories lang java devel
maintainers waqar@macports.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/"
}