aboutsummaryrefslogtreecommitdiffstats
path: root/security/keychain/Makefile
blob: be2ee3f874b64811f009c25999dc33d612a09573 (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
# New ports collection makefile for:    keychain
# Date created:     10 September 2001
# Whom:             Johann Visagie <wjv@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   keychain
PORTVERSION=    2.6.1
CATEGORIES= security
MASTER_SITES=   http://dev.gentoo.org/~agriffis/keychain/

MAINTAINER= olive@oban.frmug.org
COMMENT=    A user-friendly front-end to ssh-agent(1)

USE_BZIP2=  yes
NO_BUILD=   yes

MAN1=       keychain.1

PLIST_FILES=    bin/keychain

.if !defined(NOPORTDOCS)
PORTDOCS=   ChangeLog README
.endif

.if !exists(${LOCALBASE}/bin/ssh-agent) && !exists(/usr/bin/ssh-agent)
RUN_DEPENDS+=   ssh-agent:${PORTSDIR}/security/openssh-portable
.endif

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/keychain ${PREFIX}/bin
    ${INSTALL_MAN} ${WRKSRC}/keychain.1 ${PREFIX}/man/man1
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>