403e3f73b8
The distfile is no longer found at: http://www.funtoo.org/archive/keychain/keychain-2.8.5.tar.bz2 As mentioned in WWW, the distfile can be found on GitHub. > The latest release of Keychain can be found on the keychain GitHub release page. While here, switch WWW to https and changed to nice-look URL. PR: 245808 Submitted by: meta (myself) Reviewed by: daniel.engberg.lists@pyret.net Approved by: garga (maintainer)
41 lines
897 B
Makefile
41 lines
897 B
Makefile
# Created by: Johann Visagie <wjv@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
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
|
|
|
|
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>
|