31 lines
704 B
Makefile
31 lines
704 B
Makefile
# $OpenBSD: Makefile,v 1.6 2005/04/16 21:13:02 sturm Exp $
|
|
|
|
COMMENT= "cooperative file distribution system implemented in Python"
|
|
DISTNAME= BitTorrent-4.0.1
|
|
CATEGORIES= net
|
|
MASTER_SITES= ${HOMEPAGE}dl/
|
|
|
|
HOMEPAGE= http://www.bittorrent.com/
|
|
|
|
# Custom
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
MODULES= lang/python
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
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
|
|
|
|
.include <bsd.port.mk>
|