diff options
author | jtb <jtb> | 2001-06-05 16:30:14 +0000 |
---|---|---|
committer | jtb <jtb> | 2001-06-05 16:30:14 +0000 |
commit | 6af741811216a6c07663cdfe29fec49afbdfcfb9 (patch) | |
tree | 164d235cd442f05bbf2acec3804fc2039b7f21a7 /shells/zsh3 | |
parent | 8de0239c599c9610b89fd0d69e93c08d41f4bac0 (diff) | |
download | pkgsrc-6af741811216a6c07663cdfe29fec49afbdfcfb9.tar.gz |
Moved former zsh to zsh3 for those who want to continue using the
old stable version.
Diffstat (limited to 'shells/zsh3')
-rw-r--r-- | shells/zsh3/Makefile | 29 | ||||
-rw-r--r-- | shells/zsh3/distinfo | 8 | ||||
-rw-r--r-- | shells/zsh3/patches/patch-aa | 13 | ||||
-rw-r--r-- | shells/zsh3/patches/patch-ab | 23 | ||||
-rw-r--r-- | shells/zsh3/patches/patch-ac | 15 | ||||
-rw-r--r-- | shells/zsh3/patches/patch-ad | 13 | ||||
-rw-r--r-- | shells/zsh3/pkg/DESCR | 6 | ||||
-rw-r--r-- | shells/zsh3/pkg/PLIST | 17 |
8 files changed, 124 insertions, 0 deletions
diff --git a/shells/zsh3/Makefile b/shells/zsh3/Makefile new file mode 100644 index 00000000000..037bafdb061 --- /dev/null +++ b/shells/zsh3/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1.1.1 2001/06/05 16:30:14 jtb Exp $ + +DISTNAME= zsh-3.0.8 +CATEGORIES= shells +MASTER_SITES= ftp://ftp.rge.com/pub/shells/zsh/old/ \ + ftp://sunsite.auc.dk/pub/unix/shells/zsh/old/ \ + ftp://ftp.uit.no/pub/unix/shells/zsh/old/ \ + ftp://ftp.net.lut.ac.uk/zsh/old/ \ + ftp://ftp.zsh.org/zsh/old/ + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://sunsite.dk/zsh/ +COMMENT= The Z shell + +GNU_CONFIGURE= yes +INFO_FILES= zsh.info + +.include "../../mk/bsd.prefs.mk" + +.if defined(ZSH_STATIC) +LDFLAGS+= -static +.endif + +post-install: + ${CP} /etc/shells /etc/shells.bak + (${GREP} -v ${PREFIX}/bin/zsh /etc/shells.bak; ${ECHO} ${PREFIX}/bin/zsh) >/etc/shells + ${RM} /etc/shells.bak + +.include "../../mk/bsd.pkg.mk" diff --git a/shells/zsh3/distinfo b/shells/zsh3/distinfo new file mode 100644 index 00000000000..8fbd3663e0c --- /dev/null +++ b/shells/zsh3/distinfo @@ -0,0 +1,8 @@ +$NetBSD: distinfo,v 1.1.1.1 2001/06/05 16:30:14 jtb Exp $ + +SHA1 (zsh-3.0.8.tar.gz) = d5d07abdd9c0f063c79d19de9482f7517016b54d +Size (zsh-3.0.8.tar.gz) = 657979 bytes +SHA1 (patch-aa) = 7209d74d6a7535e41d8db1d1109a6039b9bb3e0e +SHA1 (patch-ab) = be8e64c07903177c1912ef52798d2c3dafcc2520 +SHA1 (patch-ac) = 2d80828a22ee0414c93442cfdbf2e08817afb8bb +SHA1 (patch-ad) = 613fcaaa117aa38ff2e41eddaad5947bd5e0190d diff --git a/shells/zsh3/patches/patch-aa b/shells/zsh3/patches/patch-aa new file mode 100644 index 00000000000..60c969dd2cd --- /dev/null +++ b/shells/zsh3/patches/patch-aa @@ -0,0 +1,13 @@ +$NetBSD: patch-aa,v 1.1.1.1 2001/06/05 16:30:14 jtb Exp $ + +--- Src/Makefile.in.orig Thu Jan 6 15:39:29 2000 ++++ Src/Makefile.in Thu Jan 6 15:40:03 2000 +@@ -148,7 +148,7 @@ + # install binary, creating install directory if necessary + install.bin: zsh + $(top_srcdir)/mkinstalldirs $(bindir) +- -if [ -f $(bindir)/zsh ]; then mv $(bindir)/zsh $(bindir)/zsh.old; fi ++ -if [ -f $(bindir)/zsh ]; then mv -f $(bindir)/zsh $(bindir)/zsh.old; fi + $(INSTALL_PROGRAM) zsh $(bindir)/zsh + -if [ -f $(bindir)/zsh-$(VERSION) ]; then rm -f $(bindir)/zsh-$(VERSION); fi + ln $(bindir)/zsh $(bindir)/zsh-$(VERSION) diff --git a/shells/zsh3/patches/patch-ab b/shells/zsh3/patches/patch-ab new file mode 100644 index 00000000000..6431e9bc0ce --- /dev/null +++ b/shells/zsh3/patches/patch-ab @@ -0,0 +1,23 @@ +$NetBSD: patch-ab,v 1.1.1.1 2001/06/05 16:30:14 jtb Exp $ + +--- Doc/Makefile.in.orig Thu Jan 6 15:40:23 2000 ++++ Doc/Makefile.in Thu Jan 6 15:42:03 2000 +@@ -91,7 +91,8 @@ + everything: all zsh_us.ps zsh_a4.ps zsh_toc.html + + zsh.info: zsh.texi +- @$(MAKEINFO) -I$(srcdir) $(srcdir)/zsh.texi || { \ ++ @rm -f zsh.info* ++ @$(MAKEINFO) --no-split -I$(srcdir) $(srcdir)/zsh.texi || { \ + echo Info documentation cannot be compiled without $(MAKEINFO). ; \ + echo You can find precompiled info files in zsh-doc.tar.gz. ; } + +@@ -125,7 +126,7 @@ + # install info pages, creating install directory if necessary + install.info: zsh.info + $(top_srcdir)/mkinstalldirs $(infodir) +- for file in zsh.info zsh.info-[1-9]*; do \ ++ for file in zsh.info*; do \ + [ -f "$$file" ] && $(INSTALL_DATA) $$file $(infodir) ; \ + done + diff --git a/shells/zsh3/patches/patch-ac b/shells/zsh3/patches/patch-ac new file mode 100644 index 00000000000..be56cf3146d --- /dev/null +++ b/shells/zsh3/patches/patch-ac @@ -0,0 +1,15 @@ +$NetBSD: patch-ac,v 1.1.1.1 2001/06/05 16:30:14 jtb Exp $ + +--- Doc/zsh.texi.orig Thu Jan 6 15:44:41 2000 ++++ Doc/zsh.texi Thu Jan 6 15:45:48 2000 +@@ -2,6 +2,10 @@ + @c %**start of header + @setfilename zsh.info + @settitle zsh ++@dircategory Shells ++@direntry ++* Zsh: (zsh). The Z shell. ++@end direntry + @c %**end of header + + @ifinfo diff --git a/shells/zsh3/patches/patch-ad b/shells/zsh3/patches/patch-ad new file mode 100644 index 00000000000..98f7a78d7b9 --- /dev/null +++ b/shells/zsh3/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1.1.1 2001/06/05 16:30:14 jtb Exp $ + +--- Makefile.in.orig Thu Jan 6 15:45:59 2000 ++++ Makefile.in Thu Jan 6 15:46:16 2000 +@@ -50,7 +50,7 @@ + CPPFLAGS = @CPPFLAGS@ + DEFS = @DEFS@ + CFLAGS = @CFLAGS@ +-LDFLAGS = @LDFLAGS@ ++LDFLAGS = @LDFLAGS@ -s + LIBS = @LIBS@ + + # ========== YOU SHOULDN'T HAVE TO CHANGE ANYTHING BELOW HERE ========== diff --git a/shells/zsh3/pkg/DESCR b/shells/zsh3/pkg/DESCR new file mode 100644 index 00000000000..8f4144f053e --- /dev/null +++ b/shells/zsh3/pkg/DESCR @@ -0,0 +1,6 @@ +Zsh is a UNIX command interpreter (shell) which of the standard shells +most resembles the Korn shell (ksh), although it is not completely +compatible. It includes enhancements of many types, notably in the +command-line editor, options for customising its behaviour, filename +globbing, features to make C-shell (csh) users feel more at home and +extra features drawn from tcsh (another `custom' shell). diff --git a/shells/zsh3/pkg/PLIST b/shells/zsh3/pkg/PLIST new file mode 100644 index 00000000000..feb70c493ca --- /dev/null +++ b/shells/zsh3/pkg/PLIST @@ -0,0 +1,17 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2001/06/05 16:30:15 jtb Exp $ +bin/zsh +@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 +bin/${PKGNAME} +@unexec install-info --delete %D/info/zsh.info %D/info/dir +info/zsh.info +@exec install-info %D/info/zsh.info %D/info/dir +man/man1/zshcompctl.1.gz +man/man1/zshexpn.1.gz +man/man1/zshmisc.1.gz +man/man1/zshoptions.1.gz +man/man1/zshall.1.gz +man/man1/zshzle.1.gz +man/man1/zsh.1.gz +man/man1/zshbuiltins.1.gz +man/man1/zshparam.1.gz |