aboutsummaryrefslogtreecommitdiffstats
path: root/shells/mksh/Makefile
blob: ddc686c96d8293931f3d92450eacba3d7e524ec1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Created by: Andreas Kohn <andreas@syndrom23.de>
# $FreeBSD$

PORTNAME=   mksh
DISTVERSION=    R50
CATEGORIES= shells
MASTER_SITES=   http://www.mirbsd.org/MirOS/dist/mir/mksh/ \
        http://pub.allbsd.org/MirOS/dist/mir/mksh/
DISTFILES=  ${PORTNAME}-${DISTVERSION}.tgz

MAINTAINER= miwi@FreeBSD.org
COMMENT=    MirBSD Korn Shell

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>