aboutsummaryrefslogtreecommitdiffstats
path: root/security/ssh-multiadd/Makefile
blob: 5429ef605ae3822e6f1f0f217f222ca3fb4b8716 (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
# Created by: Pete Fritchman <petef@databits.net>
# $FreeBSD$

PORTNAME=   ssh-multiadd
PORTVERSION=    1.3.2
CATEGORIES= security
MASTER_SITES=   SUNSITE/system/network/telnet

MAINTAINER= ports@FreeBSD.org
COMMENT=    Tool to add multiple ssh keys to the authentication agent

USES=       python:run
NO_BUILD=   yes

PLIST_FILES=    bin/ssh-multiadd man/man1/ssh-multiadd.1.gz

post-patch:
    @${REINPLACE_CMD} -e \
        's|/usr/bin/python2|${PYTHON_CMD}| ; \
        s|#break|break|' ${WRKSRC}/ssh-multiadd

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/ssh-multiadd ${STAGEDIR}${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/ssh-multiadd.1 ${STAGEDIR}${MANPREFIX}/man/man1

.include <bsd.port.mk>