summaryrefslogtreecommitdiff
path: root/shells/zsh
diff options
context:
space:
mode:
authoragc <agc>1997-10-24 14:14:32 +0000
committeragc <agc>1997-10-24 14:14:32 +0000
commit2c3095453acf58da4feb2314318bc46e1ea1e870 (patch)
tree17704e85e052efa5bb5d390c0f0114e40811e48f /shells/zsh
parentaee9f64757ffde63947a1dbbe5bc0e8da26b7c6e (diff)
downloadpkgsrc-2c3095453acf58da4feb2314318bc46e1ea1e870.tar.gz
Initial import of FreeBSD's shells ports category into NetBSD package
system.
Diffstat (limited to 'shells/zsh')
-rw-r--r--shells/zsh/Makefile36
-rw-r--r--shells/zsh/files/md51
-rw-r--r--shells/zsh/patches/patch-aa19
-rw-r--r--shells/zsh/patches/patch-ab21
-rw-r--r--shells/zsh/patches/patch-ac13
-rw-r--r--shells/zsh/pkg/COMMENT1
-rw-r--r--shells/zsh/pkg/DESCR6
-rw-r--r--shells/zsh/pkg/PLIST18
8 files changed, 115 insertions, 0 deletions
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 <bsd.port.mk>
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