source: trunk/dports/sysutils/keychain/Portfile

Last change on this file was 142811, checked in by khindenburg@…, 20 months ago

keychain: update to 2.8.2 and fix PATH reinplace

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 142811 2015-11-24 03:00:19Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            keychain
7version         2.8.2
8categories      sysutils security
9license         GPL-2
10platforms       darwin freebsd
11supported_archs noarch
12maintainers     khindenburg openmaintainer
13description     A user-friendly front-end to ssh-agent(1)
14
15long_description \
16    Keychain is a shell script which acts as user-friendly front-end to \
17    ssh-agent(1), allowing you to have one long-running ssh-agent \
18    process per system rather than per login session.
19
20homepage        http://www.funtoo.org/Keychain
21use_bzip2       yes
22master_sites    http://www.funtoo.org/archive/keychain
23
24checksums       rmd160  76f27996fa8a9f905844d69b9cfef8c4d03f0488 \
25                sha256  74895832297616a1a951e81a56603f2fc6e5449576411f8b122a5cc933ae3301
26
27# Patch keychain's path to pick up any MacPorts binaries, such as
28# ssh-agent.
29post-patch {
30    reinplace \
31        -E "s#PATH:-/usr/bin:#PATH:-${prefix}/bin:/usr/bin:#" \
32        ${worksrcpath}/keychain
33}
34
35use_configure   no
36build.cmd       true
37
38destroot {
39    xinstall -m 755 ${worksrcpath}/keychain ${destroot}${prefix}/bin
40    xinstall -m 444 ${worksrcpath}/keychain.1 ${destroot}${prefix}/share/man/man1
41}
42
43livecheck.type  regex
44livecheck.url   ${homepage}
45livecheck.regex keychain-(\\d+(\\.\\d+)*).tar.bz2
Note: See TracBrowser for help on using the repository browser.