pkgsrc/shells/mksh/Makefile
bsiegert a1869944de Update mksh to 56c.
R56c is a bugfix-only release everyone must upgrade to:

- [komh] Remove redundant OS/2-specific code, clean up others
- [komh, tg] Fix drive-qualified (absolute and relative) DOS-style path support
  in realpath functionality, partially other places
- [tg] Don't substitute ${ENV:-~/.mkshrc} result again
- [tg] Improve OS/2 $PATH (et al.) handling, drive-relative paths
- [tg] Add MKSH_ENVDIR compile-time option for Jehanne and Plan 9
- [tg] Limit nesting when parsing malformed code (Debian #878947)
- [tg] Update wcwidth data with bugfixed script (still Unicode 10; resulting
  values are identical to glibc git master for extant chars)
- [Dr. Werner Fink] Raise some time limits in the testsuite
- [Shamar] Add support for the Jehanne operating system
- [komh] Set stdin to text mode before executing child processes on OS/2
- [komh] Pass arguments via a resonse file if executing a child fails
- [Dr. Werner Fink] Early locale tracking as a compile-time option
- [tg] Fix regressions introduced with new fast character classes
2018-01-21 13:04:05 +00:00

40 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.37 2018/01/21 13:04:05 bsiegert Exp $
DISTNAME= mksh-R56c
PKGNAME= ${DISTNAME:S/-R/-/}
CATEGORIES= shells
MASTER_SITES= http://www.mirbsd.org/MirOS/dist/mir/mksh/
MASTER_SITES+= http://pub.allbsd.org/MirOS/dist/mir/mksh/
SITES.${DISTNAME}.cat1.gz= ${MASTER_SITES:S/dist/cats/}
EXTRACT_SUFX= .tgz
MAINTAINER= ahoka@NetBSD.org
HOMEPAGE= http://mirbsd.de/mksh
COMMENT= MirBSD Korn Shell
LICENSE= miros
WRKSRC= ${WRKDIR}/mksh
WRKBUILD?= ${WRKSRC}
PKG_SHELL= bin/mksh
LIBS.Interix+= -lcrypt
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/examples/mksh
do-build:
cd ${WRKBUILD} && ${SETENV} ${MAKE_ENV} LIBS=${LIBS:Q} \
${TOOLS_SHELL} ${WRKSRC}/Build.sh -r
do-install:
${INSTALL_PROGRAM} ${WRKBUILD}/mksh ${DESTDIR}${PREFIX}/bin/mksh
${INSTALL_MAN} ${WRKSRC}/mksh.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
${INSTALL_DATA} ${WRKSRC}/dot.mkshrc ${DESTDIR}${PREFIX}/share/examples/mksh/
# Uncomment this if you want to run the regression tests
#USE_TOOLS+= perl
#do-test:
# ${WRKBUILD}/test.sh -v
.include "../../mk/bsd.pkg.mk"