de3cc74398
Submitted by: sf
30 lines
625 B
Makefile
30 lines
625 B
Makefile
# New ports collection makefile for: fsh
|
|
# Date created: Thu Jan 24 03:37:54 JST 2002
|
|
# Whom: sumikawa
|
|
#
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= fsh
|
|
PORTVERSION= 1.2
|
|
PORTREVISION= 3
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.lysator.liu.se/fsh/
|
|
|
|
MAINTAINER= sumikawa@FreeBSD.org
|
|
COMMENT= Fast remote command execution
|
|
|
|
USE_PYTHON= yes
|
|
USE_REINPLACE= yes
|
|
GNU_CONFIGURE= yes
|
|
|
|
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 ${PREFIX}/share/fsh
|
|
|
|
.include <bsd.port.mk>
|