2004-04-01 15:01:51 +02:00
|
|
|
# New ports collection makefile for: qtorrent
|
|
|
|
# Date created: 2004-03-31
|
|
|
|
# Whom: michael johnson <ahze@ahze.net>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= qtorrent
|
2004-04-02 07:46:03 +02:00
|
|
|
PORTVERSION= 0.9.6.1
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 4
|
2006-01-30 22:36:28 +01:00
|
|
|
CATEGORIES= net-p2p python
|
2004-04-01 15:01:51 +02:00
|
|
|
MASTER_SITES= http://thegraveyard.org/files/
|
|
|
|
|
2004-10-16 20:17:35 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2004-04-01 15:01:51 +02:00
|
|
|
COMMENT= BitTorrent client that uses the Qt widget-set
|
|
|
|
|
2005-04-20 16:00:08 +02:00
|
|
|
PATCH_DEPENDS= pyuic:${PORTSDIR}/x11-toolkits/py-qt
|
2004-04-01 15:01:51 +02:00
|
|
|
BUILD_DEPENDS= pyuic:${PORTSDIR}/x11-toolkits/py-qt
|
|
|
|
RUN_DEPENDS= pyuic:${PORTSDIR}/x11-toolkits/py-qt
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
2005-01-10 23:04:32 +01:00
|
|
|
USE_PYTHON= yes
|
2004-04-01 15:01:51 +02:00
|
|
|
USE_PYDISTUTILS=yes
|
|
|
|
|
2006-04-20 23:55:37 +02:00
|
|
|
.if defined(PACKAGE_BUILDING)
|
|
|
|
TMPDIR?= /tmp
|
|
|
|
MAKE_ENV+= TMPDIR="${TMPDIR}"
|
|
|
|
CONFIGURE_ENV+= TMPDIR="${TMPDIR}"
|
|
|
|
.endif
|
|
|
|
|
2004-05-21 15:46:07 +02:00
|
|
|
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} "===>"
|
|
|
|
|
2005-04-14 00:05:18 +02:00
|
|
|
post-patch:
|
|
|
|
.for i in torrentsettings torrentwindow
|
2006-04-20 23:55:37 +02:00
|
|
|
@${SETENV} ${MAKE_ENV} ${LOCALBASE}/bin/pyuic -o ${WRKSRC}/pyqtorrent/${i}.py ${WRKSRC}/pyqtorrent/${i}.ui
|
2005-04-14 00:05:18 +02:00
|
|
|
.endfor
|
|
|
|
|
2004-04-01 15:01:51 +02:00
|
|
|
.include <bsd.port.mk>
|