freebsd-ports/shells/lshell/Makefile
John Marino 8e3046c88a shells/lshell: Fix immediate exit after first command
Without this fix, using lshell is impractical as the shell exits after
the first command is executed.

PR:		208003
Submitted by:	Ignace Mouzannar
2016-08-19 04:23:33 +00:00

29 lines
597 B
Makefile

# Created by: Sylvio Cesar <scjamorim@bsd.com.br>
# $FreeBSD$
PORTNAME= lshell
PORTVERSION= 0.9.16
PORTREVISION= 2
CATEGORIES= shells
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Shell environment to limited sets of commands to users
LICENSE= GPLv3+
USES= python
USE_PYTHON= distutils
post-patch:
@${REINPLACE_CMD} -e \
"s|(.*lshell.conf.*),|| ; \
s|/etc|etc| ; \
s|share/man|man| ; \
s|'COPYING',||" ${WRKSRC}/setup.py
post-install:
(cd ${WRKSRC}/etc && ${INSTALL_DATA} ${PORTNAME}.conf \
${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample)
.include <bsd.port.mk>