# $Id: Portfile 154316 2016-10-27 17:48:45Z and.damore@macports.org $ PortSystem 1.0 name rc version 1.7.4 categories shells maintainers nomaintainer description A Plan 9 shell license Permissive 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://tobold.org/article/rc platforms darwin master_sites http://static.tobold.org/rc checksums rmd160 adf5bb79f4036b79c8359fd6afd40a11fa85ff6a \ sha256 5ed26334dd0c1a616248b15ad7c90ca678ae3066fa02c5ddd0e6936f9af9bfd8 patchfiles Makefile.in.patch configure.args --mandir=${prefix}/share/man --with-history test.run yes test.target check variant readline description {use readline} { depends_lib port:readline configure.args-append --with-readline } variant editline description {use libedit} { depends_lib port:libedit configure.args-append --with-editline } pre-activate { foreach f {- -- -p --p} { set path ${prefix}/bin/${f} if {![catch {file type $path} ftype] && ($ftype eq "file" || $ftype eq "link") && [registry_file_registered $path] eq "0"} { file delete -force $path } } }