# -*- 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 PortGroup qt4 1.0 name bitdht version 0.2 set date 2010-10-31 categories net maintainers snc openmaintainer license LGPL-3 description general purpose C++ Distributed Hash Table library long_description ${name} is an LGPL'd ${description}. It is designed to \ take hassle out over creating your own DHT. BitDHT is \ compatible with bittorrent's DHT and can leverage this \ network to bootstrap your own personal DHT. homepage http://bitdht.sourceforge.net/ platforms darwin master_sites sourceforge:project/bitdht/source distname ${name}-v${version}-src-${date} extract.suffix .tgz checksums rmd160 b6abe39f5daa0c9f6053bf02edab6e0cce0b2f88 \ sha256 c57b295b71511d2e931af26220cff79cdacad42dac7e56656c77792cb59d35ca worksrcdir ${name}-v${version} patchfiles patch-libbitdht.pro.diff post-patch { reinplace s|@@CC@@|${configure.cc}| ${worksrcpath}/libbitdht.pro } configure { system -W "${worksrcpath}" "${qt_qmake_cmd} QMAKE_CC=${configure.cc}" } destroot { eval xinstall [glob ${worksrcpath}/lib/libbitdht*.dylib] ${destroot}${prefix}/lib } livecheck.type regex livecheck.url http://sourceforge.net/projects/bitdht/files livecheck.regex Download ${name}-v(\\d+(\\.\\d+)+)