mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
7e0ddfdd51
Changelog: https://www.mirbsd.org/mksh.htm#clog
29 lines
733 B
Makefile
29 lines
733 B
Makefile
# Created by: Andreas Kohn <andreas@syndrom23.de>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= mksh
|
|
PORTVERSION= 52c
|
|
DISTVERSIONPREFIX= R
|
|
CATEGORIES= shells
|
|
MASTER_SITES= http://www.mirbsd.org/MirOS/dist/mir/mksh/ \
|
|
http://pub.allbsd.org/MirOS/dist/mir/mksh/
|
|
|
|
MAINTAINER= olivierd@FreeBSD.org
|
|
COMMENT= MirBSD Korn Shell
|
|
|
|
USES= tar:tgz
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
OPTIONS_DEFINE= EXAMPLES
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} SHELL=${SH} ${SH} ${WRKSRC}/Build.sh -r -c lto
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mksh ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/mksh.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/dot.mkshrc ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
.include <bsd.port.mk>
|