Portfile

# $Id: Portfile 20322 2006-11-01 23:02:31Z blair@macports.org $
PortSystem 1.0
name librep
version 0.17
categories lang
maintainers lloyd@hilaiel.com
description A shared library implementing a Lisp dialect
long_description librep is a shared library implementing a Lisp \
dialect that is lightweight, reasonably fast, and \
highly extensible. It contains an interpreter, \
byte-code compiler and virtual machine. Applications \
may use the interpreter as an extension language, or \
it may be used for standalone scripts.
homepage http://librep.sourceforge.net
master_sites sourceforge
checksums md5 ad4ad851ff9f82a5d61024cd96bc2998

# TODO variant with readline support
configure.args --without-readline \
--prefix=${prefix} \
--infodir=${prefix}/share/info \
--mandir=${prefix}/share/man

depends_lib port:gdbm \
port:gmp

# 10.3 and i386 are fine with the default 'stack-direction=-1' but 10.4 ppc needs 1
platform darwin 8 powerpc {
configure.args-append --with-stack-direction=1
}