summaryrefslogtreecommitdiffstats
path: root/shells/lshell/Makefile
blob: a1c29f8c0650a1c98e1388b9ff09a76053fdc1df (plain)
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
34
35
36
# Created by: Sylvio Cesar <scjamorim@bsd.com.br>
# $FreeBSD$

PORTNAME=	lshell
PORTVERSION=	0.9.18.20160916
CATEGORIES=	shells
DISTNAME=	${PORTNAME}_0.9.18

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

WRKSRC=		${WRKDIR}/${PORTNAME}-${GH_TAGNAME}

NO_ARCH=	yes
USES=		python
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>
OpenPOWER on IntegriCloud