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/zsh3 | |
parent | 41c2b7b35024f4a7c8d3bcad86ea6bf9066da781 (diff) | |
download | pkgsrc-061594fade6adaf9dc1c8d2c5ccb63b0ab40f3ca.tar.gz |
Convert packages to PKG_REGISTER_SHELLS framework.
Diffstat (limited to 'shells/zsh3')
-rw-r--r-- | shells/zsh3/Makefile | 9 | ||||
-rw-r--r-- | shells/zsh3/PLIST | 4 |
2 files changed, 4 insertions, 9 deletions
diff --git a/shells/zsh3/Makefile b/shells/zsh3/Makefile index a64d4e57dbe..175575a71e1 100644 --- a/shells/zsh3/Makefile +++ b/shells/zsh3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.3 2002/02/18 15:14:40 seb Exp $ +# $NetBSD: Makefile,v 1.4 2002/11/17 09:02:02 salo Exp $ DISTNAME= zsh-3.0.8 CATEGORIES= shells @@ -22,11 +22,8 @@ TEXINFO_OVERRIDE= YES LDFLAGS+= -static .endif -post-install: - ${TOUCH} /etc/shells - ${CP} /etc/shells /etc/shells.bak - (${GREP} -v ${PREFIX}/bin/zsh /etc/shells.bak || ${TRUE}; ${ECHO} ${PREFIX}/bin/zsh) >/etc/shells - ${RM} /etc/shells.bak +PKG_SHELL= ${PREFIX}/bin/zsh +.include "../../mk/bsd.pkg.install.mk" .include "../../mk/texinfo.mk" .include "../../mk/bsd.pkg.mk" diff --git a/shells/zsh3/PLIST b/shells/zsh3/PLIST index 89b72ba52af..a39698b2466 100644 --- a/shells/zsh3/PLIST +++ b/shells/zsh3/PLIST @@ -1,7 +1,5 @@ -@comment $NetBSD: PLIST,v 1.2 2002/02/18 15:14:40 seb Exp $ +@comment $NetBSD: PLIST,v 1.3 2002/11/17 09:02:02 salo Exp $ bin/zsh -@exec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak || true; echo %D/%F) >/etc/shells -@unexec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak || true) >/etc/shells bin/${PKGNAME} @unexec ${INSTALL_INFO} --delete %D/info/zsh.info %D/info/dir info/zsh.info |