openbsd-ports/net/BitTorrent/Makefile

40 lines
957 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.35 2011/06/08 18:00:49 jasper Exp $
COMMENT-main= cooperative file distribution system implemented in Python
COMMENT-gui= graphical interface components for BitTorrent
VERSION= 4.4.0
DISTNAME= BitTorrent-${VERSION}
PKGNAME-main= ${DISTNAME}
PKGNAME-gui= BitTorrent-gui-${VERSION}
CATEGORIES= net
REVISION-main= 10
REVISION-gui= 9
HOMEPAGE= http://www.bittorrent.com/
# Custom
PERMIT_DISTFILES_CDROM= may not sell without modification
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= may not sell without modification
PERMIT_PACKAGE_FTP= Yes
MASTER_SITES= http://download.bittorrent.com/dl/
2006-11-22 16:58:24 -05:00
MULTI_PACKAGES= -main -gui
2004-08-04 15:14:30 -04:00
MODULES= lang/python
2010-11-19 17:31:32 -05:00
BUILD_DEPENDS= devel/gettext
2010-11-19 17:31:32 -05:00
RUN_DEPENDS-gui=${PKGNAME-main}:net/BitTorrent \
x11/py-gtk2>=2.6
NO_REGRESS= Yes
post-configure:
@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
.include <bsd.port.mk>