shells/rc: Update to 1.7.4, Fix build

After ports r440197, there is a build problem with the default option.

- Update to 1.7.4 and fix build
- Move MASTER_SITES to the currently upstream address
- Improve pkg-descr
- Set LICENSE

PR:		219596
Approved by:	garga (mentor), maintainer (timeout)
Differential Revision:	https://reviews.freebsd.org/D11126
This commit is contained in:
Danilo G. Baio 2017-06-10 15:13:34 +00:00
parent f30ec9e471
commit c5b23cae91
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=443099
4 changed files with 20 additions and 18 deletions

View file

@ -2,22 +2,23 @@
# $FreeBSD$
PORTNAME= rc
PORTVERSION= 1.7.1
PORTVERSION= 1.7.4
CATEGORIES= shells plan9
MASTER_SITES= ftp://rc.quanstro.net/pub/ \
ftp://quenix2.dyndns.org/FreeBSD/ports/distfiles/
MASTER_SITES= http://static.tobold.org/rc/
MAINTAINER= quanstro@quanstro.net
COMMENT= Unix incarnation of the plan9 shell
USES= tar:bzip2
LICENSE= ZLIB
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-history
OPTIONS_DEFINE= READLINE
READLINE_USES= readline
READLINE_CONFIGURE_WITH=readline
READLINE_CONFIGURE_ON= --with-edit=readline
READLINE_MAKE_ARGS_OFF= CFLAGS="${CFLAGS} -static"
.include <bsd.port.mk>

View file

@ -1,2 +1,3 @@
SHA256 (rc-1.7.1.tar.bz2) = 3a885d1c75e3ff22e22cc2b397b21a2a75810bc1a0d39adc4b2a47b7c81f4bd5
SIZE (rc-1.7.1.tar.bz2) = 149624
TIMESTAMP = 1495848718
SHA256 (rc-1.7.4.tar.gz) = 5ed26334dd0c1a616248b15ad7c90ca678ae3066fa02c5ddd0e6936f9af9bfd8
SIZE (rc-1.7.4.tar.gz) = 215206

View file

@ -1,6 +1,6 @@
--- ./Makefile.in.orig 2003-07-17 14:24:25.000000000 +0200
+++ ./Makefile.in 2014-03-06 18:42:44.943985391 +0100
@@ -716,10 +716,10 @@
--- Makefile.in.orig 2017-05-27 01:41:41 UTC
+++ Makefile.in
@@ -945,10 +945,10 @@ trip: rc tripping
./rc -p < $(srcdir)/trip.rc
install-exec-hook:
@ -12,6 +12,6 @@
+@AMC_HISTORY_TRUE@ rm -f $(DESTDIR)$(bindir)/--; $(LN) $(DESTDIR)$(bindir)/- $(DESTDIR)$(bindir)/-- ;\
+@AMC_HISTORY_TRUE@ rm -f $(DESTDIR)$(bindir)/-p; $(LN) $(DESTDIR)$(bindir)/- $(DESTDIR)$(bindir)/-p ;\
+@AMC_HISTORY_TRUE@ rm -f $(DESTDIR)$(bindir)/--p; $(LN) $(DESTDIR)$(bindir)/- $(DESTDIR)$(bindir)/--p
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

View file

@ -1,8 +1,8 @@
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.
This is a reimplementation for Unix, by Byron Rakitzis, of the Plan 9 shell.
The original rc was designed and implemented by Tom Duff at Bell Labs. It has
a small feature set similar to a traditional Bourne shell, but with a much
cleaner and simpler syntax. Among other things, this makes rc much better than
Bourne-compatible shells at handling filenames which contain spaces. Thus,
writing rc scripts is less error-prone than writing sh scripts.
See the end of the man page, under "INCOMPATIBILITIES" for (known?)
differences from the "real" rc.
Scott Kenney <saken@hotel.rmta.org>
WWW: http://tobold.org/article/rc