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. if their respective functionality is already provided.
The following files belong to mksh in a less close way, as they pro- The following files belong to mksh in a less close way, as the files
vide additional functionality less closely coupled or not always de- provide additional functionality less closely coupled, or not always
sired. These are not included in the mksh distfile: desired. These are not included in the mksh distfile:
- source code - source code
* src/usr.bin/printf/printf.c (slightly modified UCB printf utili- * src/usr.bin/printf/printf.c (UCB printf(1) utility that has been
ty code - for the optional, undesired printf(1) builtin) slightly modified, for the optional, undesired printf builtin)
*DO NOT* INCLUDE printf AS A SHELL BUILT-IN UNLESS YOU ABSOLUTE-
LY MUST (otherwise, the preferrable /usr/bin/printf is called) *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 The printf.c file is covered by the UCB three-clause BSD licence, as
shown in Appendix B below. 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' # Template file for 'mksh'
pkgname=mksh pkgname=mksh
version=R48b version=R48b
revision=2 revision=3
wrksrc=mksh wrksrc=mksh
register_shell="/bin/mksh" register_shell="/bin/mksh"
short_desc="The MirBSD Korn Shell" short_desc="The MirBSD Korn Shell"
@ -12,12 +12,12 @@ distfiles="https://www.mirbsd.org/MirOS/dist/mir/mksh/$pkgname-$version.tgz"
checksum="e67686187ba6dfbf99b7f6b5f841dfb5cd9f980504f8b631d7d3bfd98d345792" checksum="e67686187ba6dfbf99b7f6b5f841dfb5cd9f980504f8b631d7d3bfd98d345792"
do_build() { do_build() {
sh ./Build.sh sh ./Build.sh -r -c lto
} }
do_install() { do_install() {
vinstall mksh 755 usr/bin vinstall mksh 755 usr/bin
vinstall mksh.1 644 usr/share/man/man1 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 vinstall ${FILESDIR}/TaC-mksh.txt 644 usr/share/licenses/$pkgname
} }