From 2c3095453acf58da4feb2314318bc46e1ea1e870 Mon Sep 17 00:00:00 2001 From: agc Date: Fri, 24 Oct 1997 14:14:32 +0000 Subject: Initial import of FreeBSD's shells ports category into NetBSD package system. --- shells/zsh/Makefile | 36 ++++++++++++++++++++++++++++++++++++ shells/zsh/files/md5 | 1 + shells/zsh/patches/patch-aa | 19 +++++++++++++++++++ shells/zsh/patches/patch-ab | 21 +++++++++++++++++++++ shells/zsh/patches/patch-ac | 13 +++++++++++++ shells/zsh/pkg/COMMENT | 1 + shells/zsh/pkg/DESCR | 6 ++++++ shells/zsh/pkg/PLIST | 18 ++++++++++++++++++ 8 files changed, 115 insertions(+) create mode 100644 shells/zsh/Makefile create mode 100644 shells/zsh/files/md5 create mode 100644 shells/zsh/patches/patch-aa create mode 100644 shells/zsh/patches/patch-ab create mode 100644 shells/zsh/patches/patch-ac create mode 100644 shells/zsh/pkg/COMMENT create mode 100644 shells/zsh/pkg/DESCR create mode 100644 shells/zsh/pkg/PLIST (limited to 'shells/zsh') diff --git a/shells/zsh/Makefile b/shells/zsh/Makefile new file mode 100644 index 00000000000..5728aa2c664 --- /dev/null +++ b/shells/zsh/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: zsh +# Version required: 3.0.5 +# Date created: 11 Feb. 1995 +# Whom: torstenb +# +# FreeBSD Id: Makefile,v 1.26 1997/09/26 08:23:14 torstenb Exp +# + +DISTNAME= zsh-3.0.5 +PKGNAME= zsh-3.0.5 +CATEGORIES= shells +MASTER_SITES= ftp://ftp.math.gatech.edu/pub/zsh/ \ + ftp://ftp.sterling.com/zsh/ \ + ftp://ftp.rge.com/pub/zsh/ \ + ftp://ftp.cenatls.cena.dgac.fr/pub/shells/zsh/ \ + ftp://mrrl.lut.ac.uk/zsh/ \ + ftp://ftp.fu-berlin.de/pub/unix/shells/zsh/ \ + ftp://ftp.ips.oz.au/pub/packages/zsh/ \ + ftp://ftp.uit.no/pub/unix/shells/zsh/ + +MAINTAINER= torstenb@FreeBSD.ORG + +GNU_CONFIGURE= yes +MAN1= zsh.1 zshbuiltins.1 zshcompctl.1 zshexpn.1 zshmisc.1 \ + zshoptions.1 zshall.1 zshparam.1 zshzle.1 + +# If you want to build a static binary, uncomment the following line +#LDFLAGS+=-static + +post-install: + @if [ ! -f ${PREFIX}/info/dir ]; then \ + ${SED} -ne '1,/Menu:/p' /usr/share/info/dir > ${PREFIX}/info/dir; \ + fi + @install-info ${PREFIX}/info/zsh.info ${PREFIX}/info/dir + +.include diff --git a/shells/zsh/files/md5 b/shells/zsh/files/md5 new file mode 100644 index 00000000000..8cd98e52e4e --- /dev/null +++ b/shells/zsh/files/md5 @@ -0,0 +1 @@ +MD5 (zsh-3.0.5.tar.gz) = 7c3ce278a75ee8d05c5d0fc1821b2a7a diff --git a/shells/zsh/patches/patch-aa b/shells/zsh/patches/patch-aa new file mode 100644 index 00000000000..28109c3ca0d --- /dev/null +++ b/shells/zsh/patches/patch-aa @@ -0,0 +1,19 @@ +*** Src/Makefile.in.orig Tue Jul 9 11:00:39 1996 +--- Src/Makefile.in Tue Jul 9 11:00:46 1996 +*************** +*** 138,144 **** + # 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 + $(INSTALL_PROGRAM) zsh $(bindir)/zsh + -if [ -f $(bindir)/zsh-$(VERSION) ]; then rm -f $(bindir)/zsh-$(VERSION); fi + ln $(bindir)/zsh $(bindir)/zsh-$(VERSION) +--- 138,144 ---- + # install binary, creating install directory if necessary + install.bin: zsh + $(top_srcdir)/mkinstalldirs $(bindir) +! -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/zsh/patches/patch-ab b/shells/zsh/patches/patch-ab new file mode 100644 index 00000000000..c80f4c7f852 --- /dev/null +++ b/shells/zsh/patches/patch-ab @@ -0,0 +1,21 @@ +--- Doc/Makefile.in.orig Wed Dec 18 05:14:11 1996 ++++ Doc/Makefile.in Mon Jun 16 20:40:29 1997 +@@ -93,7 +93,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. ; } + +@@ -127,7 +128,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/zsh/patches/patch-ac b/shells/zsh/patches/patch-ac new file mode 100644 index 00000000000..20799ee0948 --- /dev/null +++ b/shells/zsh/patches/patch-ac @@ -0,0 +1,13 @@ +--- Doc/zsh.texi.orig Thu Dec 19 09:00:10 1996 ++++ Doc/zsh.texi Mon Jun 16 20:35:02 1997 +@@ -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 + + @setchapternewpage odd diff --git a/shells/zsh/pkg/COMMENT b/shells/zsh/pkg/COMMENT new file mode 100644 index 00000000000..c64b941259c --- /dev/null +++ b/shells/zsh/pkg/COMMENT @@ -0,0 +1 @@ +The Z shell. diff --git a/shells/zsh/pkg/DESCR b/shells/zsh/pkg/DESCR new file mode 100644 index 00000000000..8f4144f053e --- /dev/null +++ b/shells/zsh/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/zsh/pkg/PLIST b/shells/zsh/pkg/PLIST new file mode 100644 index 00000000000..9c5f1e29fa4 --- /dev/null +++ b/shells/zsh/pkg/PLIST @@ -0,0 +1,18 @@ +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/zsh-3.0.5 +@unexec install-info --delete %D/info/zsh.info %D/info/dir +info/zsh.info +@exec [ -f %D/info/dir ] || sed -ne '1,/Menu:/p' /usr/share/info/dir > %D/info/dir +@exec install-info %D/info/zsh.info %D/info/dir +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 -- cgit v1.2.3