source: trunk/dports/net/wirouterkeyrec/Portfile

Last change on this file was 131371, checked in by ryandesign@…, 3 years ago

wirouterkeyrec: update to 1.1.2 (#46463; maintainer)

  • 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 131371 2015-01-10 16:12:42Z ryandesign@macports.org $
3
4PortSystem      1.0
5
6name            wirouterkeyrec
7version         1.1.2
8categories      net
9maintainers     gmail.com:ranauei
10platforms       darwin
11license         GPL-2+
12description     Recover the default WPA passphrases of the supported router models
13long_description \
14    WiRouter KeyRec is a powerful and platform independent software \
15    to recover the default WPA passphrases of the supported router \
16    models (Telecom Italia Alice AGPF, Fastweb Pirelli, Fastweb Tesley, \
17    Eircom Netopia, Pirelli TeleTu/Tele 2).
18homepage        http://www.salvatorefresta.net
19distname        WiRouter_KeyRec_${version}
20master_sites    http://tools.salvatorefresta.net/
21
22checksums       rmd160  4a0040ffee261b54dc09967754f551dee8a7731a \
23                sha256  3e59138f35502b32b47bd91fe18c0c232921c08d32525a2ae3c14daec09058d4
24
25use_zip         yes
26
27patch {
28        reinplace "s|/etc|${prefix}/etc|g" ${worksrcpath}/src/agpf.h
29        reinplace "s|/etc|${prefix}/etc|g" ${worksrcpath}/src/teletu.h
30}
31
32variant universal   {}
33build.args-append   CC="${configure.cc} [get_canonical_archflags cc]"
34build.target        ""
35
36destroot {
37        xinstall ${worksrcpath}/build/${name} ${destroot}${prefix}/bin
38        xinstall -d ${destroot}${prefix}/etc/${name}
39        xinstall -m 644 -W ${worksrcpath}/config agpf_config.lst teletu_config.lst ${destroot}${prefix}/etc/${name}
40}
Note: See TracBrowser for help on using the repository browser.