description C++ BitTorrent tracker
BNBT is a complete port of the original Python \
BitTorrent tracker to C++ for speed and \
efficiency. BNBT also offers many additional \
features beyond the original Python BitTorrent \
tracker, plus it's easy to use and customizable.
homepage http://bnbt.depthstrike.com/
regsub -all "r" ${version} "%20Release%20" uversion
master_sites sourceforge:project/bnbt/bnbt/Beta%20${uversion}
regsub -all "\\." ${version} "" dversion
regsub -all "r" ${dversion} "b-" dversion
distname ${name}${dversion}-sf
checksums md5 2935ffe0f51090a79d5bd76566af3b2b
reinplace "s|\r||g" ${worksrcpath}/src/Makefile
patchfiles patch-Makefile patch-src__bnbt.h
reinplace "s|@CXX@|${configure.cxx}|g" ${worksrcpath}/src/Makefile
build.dir ${worksrcpath}/src
xinstall ${worksrcpath}/src/bnbt ${destroot}${prefix}/bin
file mkdir ${destroot}${prefix}/share/doc
file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/bnbt