aboutsummaryrefslogtreecommitdiff
path: root/security/ssh-multiadd/Makefile
blob: 9bbdfc484178385d541e088b59475c5493b2f3de (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

USE_PYTHON_RUN=	yes
NO_BUILD=	yes
MAN1=		ssh-multiadd.1
PLIST_FILES=	bin/ssh-multiadd

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

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

.include <bsd.port.mk>