diff options
author | salo <salo> | 2002-11-17 09:01:59 +0000 |
---|---|---|
committer | salo <salo> | 2002-11-17 09:01:59 +0000 |
commit | 061594fade6adaf9dc1c8d2c5ccb63b0ab40f3ca (patch) | |
tree | 2f6572446a11090190337dd4e3b4a6d8b609f771 /shells/osh | |
parent | 41c2b7b35024f4a7c8d3bcad86ea6bf9066da781 (diff) | |
download | pkgsrc-061594fade6adaf9dc1c8d2c5ccb63b0ab40f3ca.tar.gz |
Convert packages to PKG_REGISTER_SHELLS framework.
Diffstat (limited to 'shells/osh')
-rw-r--r-- | shells/osh/Makefile | 10 | ||||
-rw-r--r-- | shells/osh/PLIST | 4 |
2 files changed, 4 insertions, 10 deletions
diff --git a/shells/osh/Makefile b/shells/osh/Makefile index 7a1e4670425..58075ebe5de 100644 --- a/shells/osh/Makefile +++ b/shells/osh/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1.1.1 2002/08/20 20:52:29 cjep Exp $ +# $NetBSD: Makefile,v 1.2 2002/11/17 09:02:01 salo Exp $ # FreeBSD Id: ports/shells/osh/Makefile,v 1.3 2002/01/29 11:58:43 knu Exp DISTNAME= osh-020214 @@ -10,11 +10,7 @@ COMMENT= Implementation of the UNIX 6th Edition shell MAKEFILE= makefile -post-install: - @${ECHO} "updating /etc/shells"; \ - ${TOUCH} /etc/shells; \ - ${CP} /etc/shells /etc/shells.bak; \ - (${GREP} -v '${PREFIX}/bin/osh' /etc/shells.bak || ${TRUE}; \ - ${ECHO} "${PREFIX}/bin/osh") > /etc/shells +PKG_SHELL= ${PREFIX}/bin/osh +.include "../../mk/bsd.pkg.install.mk" .include "../../mk/bsd.pkg.mk" diff --git a/shells/osh/PLIST b/shells/osh/PLIST index 1f69f65ba59..555970aefa2 100644 --- a/shells/osh/PLIST +++ b/shells/osh/PLIST @@ -1,9 +1,7 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2002/08/20 20:52:29 cjep Exp $ +@comment $NetBSD: PLIST,v 1.2 2002/11/17 09:02:01 salo Exp $ bin/goto bin/if bin/osh -@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 man/man1/goto.1 man/man1/if.1 man/man1/osh.1 |