diff options
author | pav <pav@FreeBSD.org> | 2004-02-01 14:26:54 +0000 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-02-01 14:26:54 +0000 |
commit | 91263a63198fea47faa206bbb2031f268c509f31 (patch) | |
tree | cb23a73e5ea7b59757e1c42871988304f64f06c4 /net/bnbt | |
parent | 25ab22b1afd1e32e5ec5a0a27e8c1446804cf955 (diff) | |
download | FreeBSD-ports-91263a63198fea47faa206bbb2031f268c509f31.zip FreeBSD-ports-91263a63198fea47faa206bbb2031f268c509f31.tar.gz |
Add bnbt, a BitTorrent Tracker in C++.
BNBT was written by Trevor Hogan. BNBT is a complete port of the original Python
BitTorrent tracker to C++ using the STL for data storage and basic network sockets
for network communication. BNBT is fast, efficient, customizable, easy to use,
powerful, and portable. BNBT is covered under the GNU Lesser General Public
License (LGPL).
I choose not to port the latest version of bnbt since some features have been removed.
PR: ports/62192
Submitted by: Florent Thoumie <flz@xbsd.org>
Diffstat (limited to 'net/bnbt')
-rw-r--r-- | net/bnbt/Makefile | 40 | ||||
-rw-r--r-- | net/bnbt/distinfo | 1 | ||||
-rw-r--r-- | net/bnbt/pkg-descr | 10 | ||||
-rw-r--r-- | net/bnbt/pkg-plist | 10 |
4 files changed, 61 insertions, 0 deletions
diff --git a/net/bnbt/Makefile b/net/bnbt/Makefile new file mode 100644 index 0000000..df9a71d --- /dev/null +++ b/net/bnbt/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: bnbt +# Date created: Jan 31 2004 +# Whom: Florent Thoumie <flz@xbsd.org> +# +# $FreeBSD$ +# + +PORTNAME= bnbt +PORTVERSION= 7.3b +CATEGORIES= net +MASTER_SITES= http://bnbt.go-dedicated.com/ +DISTNAME= ${PORTNAME}${PORTVERSION:S/.//} + +MAINTAINER= flz@xbsd.org +COMMENT= A C++ BitTorrent Tracker + +USE_ZIP= yes +WRKSRC= ${WRKDIR}/${PORTNAME}/src + +USE_GMAKE= yes +USE_REINPLACE= yes + +post-patch: + @${REINPLACE_CMD} -e 's|-O2 -w|${CFLAGS}| ; \ + s|LFLAGS = -pthread|LFLAGS = ${PTHREAD_LIBS}| ; \ + s|CFLAGS = -pthread|CFLAGS = ${PTHREAD_CFLAGS}|' ${WRKSRC}/Makefile + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/bnbt ${PREFIX}/bin + ${MKDIR} ${PREFIX}/share/bnbt + ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/footer.html ${PREFIX}/share/bnbt + ${INSTALL_DATA} ${WRKSRC}/formats.txt ${PREFIX}/share/bnbt + ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/header.html ${PREFIX}/share/bnbt + ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/lesser.txt ${PREFIX}/share/bnbt + ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/link.txt ${PREFIX}/share/bnbt + ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/readme.txt ${PREFIX}/share/bnbt + ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/stealers.txt ${PREFIX}/share/bnbt + ${INSTALL_DATA} ${WRKDIR}/${PORTNAME}/users.txt ${PREFIX}/share/bnbt + +.include <bsd.port.mk> diff --git a/net/bnbt/distinfo b/net/bnbt/distinfo new file mode 100644 index 0000000..ae2fdd9 --- /dev/null +++ b/net/bnbt/distinfo @@ -0,0 +1 @@ +MD5 (bnbt73b.zip) = 8881f42353ebb896e6aeb53e085cb1e6 diff --git a/net/bnbt/pkg-descr b/net/bnbt/pkg-descr new file mode 100644 index 0000000..d60672e --- /dev/null +++ b/net/bnbt/pkg-descr @@ -0,0 +1,10 @@ +BNBT was written by Trevor Hogan. BNBT is a complete port of the +original Python BitTorrent tracker to C++ using the STL for data storage +and basic network sockets for network communication. BNBT is fast, +efficient, customizable, easy to use, powerful, and portable. BNBT is +covered under the GNU Lesser General Public License (LGPL). + +WWW: http://bnbt.go-dedicated.com/ + +- Florent Thoumie +flz@xbsd.org diff --git a/net/bnbt/pkg-plist b/net/bnbt/pkg-plist new file mode 100644 index 0000000..e9651fd --- /dev/null +++ b/net/bnbt/pkg-plist @@ -0,0 +1,10 @@ +bin/bnbt +share/bnbt/footer.html +share/bnbt/formats.txt +share/bnbt/header.html +share/bnbt/lesser.txt +share/bnbt/link.txt +share/bnbt/readme.txt +share/bnbt/stealers.txt +share/bnbt/users.txt +@dirrm share/bnbt |