source: trunk/dports/shells/rc/Portfile @ 154316

Last change on this file since 154316 was 154316, checked in by and.damore@…, 4 years ago

port rc: update to version 1.7.4, update homepage; nomantainer

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
RevLine 
[20464]1# $Id: Portfile 154316 2016-10-27 17:48:45Z and.damore@macports.org $
[2458]2
[154315]3PortSystem  1.0
[93564]4
[154315]5name        rc
[154316]6version     1.7.4
[154315]7categories  shells
8maintainers nomaintainer
9description A Plan 9 shell
10license     Permissive
[96313]11
[154315]12long_description    \
13    This is a reimplementation for Unix, by Byron Rakitzis, \
14    of the Plan 9 shell. rc offers much the same capabilities \
15    as a traditional Bourne shell, but with a much cleaner syntax.
[23103]16
[154316]17homepage    http://tobold.org/article/rc
[154315]18platforms   darwin
[22864]19
[154316]20master_sites    http://static.tobold.org/rc
[23103]21
[154316]22checksums           rmd160  adf5bb79f4036b79c8359fd6afd40a11fa85ff6a \
23                    sha256  5ed26334dd0c1a616248b15ad7c90ca678ae3066fa02c5ddd0e6936f9af9bfd8
[23103]24
[154315]25patchfiles  Makefile.in.patch
[116136]26
[154315]27configure.args  --mandir=${prefix}/share/man --with-history
[23103]28
[154315]29test.run    yes
30test.target check
[23103]31
[154315]32variant readline description {use readline} {
33    depends_lib port:readline
34    configure.args-append  --with-readline
[23103]35}
36
[51295]37variant editline description {use libedit} {
[154315]38    depends_lib port:libedit
39    configure.args-append  --with-editline
[23103]40}
41
[116136]42pre-activate {
43    foreach f {- -- -p --p} {
44        set path ${prefix}/bin/${f}
45        if {![catch {file type $path} ftype] && ($ftype eq "file" || $ftype eq "link") && [registry_file_registered $path] eq "0"} {
46            file delete -force $path
47        }
48    }
49}
Note: See TracBrowser for help on using the repository browser.