summaryrefslogtreecommitdiffstats
path: root/net-p2p/qtorrent/Makefile
blob: f6d8fcb0a2fc1c39902461b888b4146f4181ad29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# New ports collection makefile for:	qtorrent
# Date created:		2004-03-31
# Whom:			michael johnson <ahze@ahze.net>
#
# $FreeBSD$
#

PORTNAME=	qtorrent
PORTVERSION=	0.9.6.1
PORTREVISION=	2
CATEGORIES=	net python
MASTER_SITES=	http://thegraveyard.org/files/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	BitTorrent client that uses the Qt widget-set

BUILD_DEPENDS=	pyuic:${PORTSDIR}/x11-toolkits/py-qt
RUN_DEPENDS=	pyuic:${PORTSDIR}/x11-toolkits/py-qt

USE_BZIP2=	yes
USE_PYTHON=	yes
USE_PYDISTUTILS=yes

pre-everything::
	@${ECHO_MSG} "===>"
	@${ECHO_MSG} "===> For qtorrent to work you need to compile"
	@${ECHO_MSG} "===> python WITH_THREADS defined, it is default"
	@${ECHO_MSG} "===>"

post-patch:
.for i in torrentsettings torrentwindow
	@${LOCALBASE}/bin/pyuic -o ${WRKSRC}/pyqtorrent/${i}.py ${WRKSRC}/pyqtorrent/${i}.ui
.endfor

.include <bsd.port.mk>
OpenPOWER on IntegriCloud