1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/security/autossh/Makefile
2005-01-11 11:43:02 +00:00

32 lines
853 B
Makefile

# New ports collection makefile for: autossh
# Date created: 26 December 2002
# Whom: Yen-Ming Lee <leeym@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= autossh
PORTVERSION= 1.2g
CATEGORIES= security
MASTER_SITES= http://www.harding.motd.ca/autossh/
EXTRACT_SUFX= .tgz
MAINTAINER= leeym@FreeBSD.org
COMMENT= Automatically restart SSH sessions and tunnels
MAKEFILE= Makefile.bsd
USE_REINPLACE= yes
PORTDOCS= CHANGES README
MAN1= autossh.1
post-patch:
@${REINPLACE_CMD} -e 's,cp autossh.1 ,$$\{BSD_INSTALL_MAN\} autossh.1 ,g' ${WRKSRC}/${MAKEFILE}
@${REINPLACE_CMD} -e 's,cp autossh ,$$\{BSD_INSTALL_PROGRAM\} autossh ,g' ${WRKSRC}/${MAKEFILE}
@${REINPLACE_CMD} -e 's,cp ,$$\{BSD_INSTALL_DATA\} ,g' ${WRKSRC}/${MAKEFILE}
.if defined(NOPORTDOCS)
@${REINPLACE_CMD} -Ee 's,(.*doc.*),#\1,g' ${WRKSRC}/${MAKEFILE}
.endif
.include <bsd.port.mk>