opnsense-ports/security/fsh/Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

29 lines
612 B
Makefile

# Created by: sumikawa
# $FreeBSD$
PORTNAME= fsh
PORTVERSION= 1.2
PORTREVISION= 3
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
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>