diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-06-12 01:42:36 +0800 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2014-06-12 01:42:36 +0800 |
commit | 2bacde9c3b2c44465f7058cb9b4c6e7dc4700ac2 (patch) | |
tree | 8b56f25125b5be6dd05af340e094bb197df7f3bc /shells/v7sh | |
parent | de32df923135bbd415900176644d4602881f1f76 (diff) | |
download | freebsd-ports-gnome-2bacde9c3b2c44465f7058cb9b4c6e7dc4700ac2.tar.gz freebsd-ports-gnome-2bacde9c3b2c44465f7058cb9b4c6e7dc4700ac2.tar.zst freebsd-ports-gnome-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
Diffstat (limited to 'shells/v7sh')
-rw-r--r-- | shells/v7sh/Makefile | 1 | ||||
-rw-r--r-- | shells/v7sh/pkg-plist | 4 |
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 |