7d4be054f1
- Files now only get allocated as they're downloaded - Large torrents no longer hose the CPU - Better network utilization and more consistent download rates - Poorly seeded torrents get out faster - Several important bug fixes
34 lines
783 B
Makefile
34 lines
783 B
Makefile
# $OpenBSD: Makefile,v 1.2 2003/09/27 14:40:32 jolan Exp $
|
|
|
|
COMMENT= "cooperative file distribution system implemented in Python"
|
|
DISTNAME= BitTorrent-3.3
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${HOMEPAGE}
|
|
|
|
HOMEPAGE= http://bitconjurer.org/BitTorrent/
|
|
|
|
MAINTAINER= Jolan Luff <jolan@openbsd.org>
|
|
|
|
# MIT
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
MODULES= python
|
|
|
|
post-configure:
|
|
@perl -pi -e \
|
|
's,/usr/bin/env python,/usr/bin/env python${MODPY_VERSION},g' \
|
|
${WRKBUILD}/bt*.py
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/BitTorrent
|
|
${INSTALL_DATA} ${WRKSRC}/README.txt ${FILESDIR}/README.OpenBSD \
|
|
${PREFIX}/share/doc/BitTorrent
|
|
|
|
do-regress:
|
|
cd ${WRKBUILD} && ${MODPY_BIN} ./bttest.py
|
|
|
|
.include <bsd.port.mk>
|