2010-11-09 14:46:52 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.32 2010/11/09 19:46:52 jasper Exp $
|
2003-08-20 23:39:57 -04:00
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT-main= cooperative file distribution system implemented in Python
|
|
|
|
COMMENT-gui= graphical interface components for BitTorrent
|
2005-05-15 10:58:08 -04:00
|
|
|
|
2006-05-08 09:46:48 -04:00
|
|
|
VERSION= 4.4.0
|
2005-05-15 10:58:08 -04:00
|
|
|
DISTNAME= BitTorrent-${VERSION}
|
2010-11-09 14:46:52 -05:00
|
|
|
REVISION= 8
|
2010-07-12 18:07:37 -04:00
|
|
|
PKGNAME-main= ${DISTNAME}
|
|
|
|
PKGNAME-gui= BitTorrent-gui-${VERSION}
|
2003-08-20 23:39:57 -04:00
|
|
|
CATEGORIES= net
|
|
|
|
|
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
|
2007-09-15 18:36:51 -04:00
|
|
|
PERMIT_DISTFILES_CDROM= may not sell without modification
|
2003-08-20 23:39:57 -04:00
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2007-09-15 18:36:51 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= may not sell without modification
|
2003-08-20 23:39:57 -04:00
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
|
2006-11-07 09:09:56 -05:00
|
|
|
MASTER_SITES= http://download.bittorrent.com/dl/
|
2005-05-15 10:58:08 -04:00
|
|
|
|
2006-11-22 16:58:24 -05:00
|
|
|
MULTI_PACKAGES= -main -gui
|
|
|
|
|
2004-08-04 15:14:30 -04:00
|
|
|
MODULES= lang/python
|
2005-11-05 20:06:07 -05:00
|
|
|
BUILD_DEPENDS= ::devel/gettext
|
2003-08-20 23:39:57 -04:00
|
|
|
|
2006-11-28 14:13:57 -05:00
|
|
|
RUN_DEPENDS-gui=:${PKGNAME-main}:net/BitTorrent \
|
2006-05-08 09:46:48 -04:00
|
|
|
:py-gtk2->=2.6:x11/py-gtk2
|
2005-04-16 17:13:02 -04:00
|
|
|
|
2005-05-15 10:58:08 -04:00
|
|
|
NO_REGRESS= Yes
|
2005-05-03 05:47:59 -04:00
|
|
|
|
2003-08-20 23:39:57 -04:00
|
|
|
post-configure:
|
2005-10-18 10:12:35 -04:00
|
|
|
@perl -pi -e 's,/usr/bin/env python,${MODPY_BIN},g' ${WRKBUILD}/*.py
|
2005-11-20 12:46:53 -05:00
|
|
|
@perl -pi -e 's,python,${MODPY_BIN},' ${WRKSRC}/makei18n.sh
|
2003-08-20 23:39:57 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|