summaryrefslogtreecommitdiff
path: root/net-p2p/rblibtorrent-devel/Makefile
blob: 1fa132acd41122698bf31ff6cbd994b70cabe107 (plain) (blame)
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
# New ports collection makefile for:   rblibtorrent
# Date created:        5 February 2006
# Whom:                Johan Ström <johan@stromnet.org>
#
# $FreeBSD$
#

PORTNAME=	libtorrent
DISTVERSION=	0.12rc3
CATEGORIES=	net-p2p
MASTER_SITES=	http://www.rasterbar.com/products/libtorrent/
PKGNAMEPREFIX=	rb
PKGNAMESUFFIX=	-devel

MAINTAINER=	alepulver@FreeBSD.org
COMMENT=	A C++ library implementing a BitTorrent client

LIB_DEPENDS=	boost_date_time.3:${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}"
WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION:C/rc[[:digit:]]//}

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

.include <bsd.port.mk>