add rc port; Markus Friedl <markus.friedl@informatik.uni-erlangen.de>
- rc is a command interpreter and programming language similar to sh(1). It is based on the AT&T Plan 9 shell of the same name.
This commit is contained in:
parent
8be17b37cd
commit
2943ea67f0
36
plan9/rc/Makefile
Normal file
36
plan9/rc/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 1999/06/11 14:44:22 brad Exp $
|
||||
|
||||
DISTNAME= rc-1.6
|
||||
CATEGORIES= plan9 shells
|
||||
MAINTAINER= markus.friedl@informatik.uni-erlangen.de
|
||||
MASTER_SITES= http://www.star.le.ac.uk/~tjg/rc/release/ \
|
||||
ftp://ftp.sys.toronto.edu/pub/rc/
|
||||
|
||||
SEPARATE_BUILD= concurrent
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+= --with-history
|
||||
|
||||
pre-fetch pre-build pre-install:
|
||||
.if !defined(WITH_READLINE) && !defined(WITH_EDITLINE)
|
||||
.if !defined(NO_WARNINGS)
|
||||
@${ECHO} '*******************************************************'
|
||||
@${ECHO} '* Note that you can build rc using the readline or *'
|
||||
@${ECHO} '* editline library (emacs style command line editing) *'
|
||||
@${ECHO} '* by setting the shell variable WITH_READLINE or *'
|
||||
@${ECHO} '* WITH_EDITLINE to yes *'
|
||||
@${ECHO} '*******************************************************'
|
||||
.endif
|
||||
.elif defined(WITH_READLINE) && ${WITH_READLINE}==yes
|
||||
CONFIGURE_ARGS+= --with-readline
|
||||
.elif defined(WITH_EDITLINE) && ${WITH_EDITLINE}==yes
|
||||
EDITLINE= ${WRKSRC}/../editline/
|
||||
DISTFILES= ${DISTNAME}.tar.gz editline-1.5.tar.gz
|
||||
MASTER_SITES+= http://www.star.le.ac.uk/~tjg/rc/misc/
|
||||
CONFIGURE_ARGS+= --with-editline
|
||||
CONFIGURE_ENV+= LIBS="-L${EDITLINE}"
|
||||
pre-configure:
|
||||
@${ECHO_MSG} "===> Compiling editline"
|
||||
(cd ${EDITLINE} && ${MAKE})
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
6
plan9/rc/files/md5
Normal file
6
plan9/rc/files/md5
Normal file
@ -0,0 +1,6 @@
|
||||
MD5 (editline-1.5.tar.gz) = c0b9355a84efad07e23b2d5dce745522
|
||||
MD5 (rc-1.6.tar.gz) = 3b56f0e47e8496ea0363ebc202bcac23
|
||||
RMD160 (editline-1.5.tar.gz) = b343f870fc7ec7e4853a17675b253402f6c35aab
|
||||
RMD160 (rc-1.6.tar.gz) = 766453e1d55f44de94c690959aee1dc8d8a77365
|
||||
SHA1 (editline-1.5.tar.gz) = c4c0569a18cdd03185887a7b78fcfbbd12865c45
|
||||
SHA1 (rc-1.6.tar.gz) = e223c5f3a34aa836034cc033751c276ff05fcc8e
|
1
plan9/rc/pkg/COMMENT
Normal file
1
plan9/rc/pkg/COMMENT
Normal file
@ -0,0 +1 @@
|
||||
shell (clone of plan9 shell)
|
8
plan9/rc/pkg/DESCR
Normal file
8
plan9/rc/pkg/DESCR
Normal file
@ -0,0 +1,8 @@
|
||||
rc is a command interpreter and programming language similar to
|
||||
sh(1). It is based on the AT&T Plan 9 shell of the same name.
|
||||
|
||||
The shell offers a C-like syntax (much more so than the C shell),
|
||||
and a powerful mechanism for manipulating variables. It is reasonably
|
||||
small and reasonably fast, especially when compared to contemporary
|
||||
shells. Its use is intended to be interactive, but the language
|
||||
lends itself well to scripts.
|
7
plan9/rc/pkg/PLIST
Normal file
7
plan9/rc/pkg/PLIST
Normal file
@ -0,0 +1,7 @@
|
||||
bin/rc
|
||||
bin/-
|
||||
bin/--
|
||||
bin/-p
|
||||
bin/--p
|
||||
man/man1/rc.1
|
||||
man/man1/history.1
|
Loading…
Reference in New Issue
Block a user