summaryrefslogtreecommitdiff
path: root/shells/pdksh
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2002-11-28 07:12:09 +0000
committerschmonz <schmonz@pkgsrc.org>2002-11-28 07:12:09 +0000
commit36d5ea530428bc302a2cad3abe0df3c6fe3c1234 (patch)
treefe2215e70da17165e7310b1f7a4ffd31bd46bb09 /shells/pdksh
parent382a1008cdf33b483c34ddac894495127709e865 (diff)
downloadpkgsrc-36d5ea530428bc302a2cad3abe0df3c6fe3c1234.tar.gz
Import pdksh-5.2.14 into the NetBSD Packages Collection.
PD-ksh is a mostly complete AT&T ksh look-alike. Work is mostly finished to make it fully compatible with both POSIX and AT&T ksh (when the two don't conflict). Since pdksh is free and compiles and runs on most common unix systems, it is very useful in creating a consistent user interface across multiple machines.
Diffstat (limited to 'shells/pdksh')
-rw-r--r--shells/pdksh/DESCR5
-rw-r--r--shells/pdksh/Makefile18
-rw-r--r--shells/pdksh/PLIST3
-rw-r--r--shells/pdksh/distinfo5
-rw-r--r--shells/pdksh/patches/patch-aa17
5 files changed, 48 insertions, 0 deletions
diff --git a/shells/pdksh/DESCR b/shells/pdksh/DESCR
new file mode 100644
index 00000000000..230bab61a4c
--- /dev/null
+++ b/shells/pdksh/DESCR
@@ -0,0 +1,5 @@
+PD-ksh is a mostly complete AT&T ksh look-alike. Work is mostly
+finished to make it fully compatible with both POSIX and AT&T ksh
+(when the two don't conflict). Since pdksh is free and compiles
+and runs on most common unix systems, it is very useful in creating
+a consistent user interface across multiple machines.
diff --git a/shells/pdksh/Makefile b/shells/pdksh/Makefile
new file mode 100644
index 00000000000..84897057a16
--- /dev/null
+++ b/shells/pdksh/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/11/28 07:12:09 schmonz Exp $
+#
+
+DISTNAME= pdksh-5.2.14
+CATEGORIES= shells
+MASTER_SITES= ftp://ftp.cs.mun.ca/pub/pdksh/
+
+MAINTAINER= schmonz@netbsd.org
+HOMEPAGE= http://web.cs.mun.ca/~michael/pdksh/
+COMMENT= Free clone of the AT&T Korn shell
+
+USE_BUILDLINK2= YES
+GNU_CONFIGURE= YES
+
+PKG_SHELL= ${PREFIX}/bin/ksh
+
+.include "../../mk/bsd.pkg.install.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/shells/pdksh/PLIST b/shells/pdksh/PLIST
new file mode 100644
index 00000000000..48e81bf5689
--- /dev/null
+++ b/shells/pdksh/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/11/28 07:12:09 schmonz Exp $
+bin/ksh
+man/man1/ksh.1
diff --git a/shells/pdksh/distinfo b/shells/pdksh/distinfo
new file mode 100644
index 00000000000..e71954f8a49
--- /dev/null
+++ b/shells/pdksh/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/11/28 07:12:09 schmonz Exp $
+
+SHA1 (pdksh-5.2.14.tar.gz) = 8b022e45de7691ef330f13b0981f0cff30b4047d
+Size (pdksh-5.2.14.tar.gz) = 480107 bytes
+SHA1 (patch-aa) = 19cbe1ae50ee63549019c55c3eafb2bf138c401e
diff --git a/shells/pdksh/patches/patch-aa b/shells/pdksh/patches/patch-aa
new file mode 100644
index 00000000000..11358396873
--- /dev/null
+++ b/shells/pdksh/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/11/28 07:12:09 schmonz Exp $
+
+--- Makefile.in.orig Tue Jul 13 13:06:53 1999
++++ Makefile.in
+@@ -82,12 +82,6 @@ all: $(SHELL_PROG)$(exe_suffix) $(SHELL_
+ install: installdirs all
+ $(INSTALL_PROGRAM) $(SHELL_PROG)$(exe_suffix) $(bindir)/`echo $(SHELL_PROG)|sed '$(transform)'`$(exe_suffix)
+ -$(INSTALL_DATA) $(SHELL_PROG).1 $(mandir)/`echo $(SHELL_PROG)|sed '$(transform)'`.$(manext)
+- -@prog=$(bindir)/`echo $(SHELL_PROG)|sed '$(transform)'`$(exe_suffix);\
+- test -f /etc/shells \
+- && (grep "^$$prog\$$" /etc/shells > /dev/null \
+- || echo \
+-"NOTE: /etc/shells does not contain $$prog \
+- you should add it if you want to set your shell to $(SHELL_PROG)")
+
+ installdirs:
+ $(srcdir)/mkinstalldirs $(bindir) $(mandir)