# $Id: Portfile 56061 2009-08-24 00:33:19Z ryandesign@macports.org $
PortSystem	 1.0
name		 librep
version 	 0.17
categories   lang
platforms    darwin
maintainers  hilaiel.com:lloyd
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
}

