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

PORTNAME=   lshell
PORTVERSION=    0.9.18.20160916
CATEGORIES= shells

MAINTAINER= dam@my.gd
COMMENT=    Shell environment to limited sets of commands to users

LICENSE=    GPLv3+

GH_ACCOUNT= ghantoos
GH_PROJECT= lshell
GH_TAGNAME= 279d7ab

NO_ARCH=    yes
USES=       python:2.7
USE_GITHUB= yes
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>