aboutsummaryrefslogtreecommitdiffstats
path: root/security/autossh/Makefile
blob: 4e077696c0f47319ad472a0174b7d4e0f42c2b6d (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
# New ports collection makefile for:    autossh
# Date created:             26 December 2002
# Whom:                     Yen-Ming Lee <leeym@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   autossh
PORTVERSION=    1.2d
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

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}

.include <bsd.port.mk>