freebsd-ports/shells/mksh/Makefile
Emanuel Haupt f61f2728b6 This fixes /etc/shells. Due to the incorrect order of pkg-plist prior to
exec/unexec the path to the manpage was written to /etc/shells.
2014-01-21 08:54:06 +00:00

30 lines
794 B
Makefile

# Created by: Andreas Kohn <andreas@syndrom23.de>
# $FreeBSD$
PORTNAME= mksh
DISTVERSION= R49
PORTREVISION= 1
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}
.include <bsd.port.options.mk>
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
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/dot.mkshrc ${STAGEDIR}${EXAMPLESDIR}
.endif
.include <bsd.port.mk>