pkgsrc/security/keychain/Makefile
2017-04-25 12:16:47 +00:00

33 lines
870 B
Makefile

# $NetBSD: Makefile,v 1.36 2017/04/25 12:16:47 jperkin Exp $
DISTNAME= keychain-2.8.3
PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.funtoo.org/archive/keychain/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.funtoo.org/Keychain
COMMENT= Nice ssh-agent front-end
LICENSE= gnu-gpl-v2
.if !exists(/usr/bin/ssh-agent)
DEPENDS+= openssh-[0-9]*:../../security/openssh
.endif
USE_TOOLS+= bash:run
NO_BUILD= yes
# Uses the "local" keyword which is not supported by ksh.
REPLACE_BASH+= keychain
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/${PKGBASE}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/keychain ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/keychain.1 \
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
${INSTALL_DATA} ${WRKSRC}/README.md \
${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
.include "../../mk/bsd.pkg.mk"