diff options
author | pav <pav@FreeBSD.org> | 2004-02-01 22:26:54 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-02-01 22:26:54 +0800 |
commit | 91263a63198fea47faa206bbb2031f268c509f31 (patch) | |
tree | cb23a73e5ea7b59757e1c42871988304f64f06c4 /net-p2p/bnbt/Makefile | |
parent | 25ab22b1afd1e32e5ec5a0a27e8c1446804cf955 (diff) | |
download | freebsd-ports-gnome-91263a63198fea47faa206bbb2031f268c509f31.tar.gz freebsd-ports-gnome-91263a63198fea47faa206bbb2031f268c509f31.tar.zst freebsd-ports-gnome-91263a63198fea47faa206bbb2031f268c509f31.zip |
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-p2p/bnbt/Makefile')
-rw-r--r-- | net-p2p/bnbt/Makefile | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/net-p2p/bnbt/Makefile b/net-p2p/bnbt/Makefile new file mode 100644 index 000000000000..df9a71dd2232 --- /dev/null +++ b/net-p2p/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> |