pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/shells/mksh Import mksh. From Thorsten Glaser in priva...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7f7ff7e9c3fc
branches:  trunk
changeset: 518629:7f7ff7e9c3fc
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Fri Sep 15 13:00:37 2006 +0000

description:
Import mksh. From Thorsten Glaser in private mail.
>From DESCR:
mksh is the MirBSD enhanced version of the Public Domain Korn
shell (pdksh), a bourne-compatible shell which is largely si-
milar to the original AT&T Korn shell.  It includes bug fixes
and feature improvements in order to produce a modern, robust
shell good for interactive and especially script use.

diffstat:

 shells/mksh/DESCR    |   5 +++++
 shells/mksh/Makefile |  52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 shells/mksh/PLIST    |   5 +++++
 shells/mksh/distinfo |   5 +++++
 4 files changed, 67 insertions(+), 0 deletions(-)

diffs (83 lines):

diff -r 6f29e27e6222 -r 7f7ff7e9c3fc shells/mksh/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/mksh/DESCR Fri Sep 15 13:00:37 2006 +0000
@@ -0,0 +1,5 @@
+mksh is the MirBSD enhanced version of the Public Domain Korn
+shell (pdksh), a bourne-compatible shell which is largely si-
+milar to the original AT&T Korn shell.  It includes bug fixes
+and feature improvements in order to produce a modern, robust
+shell good for interactive and especially script use.
diff -r 6f29e27e6222 -r 7f7ff7e9c3fc shells/mksh/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/mksh/Makefile      Fri Sep 15 13:00:37 2006 +0000
@@ -0,0 +1,52 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/09/15 13:00:37 joerg Exp $
+
+DISTNAME=                      mksh-R28
+PKGNAME=                       mksh-28
+CATEGORIES=                    shells
+MASTER_SITES=                  http://www.mirbsd.org/MirOS/dist/mir/mksh/
+EXTRACT_SUFX=                  .cpio.gz
+
+MAINTAINER=                    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=                      http://mirbsd.de/mksh
+COMMENT=                       MirBSD Korn Shell
+
+WRKSRC=                                ${WRKDIR}/mksh
+WRKBUILD?=                     ${WRKSRC}
+
+PKG_INSTALLATION_TYPES=                pkgviews overwrite
+PKG_SHELL=                     bin/mksh
+
+.include "../../mk/bsd.prefs.mk"
+
+PKG_OPTIONS_VAR=               PKG_OPTIONS.mksh
+PKG_SUPPORTED_OPTIONS=         static
+PKG_SUGGESTED_OPTIONS=         static
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mstatic)
+LDFLAGS+=                      -static
+.endif
+
+LIBS+=                         ${LDADD}
+.if ${OPSYS} == "Interix"
+LIBS+=                         -lcrypt
+.endif
+
+INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1 share/examples/mksh
+
+do-build:
+       cd ${WRKBUILD} && LIBS=${LIBS:Q} CC=${CC:Q} CFLAGS=${CFLAGS:Q} \
+           CPPFLAGS=${CPPFLAGS:Q} LDFLAGS=${LDFLAGS:Q} \
+           ${TOOLS_SHELL} ${WRKSRC}/Build.sh ${BUILD_PARMS}
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKBUILD}/mksh ${PREFIX}/bin/mksh
+       ${INSTALL_MAN} ${WRKSRC}/mksh.1 ${PREFIX}/${PKGMANDIR}/man1
+       ${INSTALL_DATA} ${WRKSRC}/dot.mkshrc ${PREFIX}/share/examples/mksh
+
+#USE_TOOLS+=                   ed:test perl:test
+#do-test:
+#      ${WRKBUILD}/test.sh -v
+
+.include "../../mk/bsd.pkg.mk"
diff -r 6f29e27e6222 -r 7f7ff7e9c3fc shells/mksh/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/mksh/PLIST Fri Sep 15 13:00:37 2006 +0000
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/09/15 13:00:37 joerg Exp $
+bin/mksh
+man/man1/mksh.1
+share/examples/mksh/dot.mkshrc
+@dirrm share/examples/mksh
diff -r 6f29e27e6222 -r 7f7ff7e9c3fc shells/mksh/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/shells/mksh/distinfo      Fri Sep 15 13:00:37 2006 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/09/15 13:00:37 joerg Exp $
+
+SHA1 (mksh-R28.cpio.gz) = 857c03be697434e36cc1663f2d1657c1eff3ae6c
+RMD160 (mksh-R28.cpio.gz) = 511926e621b73be23e0ae48fe1c09c2e1bfa7500
+Size (mksh-R28.cpio.gz) = 230291 bytes



Home | Main Index | Thread Index | Old Index