aboutsummaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2014-01-21 08:54:06 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2014-01-21 08:54:06 +0000
commitf61f2728b68ce4626d0faf25cd48b1b9e29a3cf5 (patch)
treecd683a2824dc5758f868a16e33ee98d90d73ae67 /shells
parentb31ea6cd5127d5dd05a495587e2283610c1070d9 (diff)
downloadports-f61f2728b68ce4626d0faf25cd48b1b9e29a3cf5.tar.gz
ports-f61f2728b68ce4626d0faf25cd48b1b9e29a3cf5.zip
Notes
Diffstat (limited to 'shells')
-rw-r--r--shells/mksh/Makefile1
-rw-r--r--shells/mksh/pkg-plist3
2 files changed, 3 insertions, 1 deletions
diff --git a/shells/mksh/Makefile b/shells/mksh/Makefile
index fc2877249746..c9b04e592d26 100644
--- a/shells/mksh/Makefile
+++ b/shells/mksh/Makefile
@@ -3,6 +3,7 @@
PORTNAME= mksh
DISTVERSION= R49
+PORTREVISION= 1
CATEGORIES= shells
MASTER_SITES= http://www.mirbsd.org/MirOS/dist/mir/mksh/ \
http://pub.allbsd.org/MirOS/dist/mir/mksh/
diff --git a/shells/mksh/pkg-plist b/shells/mksh/pkg-plist
index 57f077ed3d15..378073b2e583 100644
--- a/shells/mksh/pkg-plist
+++ b/shells/mksh/pkg-plist
@@ -1,5 +1,6 @@
-bin/mksh
man/man1/mksh.1.gz
+@comment Please mind the order. bin/mksh needs to come right before the exec/unexec magic.
+bin/mksh
@exec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak; echo %D/%F) >/etc/shells; rm -f /etc/shells.bak
@unexec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells; rm -f /etc/shells.bak
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dot.mkshrc