1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00
freebsd-ports/security/keychain/Makefile
2012-08-03 18:39:20 +00:00

47 lines
1008 B
Makefile

# New ports collection makefile for: keychain
# Date created: 10 September 2001
# Whom: Johann Visagie <wjv@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= keychain
PORTVERSION= 2.7.1
CATEGORIES= security
MASTER_SITES= http://www.funtoo.org/archive/keychain/ \
${MASTER_SITE_GENTOO}
MASTER_SITE_SUBDIR= distfiles
MAINTAINER= garga@FreeBSD.org
COMMENT= A user-friendly front-end to ssh-agent(1)
OPTIONS_DEFINE= DOCS
USE_BZIP2= yes
USE_GMAKE= yes
USE_PERL5_BUILD= yes
MAN1= keychain.1
PLIST_FILES= bin/keychain
PORTDOCS= ChangeLog README.rst
.include <bsd.port.pre.mk>
.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/keychain
${INSTALL_MAN} ${WRKSRC}/keychain.1 ${PREFIX}/man/man1
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.post.mk>