# -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4; -*-
# vim: set fileencoding=utf-8 tabstop=8 shiftwidth=4 softtabstop=4 noexpandtab filetype=tcl :

PortSystem	    1.0

name		    oorexx
conflicts		rexx
version		    4.0.1
revision	    2
categories	    lang
license		    CPL-1
platforms	    darwin
maintainers	    nomaintainer
description	    Open Object Rexx is an interpreter for the Rexx language
long_description    ooRexx is an object orientated extension to			\
		    the Rexx language. Rexx is designed to be an easily		\
		    readable, but powerful scripting and embedded macro		\
		    language.

homepage	    http://www.oorexx.org/
master_sites	    sourceforge
dist_subdir         ${name}/${version}_1
distname	    ooRexx-${version}.source
worksrcdir	    ooRexx-${version}
use_parallel_build  yes

checksums           md5     12728847478a5219efc988c69f6f12c8 \
                    sha1    ce22a3caf3f69ae753cccc2904289ee65cd47934 \
                    rmd160  ffe481d70f76f8c895736f0893c90036556b60fa

patchfiles          patch-common-platform-unix-SysLibrary.cpp.diff

post-patch {
    reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/common/platform/unix/SysLibrary.cpp
}
