openbsd-ports/net/BitTorrent/Makefile

41 lines
1.0 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.25 2006/11/28 19:13:57 naddy Exp $
2006-11-22 16:58:24 -05:00
COMMENT-main= "cooperative file distribution system implemented in Python"
COMMENT-gui= "graphical interface components for BitTorrent"
VERSION= 4.4.0
DISTNAME= BitTorrent-${VERSION}
2006-11-22 16:58:24 -05:00
PKGNAME-main= ${DISTNAME}p3
PKGNAME-gui= BitTorrent-gui-${VERSION}p3
CATEGORIES= net
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
BUILD_DEPENDS= ::devel/gettext
RUN_DEPENDS-gui=:${PKGNAME-main}:net/BitTorrent \
:py-gtk2->=2.6:x11/py-gtk2
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
post-install:
${INSTALL_DATA} ${FILESDIR}/README.OpenBSD \
${PREFIX}/share/doc/BitTorrent
.include <bsd.port.mk>