a project to simplify installation of open source software
on Mac OS X and Darwin
# $Id: Portfile 20325 2006-11-01 23:29:46Z blair@macports.org $
PortSystem 1.0
name nice
version 0.9.10
categories lang java
platforms darwin
maintainers mvitocruz@gmail.com
description The Nice programming language
long_description Nice is a new programming language that extends the \
ideas behind object orientation and incorporates \
features from functional programming.
homepage http://nice.sourceforge.net/
master_sites sourceforge
distname Nice-${version}-source
checksums md5 05dba3612c600cf7adee1277023124e2
worksrcdir ${name}-${version}.orig
use_configure no
depends_run bin:java:kaffe
depends_build bin:javacc:javacc
pre-build {
reinplace "s|/usr/local|${destroot}${prefix}|" \
${worksrcpath}/Makefile
reinplace "s|cp -a|cp -p -R|" ${worksrcpath}/Makefile
reinplace "s|/usr/share/java/|${prefix}/share/java/|" \
${worksrcpath}/external/javacc
}