Ticket #30800: Portfile

File Portfile, 1.3 KB (added by ranauei@…, 13 years ago)

Updated for latest release (1.1.0)

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$
3
4PortSystem 1.0
5
6name            wirouterkeyrec
7version         1.1.0
8categories      net
9maintainers     gmail.com:ranauei
10platforms       darwin
11license         GPL-3
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       md5     3cc3f97a4253994914768bc3a8e25d33 \
23                sha1    d4c4ec32477953b48bc44f48c4563cd5768ac310 \
24                rmd160  b37b39178eee911f73f1c4952b07a84b4bcadca9
25
26use_zip         yes
27
28patch {
29        reinplace "s|/etc|${prefix}/etc|g" ${worksrcpath}/src/agpf.h
30        reinplace "s|/etc|${prefix}/etc|g" ${worksrcpath}/src/teletu.h
31}
32
33build.target    ""
34
35destroot {
36        xinstall ${worksrcpath}/build/${name} ${destroot}${prefix}/bin
37        xinstall -d ${destroot}${prefix}/etc/${name}
38        xinstall -m 644 -W ${worksrcpath}/config agpf_config.lst teletu_config.lst ${destroot}${prefix}/etc/${name}
39}