blob: 04e1739f6bf83edae17083de911c4082d7d8727c (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Created by: Johann Visagie <wjv@FreeBSD.org>
PORTNAME= keychain
PORTVERSION= 2.8.5
CATEGORIES= security
MAINTAINER= garga@FreeBSD.org
COMMENT= User-friendly front-end to ssh-agent(1)
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING.txt
USE_GITHUB= yes
GH_ACCOUNT= funtoo
CONFLICTS_INSTALL= py*-pycoin # bin/keychain
OPTIONS_DEFINE= DOCS
NO_BUILD= yes
PLIST_FILES= bin/${PORTNAME} \
man/man1/keychain.1.gz
PORTDOCS= ChangeLog README.md
.if !exists(${LOCALBASE}/bin/ssh-agent) && !exists(/usr/bin/ssh-agent)
RUN_DEPENDS+= ssh-agent:security/openssh-portable
.endif
post-patch:
@${REINPLACE_CMD} -e '1 s,^.*,#!/bin/sh,' \
${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/keychain.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|