# -*-mode: makefile-*-
# Created by: slavek.banko@axis.cz
# $FreeBSD$
#

.include <../../../trinity.port.mk>

PORTNAME=		ktorrent-trinity
COMMENT=		BitTorrent client for Trinity
TDE_PREVERSION=		
MASTER_SITE_SUBDIR=	k/${PORTNAME}
PORTREVISION=		0
CATEGORIES=		misc x11
DIST_SUBDIR=		TDE/applications/internet


# Use gmake for automake build
USES=	gmake

BUILD_DEPENDS+=	${TDE_PREFIX}/lib/libtdecore.so:${PORTSDIR}/x11/trinity/core/tdelibs

LIB_DEPENDS+=	libtqt.so:${PORTSDIR}/x11/trinity/dependencies/tqtinterface \
		libavahi-tqt.so:${PORTSDIR}/x11/trinity/dependencies/avahi-tqt \

LIB_DEPENDS+=	libgmp.so:${PORTSDIR}/math/gmp \

# Build
post-patch: tde-pathfix

do-configure: tde-autotools-prepare
	${TDE_AUTOTOOLS_CONFIGURE}

do-build: tde-autotools-build

do-install: tde-autotools-install

.include <bsd.port.mk>
