# -*- 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 # $Id$ PortSystem 1.0 name wirouterkeyrec version 1.1.1 categories net maintainers gmail.com:ranauei platforms darwin license GPL-2+ description Recover the default WPA passphrases of the supported router models long_description \ WiRouter KeyRec is a powerful and platform independent software \ to recover the default WPA passphrases of the supported router \ models (Telecom Italia Alice AGPF, Fastweb Pirelli, Fastweb Tesley, \ Eircom Netopia, Pirelli TeleTu/Tele 2). homepage http://www.salvatorefresta.net distname WiRouter_KeyRec_${version} master_sites http://tools.salvatorefresta.net/ checksums rmd160 d20d77c65b315039545a80c0856f3abb5cf67393 \ sha256 bce27453f02c02f20bdac7ce6ba31415511eea8cd3c25e718070c3103dde359b use_zip yes patch { reinplace "s|/etc|${prefix}/etc|g" ${worksrcpath}/src/agpf.h reinplace "s|/etc|${prefix}/etc|g" ${worksrcpath}/src/teletu.h } variant universal {} build.args-append CC="${configure.cc} [get_canonical_archflags cc]" build.target "" destroot { xinstall ${worksrcpath}/build/${name} ${destroot}${prefix}/bin xinstall -d ${destroot}${prefix}/etc/${name} xinstall -m 644 -W ${worksrcpath}/config agpf_config.lst teletu_config.lst ${destroot}${prefix}/etc/${name} }