1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/security/keychain/Makefile
2018-06-09 20:53:46 +00:00

41 lines
943 B
Makefile

# Created by: Johann Visagie <wjv@FreeBSD.org>
# $FreeBSD$
PORTNAME= keychain
PORTVERSION= 2.8.5
CATEGORIES= security
MASTER_SITES= http://www.funtoo.org/archive/keychain/ \
GENTOO
MAINTAINER= garga@FreeBSD.org
COMMENT= User-friendly front-end to ssh-agent(1)
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING.txt
USES= tar:bzip2
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>