From c87dc5a4c3da49f01850467f7788258c3a8b041e Mon Sep 17 00:00:00 2001 From: uebayasi Date: Fri, 4 Oct 2002 02:19:13 +0000 Subject: Initial import of ast-ksh-20020922, "The Korn Shell". KSH-93 is the most recent version of the KornShell Language described in "The KornShell Command and Programming Language," by Morris Bolsky and David Korn of AT&T Bell Laboratories. The KornShell is a shell programming language, which is upward compatible with "sh" (the Bourne Shell), and is intended to conform to the IEEE P1003.2/ISO 9945.2 Shell and Utilities standard. KSH-93 provides an enhanced programming environment in addition to the major command-entry features of the BSD shell "csh". With KSH-93, medium-sized programming tasks can be performed at shell-level without a significant loss in performance. In addition, "sh" scripts can be run on KSH-93 without modification. --- shells/ast-ksh/DESCR | 11 +++++++++++ shells/ast-ksh/Makefile | 38 ++++++++++++++++++++++++++++++++++++++ shells/ast-ksh/PLIST | 4 ++++ shells/ast-ksh/distinfo | 6 ++++++ 4 files changed, 59 insertions(+) create mode 100644 shells/ast-ksh/DESCR create mode 100644 shells/ast-ksh/Makefile create mode 100644 shells/ast-ksh/PLIST create mode 100644 shells/ast-ksh/distinfo (limited to 'shells') diff --git a/shells/ast-ksh/DESCR b/shells/ast-ksh/DESCR new file mode 100644 index 00000000000..9daad3daf52 --- /dev/null +++ b/shells/ast-ksh/DESCR @@ -0,0 +1,11 @@ +KSH-93 is the most recent version of the KornShell Language described +in "The KornShell Command and Programming Language," by Morris +Bolsky and David Korn of AT&T Bell Laboratories. The KornShell is +a shell programming language, which is upward compatible with "sh" +(the Bourne Shell), and is intended to conform to the IEEE P1003.2/ISO +9945.2 Shell and Utilities standard. KSH-93 provides an enhanced +programming environment in addition to the major command-entry +features of the BSD shell "csh". With KSH-93, medium-sized programming +tasks can be performed at shell-level without a significant loss +in performance. In addition, "sh" scripts can be run on KSH-93 +without modification. diff --git a/shells/ast-ksh/Makefile b/shells/ast-ksh/Makefile new file mode 100644 index 00000000000..f145e6efea8 --- /dev/null +++ b/shells/ast-ksh/Makefile @@ -0,0 +1,38 @@ +# $OpenBSD: Makefile,v 1.5 2001/11/21 01:17:43 naddy Exp $ +# $NetBSD: Makefile,v 1.1.1.1 2002/10/04 02:19:13 uebayasi Exp $ + +DISTNAME= ast-ksh-${ASTKSH_VERSION} +PKGNAME= ast-ksh-${ASTKSH_VERSION:S/-//g} +CATEGORIES= shells +MASTER_SITES= http://www.research.att.com/~gsf/download/tgz/ +DISTFILES= INIT.${ASTKSH_VERSION}.tgz ast-ksh.${ASTKSH_VERSION}.tgz + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://www.kornshell.com/ +COMMENT= "official AT&T release of KornShell 93" + +RESTRICTED= "Terms for redistribution are not yet clear." +NO_BIN_ON_CDROM=${RESTRICTED} +NO_BIN_ON_FTP= ${RESTRICTED} +NO_SRC_ON_CDROM=${RESTRICTED} +NO_SRC_ON_FTP= ${RESTRICTED} + +ONLY_FOR_PLATFORM= NetBSD-*-i386 + +ASTKSH_VERSION= 2002-09-22 + +WRKSRC= ${WRKDIR} +MAKE_FLAGS= CC='${CC}' CCFLAGS='${CFLAGS}' + +do-build: + cd ${WRKSRC}; \ + ${SETENV} SHELL=${SH} ${SH} ./bin/package ${MAKE_PROGRAM} ${MAKE_FLAGS} + +do-install: + arch=`${WRKSRC}/bin/package host`; \ + ${INSTALL_PROGRAM} ${WRKSRC}/arch/$${arch}/bin/ksh \ + ${PREFIX}/bin/ksh93; \ + ${INSTALL_MAN} ${WRKSRC}/arch/$${arch}/man/man1/sh.1 \ + ${PREFIX}/man/man1/ksh93.1 + +.include "../../mk/bsd.pkg.mk" diff --git a/shells/ast-ksh/PLIST b/shells/ast-ksh/PLIST new file mode 100644 index 00000000000..8f2e2d5be86 --- /dev/null +++ b/shells/ast-ksh/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/10/04 02:19:13 uebayasi Exp $ +@comment $OpenBSD: PLIST,v 1.1.1.1 2001/07/12 19:17:24 naddy Exp $ +bin/ksh93 +man/man1/ksh93.1 diff --git a/shells/ast-ksh/distinfo b/shells/ast-ksh/distinfo new file mode 100644 index 00000000000..0fd02e67307 --- /dev/null +++ b/shells/ast-ksh/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/10/04 02:19:13 uebayasi Exp $ + +SHA1 (INIT.2002-09-22.tgz) = be7187287d6c92bc79062c88aad1c676e7caade8 +Size (INIT.2002-09-22.tgz) = 238145 bytes +SHA1 (ast-ksh.2002-09-22.tgz) = 2adfcb0cd2138adced699cfd0e26e8681aa52ad6 +Size (ast-ksh.2002-09-22.tgz) = 1370988 bytes -- cgit v1.2.3