aboutsummaryrefslogtreecommitdiffstats
path: root/security/fsh/Makefile
blob: 2e5f42b7ee06df3c67ed824656c03892506be3dd (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: sumikawa
# $FreeBSD$

PORTNAME=   fsh
PORTVERSION=    1.2
PORTREVISION=   4
CATEGORIES= security
MASTER_SITES=   http://www.lysator.liu.se/fsh/ \
        http://mirror2.unixfreunde.de/ \
        http://freebsd.unixfreunde.de/sources/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Fast remote command execution

USES=       python:2.7
GNU_CONFIGURE=  yes

INFO=   fsh

post-patch:
    ${REINPLACE_CMD} -e '/^[^#]/s/FCNTL/fcntl/g' ${WRKSRC}/fshcompat.py

post-build:
    ${PYTHON_CMD} -c 'import py_compile; py_compile.main()' ${WRKSRC}/*.py

post-install:
    ${INSTALL_DATA} ${WRKSRC}/*.pyc ${STAGEDIR}${PREFIX}/share/fsh

.include <bsd.port.mk>