freebsd-ports/net-p2p/rblibtorrent/Makefile
Alejandro Pulver 6dd8f2e7af - Update to version 0.13.
PR:		ports/124858
Approved by:	johan@stromnet.se (maintainer)
2008-06-24 02:01:39 +00:00

39 lines
929 B
Makefile

# New ports collection makefile for: rblibtorrent
# Date created: 5 February 2006
# Whom: Johan Ström <johan@stromnet.org>
#
# $FreeBSD$
#
PORTNAME= libtorrent
PORTVERSION= 0.13
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.pre.mk>
.if ${OSVERSION} < 600000
BROKEN= does not build on FreeBSD 5.x
.endif
post-install:
@cd ${PREFIX}/lib && ${LN} -sf libtorrent-0.13.so libtorrent.so.1 && \
${LN} -sf libtorrent.so.1 libtorrent.so
.include <bsd.port.post.mk>