aboutsummaryrefslogtreecommitdiffstats
path: root/shells/ksh93/pkg-plist
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2011-06-19 08:58:26 +0800
committersunpoet <sunpoet@FreeBSD.org>2011-06-19 08:58:26 +0800
commiteba45f04f761395fa7a87bd88158cfeb32f2f8e8 (patch)
tree36f6fa83700fd6e196577317da6d89506c453e65 /shells/ksh93/pkg-plist
parentbe63dd772ba924f7fad575ddddaadb39f4691f60 (diff)
downloadfreebsd-ports-gnome-eba45f04f761395fa7a87bd88158cfeb32f2f8e8.tar.gz
freebsd-ports-gnome-eba45f04f761395fa7a87bd88158cfeb32f2f8e8.tar.zst
freebsd-ports-gnome-eba45f04f761395fa7a87bd88158cfeb32f2f8e8.zip
- Remove INSTALLROOT completely
- Add OPTIONS: STATIC - Change manipulation on /etc/shells - Respect PORTEXAMPLES - Bump PORTREVISION for PLIST change
Diffstat (limited to 'shells/ksh93/pkg-plist')
-rw-r--r--shells/ksh93/pkg-plist13
1 files changed, 6 insertions, 7 deletions
diff --git a/shells/ksh93/pkg-plist b/shells/ksh93/pkg-plist
index fa4cb8a5e905..255ace3072f6 100644
--- a/shells/ksh93/pkg-plist
+++ b/shells/ksh93/pkg-plist
@@ -1,8 +1,7 @@
-@comment $FreeBSD$
bin/ksh93
-@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
-%%EXAMPLESDIR%%/dirs
-%%EXAMPLESDIR%%/popd
-%%EXAMPLESDIR%%/pushd
-@dirrm %%EXAMPLESDIR%%
+@exec echo "Updating /etc/shells"; sed -i "" "\|%D/%F|d" /etc/shells; echo %D/%F >> /etc/shells
+@unexec echo "Updating /etc/shells"; sed -i "" "\|%D/%F|d" /etc/shells
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/dirs
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/popd
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pushd
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%