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

PORTNAME=   lshell
PORTVERSION=    0.9.16
CATEGORIES= shells
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    Shell environment to limited sets of commands to users

LICENSE=    GPLv3 # (or later)

USE_PYTHON= yes
USE_PYDISTUTILS=    yes

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>