# $Id: Portfile 49765 2009-04-17 17:36:02Z alakazam@macports.org $

PortSystem      1.0

name            keychain
version         2.6.8
categories      sysutils security
platforms       darwin freebsd
maintainers     alakazam
description     A user-friendly front-end to ssh-agent(1)

long_description \
    Keychain is a shell script which acts as user-friendly front-end to \
    ssh-agent(1), allowing you to have one long-running ssh-agent \
    process per system rather than per login session.

homepage        http://www.gentoo.org/proj/en/keychain/
use_bzip2       yes
master_sites    http://agriffis.n01se.net/keychain/ \
                http://gentoo.osuosl.org/distfiles/

checksums       md5 2a23b311e438ecebed5639b568738d28

use_configure   no
build           {}

destroot {
    xinstall -m 555 ${worksrcpath}/keychain ${destroot}${prefix}/bin
    xinstall -m 444 ${worksrcpath}/keychain.1 ${destroot}${prefix}/share/man/man1
}

livecheck.check regex
livecheck.url   http://agriffis.n01se.net/keychain/
livecheck.regex href="keychain-(\\d+(\\.\\d+)*).tar.bz2"
