mksh: add dot.mkshrc and remove lksh

This commit is contained in:
Ypnose 2014-01-04 13:23:38 +01:00
parent dbc832583b
commit 4756725cd5
2 changed files with 12 additions and 11 deletions

View file

@ -95,14 +95,15 @@ libbsd package. The files are not compiled into the resulting binary
if their respective functionality is already provided.
The following files belong to mksh in a less close way, as they pro-
vide additional functionality less closely coupled or not always de-
sired. These are not included in the mksh distfile:
The following files belong to mksh in a less close way, as the files
provide additional functionality less closely coupled, or not always
desired. These are not included in the mksh distfile:
- source code
* src/usr.bin/printf/printf.c (slightly modified UCB printf utili-
ty code - for the optional, undesired printf(1) builtin)
*DO NOT* INCLUDE printf AS A SHELL BUILT-IN UNLESS YOU ABSOLUTE-
LY MUST (otherwise, the preferrable /usr/bin/printf is called)
* src/usr.bin/printf/printf.c (UCB printf(1) utility that has been
slightly modified, for the optional, undesired printf builtin)
*DO NOT* INCLUDE printf AS A SHELL BUILT-IN UNLESS IT ABSOLUTELY
IS REQUIRED (or else the preferable /usr/bin/printf gets called)
The printf.c file is covered by the UCB three-clause BSD licence, as
shown in Appendix B below.
@ -242,4 +243,4 @@ possible, the text shown above is to be included.
__________________________________________________________________
$MirOS: www/files/TaC-mksh.txt,v 1.17 2013/08/12 18:38:29 tg Exp $
$MirOS: www/files/TaC-mksh.txt,v 1.18 2013/09/10 16:12:59 tg Exp $

View file

@ -1,7 +1,7 @@
# Template file for 'mksh'
pkgname=mksh
version=R48b
revision=2
revision=3
wrksrc=mksh
register_shell="/bin/mksh"
short_desc="The MirBSD Korn Shell"
@ -12,12 +12,12 @@ distfiles="https://www.mirbsd.org/MirOS/dist/mir/mksh/$pkgname-$version.tgz"
checksum="e67686187ba6dfbf99b7f6b5f841dfb5cd9f980504f8b631d7d3bfd98d345792"
do_build() {
sh ./Build.sh
sh ./Build.sh -r -c lto
}
do_install() {
vinstall mksh 755 usr/bin
vinstall mksh.1 644 usr/share/man/man1
vinstall lksh.1 644 usr/share/man/man1
vinstall dot.mkshrc 644 usr/share/doc/$pkgname/examples
vinstall ${FILESDIR}/TaC-mksh.txt 644 usr/share/licenses/$pkgname
}