openbsd-ports/net/BitTorrent/Makefile

45 lines
1.0 KiB
Makefile
Raw Normal View History

2005-11-20 12:46:53 -05:00
# $OpenBSD: Makefile,v 1.15 2005/11/20 17:46:53 naddy Exp $
COMMENT= "cooperative file distribution system implemented in Python"
COMMENT-gui= "graphical interface components for BitTorrent"
2005-11-20 12:46:53 -05:00
VERSION= 4.1.8
DISTNAME= BitTorrent-${VERSION}
PKGNAME-gui= BitTorrent-gui-${VERSION}
CATEGORIES= net
HOMEPAGE= http://www.bittorrent.com/
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# Custom
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bittorrent/}
2004-08-04 15:14:30 -04:00
MODULES= lang/python
BUILD_DEPENDS= ::devel/gettext
MULTI_PACKAGES= -gui
SUBPACKAGE?=
.if !empty(SUBPACKAGE)
RUN_DEPENDS= :${PKGNAME}:net/BitTorrent \
::x11/py-gtk2 ::x11/hicolor-icon-theme
.endif
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>