Portfile

# $Id: Portfile 23103 2007-03-25 03:00:31Z waqar@macports.org $

PortSystem 1.0
name rc
version 1.7.1
revision 1
categories shells
maintainers waqar@macports.org
description A Plan 9 shell
long_description \
This is a reimplementation for Unix, by Byron Rakitzis, \
of the Plan 9 shell. rc offers much the same capabilities \
as a traditional Bourne shell, but with a much cleaner syntax.

homepage http://www.libra-aries-books.co.uk/rc
platforms darwin

master_sites http://www.libra-aries-books.co.uk/rc/release \
ftp://ftp.sys.utoronto.ca/pub/rc

checksums md5 7253e1c853824cf27edb2166214f0511 \
sha1 e282fde927c91b7f580426bcdfc62f780c6645c5

configure.args --mandir=${prefix}/share/man --with-history

test.run yes
test.target check

variant readline {
depends_lib port:realine
configure.args-append --with-realine
}

variant editline {
depends_lib port:libedit
configure.args-append --with-editline
}