aboutsummaryrefslogtreecommitdiffstats
path: root/shells/lshell/Makefile
blob: b62e000092b2eac481756cbda6f473899f262c3d (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
28
29
# Created by: Sylvio Cesar <scjamorim@bsd.com.br>
# $FreeBSD$

PORTNAME=   lshell
PORTVERSION=    0.9.16
PORTREVISION=   1
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>