2005-04-21 18:17:02 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.7 2005/04/21 22:17:02 naddy Exp $
|
2003-08-20 23:39:57 -04:00
|
|
|
|
|
|
|
COMMENT= "cooperative file distribution system implemented in Python"
|
2005-04-16 17:13:02 -04:00
|
|
|
DISTNAME= BitTorrent-4.0.1
|
2005-04-21 18:17:02 -04:00
|
|
|
PKGNAME= BitTorrent-4.0.1p1
|
2003-08-20 23:39:57 -04:00
|
|
|
CATEGORIES= net
|
2005-04-16 17:13:02 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}dl/
|
2003-08-20 23:39:57 -04:00
|
|
|
|
2005-04-16 17:13:02 -04:00
|
|
|
HOMEPAGE= http://www.bittorrent.com/
|
2003-08-20 23:39:57 -04:00
|
|
|
|
2005-04-16 17:13:02 -04:00
|
|
|
# Custom
|
2003-08-20 23:39:57 -04:00
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
|
2004-08-04 15:14:30 -04:00
|
|
|
MODULES= lang/python
|
2003-08-20 23:39:57 -04:00
|
|
|
|
2005-04-16 17:13:02 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
2003-08-20 23:39:57 -04:00
|
|
|
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
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|