source: trunk/dports/net/wirouterkeyrec/Portfile @ 90942

Last change on this file since 90942 was 90942, checked in by dports@…, 8 years ago

wirouterkeyrec: new port, v1.1.1 (#30800)

  • 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 90942 2012-03-19 07:36:07Z dports@macports.org $
3
4PortSystem      1.0
5
6name            wirouterkeyrec
7version         1.1.1
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  d20d77c65b315039545a80c0856f3abb5cf67393 \
23                sha256  bce27453f02c02f20bdac7ce6ba31415511eea8cd3c25e718070c3103dde359b
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.