# New ports collection makefile for:   rblibtorrent
# Date created:        5 February 2006
# Whom:                Johan Ström <johan@stromnet.org>
#
# $FreeBSD: ports/net-p2p/rblibtorrent/Makefile,v 1.9 2007/08/29 00:52:50 alepulver Exp $
#

PORTNAME=	libtorrent
PORTVERSION=	0.12
PORTREVISION=	1
CATEGORIES=	net-p2p
MASTER_SITES=	SF
PKGNAMEPREFIX=	rb

MAINTAINER=	johan@stromnet.se
COMMENT=	A C++ library implementing a BitTorrent client

LIB_DEPENDS=	boost_date_time.4:${PORTSDIR}/devel/boost

GNU_CONFIGURE=	yes
USE_LDCONFIG=	yes
CONFIGURE_ARGS=	--disable-debug
CONFIGURE_ENV=	CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"

CONFLICTS=	libtorrent-[0-9]* \
		libtorrent-devel-[0-9]* \
		rblibtorrent-devel-[0-9]*

.include <bsd.port.mk>
