mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
49 lines
1.3 KiB
Plaintext
49 lines
1.3 KiB
Plaintext
PortSystem 1.0
|
|
|
|
name rc
|
|
version 1.7.4
|
|
revision 2
|
|
categories shells
|
|
maintainers nomaintainer
|
|
description A Plan 9 shell
|
|
license Permissive
|
|
conflicts rtags
|
|
|
|
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
|
|
|
|
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-edit=readline
|
|
}
|
|
|
|
variant editline description {use libedit} {
|
|
depends_lib port:libedit
|
|
configure.args-append --with-edit=edit
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|
|
}
|