# This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # ./openksh/ # ./openksh/distinfo # ./openksh/pkg-descr # ./openksh/pkg-plist # ./openksh/Makefile # echo c - ./openksh/ mkdir -p ./openksh/ > /dev/null 2>&1 echo x - ./openksh/distinfo sed 's/^X//' >./openksh/distinfo << 'dfa81af0a4aef2aff2f6cecfc2ce5f06' XMD5 (openksh-4.7p1.tar.gz) = 93ca483ae1fa8d3bf3e58ec19140c0d8 XSHA256 (openksh-4.7p1.tar.gz) = 53287254e72659b3e32f96d2757f182c2ac80333cb511a185e2c791f80d934e6 XSIZE (openksh-4.7p1.tar.gz) = 450328 dfa81af0a4aef2aff2f6cecfc2ce5f06 echo x - ./openksh/pkg-descr sed 's/^X//' >./openksh/pkg-descr << 'a12b45eaaa8f81344e1361d33df82463' XOpenKSH is the OpenBSD Korn shell. It is based on the Public Domain XKorn Shell (pdksh) which is in turn a work-a-like of the AT&T Korn shell. XOpenKSH's main advantage over the standard pdksh is it is still actively Xmaintained today. X XOpenKSH is in no way affiliated with or endorsed by the OpenBSD project. XIt's existance started simply because I wanted an actively maintained Korn Xshell. a12b45eaaa8f81344e1361d33df82463 echo x - ./openksh/pkg-plist sed 's/^X//' >./openksh/pkg-plist << 'fe64ed76c1a680ae28b6790b2e8c411b' Xbin/ksh Xbin/rksh X@exec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak; echo %D/%F) >/etc/shells X@unexec echo "updating /etc/shells"; cp /etc/shells /etc/shells.bak; (grep -v %D/%F /etc/shells.bak) >/etc/shells fe64ed76c1a680ae28b6790b2e8c411b echo x - ./openksh/Makefile sed 's/^X//' >./openksh/Makefile << 'b1bb9ba23a3b54788f6c4d7f202f7892' X# New ports collection makefile for: openksh X# Date created: 2005-08-27 X# Whom: Tom McLaughlin X# X# $FreeBSD$ X# X XPORTNAME= openksh XPORTVERSION= 4.7.p1 XCATEGORIES= shells XMASTER_SITES= http://people.freebsd.org/~tmclaugh/files/openksh/ XDISTNAME= ${PORTNAME}-${PORTVERSION:S/.p/p/} X XMAINTAINER= tmclaugh@FreeBSD.org XCOMMENT= The OpenBSD pdksh X XCONFLICTS= pdksh-[0-9]* X XMAN1= ksh.1 XMLINKS= ksh.1 rksh.1 X XOPTIONS= STATIC "Build statically linked shell" Off X X.include X X.if defined(WITH_STATIC) XMAKE_ENV+= NO_SHARED=yes X.endif X Xpost-patch: X @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ X ${WRKSRC}/Makefile X Xdo-install: X @${INSTALL_PROGRAM} ${WRKSRC}/ksh ${PREFIX}/bin X @${LN} -s ${PREFIX}/bin/ksh ${PREFIX}/bin/rksh X @${INSTALL_MAN} ${WRKSRC}/ksh.1 ${PREFIX}/man/man1/ X Xpost-install: X @${ECHO} "Updating /etc/shells" X @${CP} /etc/shells /etc/shells.bak X @(${GREP} -v ${PREFIX}/bin/ksh /etc/shells.bak; \ X ${ECHO_CMD} ${PREFIX}/bin/ksh) > /etc/shells X @${RM} /etc/shells.bak X X.include b1bb9ba23a3b54788f6c4d7f202f7892 exit