2004-04-14 23:41:14 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.4 2004/04/15 03:41:14 jolan Exp $
|
2003-08-20 23:39:57 -04:00
|
|
|
|
|
|
|
COMMENT= "cooperative file distribution system implemented in Python"
|
2004-04-06 00:42:20 -04:00
|
|
|
DISTNAME= BitTorrent-3.4.2
|
2003-08-20 23:39:57 -04:00
|
|
|
CATEGORIES= net
|
2004-04-06 00:42:20 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bittorrent/}
|
2003-08-20 23:39:57 -04:00
|
|
|
|
|
|
|
HOMEPAGE= http://bitconjurer.org/BitTorrent/
|
|
|
|
|
|
|
|
# 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
|
2003-09-27 10:40:32 -04:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/README.txt ${FILESDIR}/README.OpenBSD \
|
2003-08-20 23:39:57 -04:00
|
|
|
${PREFIX}/share/doc/BitTorrent
|
|
|
|
|
|
|
|
do-regress:
|
|
|
|
cd ${WRKBUILD} && ${MODPY_BIN} ./bttest.py
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|