aboutsummaryrefslogtreecommitdiff
path: root/shells/v7sh
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2014-06-11 17:42:36 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2014-06-11 17:42:36 +0000
commit2bacde9c3b2c44465f7058cb9b4c6e7dc4700ac2 (patch)
tree8b56f25125b5be6dd05af340e094bb197df7f3bc /shells/v7sh
parentde32df923135bbd415900176644d4602881f1f76 (diff)
downloadports-2bacde9c3b2c44465f7058cb9b4c6e7dc4700ac2.tar.gz
ports-2bacde9c3b2c44465f7058cb9b4c6e7dc4700ac2.zip
Add an @shell keyword to handle adding and remove a shell path in /etc/shell
Bump port revision of all ports that were doing it wrong prior to the keyword CR: D208 Reviewed by: antoine With hat: portmgr
Notes
Notes: svn path=/head/; revision=357511
Diffstat (limited to 'shells/v7sh')
-rw-r--r--shells/v7sh/Makefile1
-rw-r--r--shells/v7sh/pkg-plist4
2 files changed, 2 insertions, 3 deletions
diff --git a/shells/v7sh/Makefile b/shells/v7sh/Makefile
index 0061662cdd5e..f9d1c3bb25df 100644
--- a/shells/v7sh/Makefile
+++ b/shells/v7sh/Makefile
@@ -3,6 +3,7 @@
PORTNAME= v7sh
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= shells
MASTER_SITES= ftp://minnie.tuhs.org/UnixArchive/PDP-11/Trees/V7/usr/src/cmd/sh/:s \
http://minnie.tuhs.org/UnixTree/V7/usr/src/cmd/sh/:s \
diff --git a/shells/v7sh/pkg-plist b/shells/v7sh/pkg-plist
index 645af0f4fde8..1e2a32315f0b 100644
--- a/shells/v7sh/pkg-plist
+++ b/shells/v7sh/pkg-plist
@@ -1,4 +1,2 @@
-bin/v7sh
+@shell bin/v7sh
man/man1/v7sh.1.gz
-@exec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak; echo %D/%F) >/etc/shells
-@unexec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells