Portfile

# $Id: Portfile 22478 2007-03-02 05:16:40Z pipping@macports.org $

PortSystem 1.0
name gauche
version 0.8.9
categories lang scheme
maintainers yuhei@pop21.odn.ne.jp
description A script interpreter based on Scheme
long_description Gauche is a script interpreter based on Scheme. \
Gauche conforms the language standard 'Revised^5 \
Report on the Algorithmic Language Scheme' and \
supports various common libraries defined in SRFIs. \
The goal of Gauche is to provide a handy tool for \
programmers and system administrators to handle \
daily works conveniently and efficiently in the \
production environment.\
There are lots of Scheme implementations available, \
and each of them has its design emphasis and \
weeknesses. Gauche is designed with emphasis on \
Quick startup, Multibyte strings, Modular \
development, Integrated object system, System \
interface and Enhanced I/O.
homepage http://www.shiro.dreamhost.com/scheme/gauche/
master_sites sourceforge
distname Gauche-${version}
distfiles ${distname}.tgz
checksums md5 242febb7ab09b95377e39aabb8adb6d7
configure.args --mandir=${prefix}/share/man --infodir=${prefix}/share/info \
--with-local=${prefix} --enable-multibyte=utf-8 \
--with-iconv=${prefix} --with-slib=${prefix}/lib/slib \
--enable-threads=pthreads --enable-ipv6
depends_lib port:libiconv port:gdbm port:slib
destroot.target slibcat-in-place install-pkg install-doc
platform darwin 6 { depends_lib-append port:dlcompat }
platform darwin 8 { configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0 }
variant euc-jp { configure.args-delete --enable-multibyte=utf-8
configure.args-append --enable-multibyte=euc-jp }
variant sjis { configure.args-delete --enable-multibyte=utf-8
configure.args-append --enable-multibyte=sjis }
variant no-multibyte { configure.args-delete --enable-multibyte=utf-8
configure.args-append --enable-multibyte=no }
variant no-iconv { depends_lib-delete port:libiconv
configure.args-delete --with-iconv=${prefix} }
variant no-gdbm { depends_lib-delete port:gdbm }
variant no-slib { depends_lib-delete port:slib
configure.args-delete --with-slib=${prefix}/lib/slib }
variant no-threads { configure.args-delete --enable-threads=pthreads }
variant no-ipv6 { configure.args-delete --enable-ipv6 }