8cd21a4f27
* allow NULL to be passed to create_torrent::set_comment and create_torrent::set_creator * fix UPnP issue for routers with multiple PPPoE connections * fix issue where event=stopped announces wouldn't be sent when closing session * fix crash when using broken SOCKS5 proxies * fix CPU busy loop issue in tracker announce logic * honor IOV_MAX when using writev and readv * don't post 'operation aborted' UDP errors when changing listen port * fix tracker retry logic, where in some configurations the next tier would not be tried * fixed bug in http seeding logic (introduced in 0.15.7) * add support for dont-have extension message * fix for set_piece_deadline * add reset_piece_deadline function * fix merkle tree torrent assert
84 lines
2.2 KiB
Makefile
84 lines
2.2 KiB
Makefile
# New ports collection makefile for: libtorrent-rasterbar-15
|
|
# Date created: 14 February 2010
|
|
# Whom: dougb@FreeBSD.org
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= libtorrent-rasterbar
|
|
PORTVERSION= 0.15.8
|
|
CATEGORIES?= net-p2p ipv6
|
|
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
|
|
PROJECTHOST= libtorrent
|
|
|
|
MAINTAINER= dougb@FreeBSD.org
|
|
COMMENT?= A C++ library implementing a BitTorrent client
|
|
|
|
MAKE_JOBS_SAFE= yes
|
|
|
|
CONFLICTS+= libtorrent-rasterbar-0.1[46789].*
|
|
|
|
NO_LATEST_LINK= yes
|
|
|
|
LIB_DEPENDS+= boost_date_time.4:${PORTSDIR}/devel/boost-libs \
|
|
GeoIP.5:${PORTSDIR}/net/GeoIP
|
|
|
|
USE_GNOME= gnomehack
|
|
USE_OPENSSL= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS+= --disable-debug \
|
|
--disable-static \
|
|
--enable-dht \
|
|
--enable-encryption \
|
|
--enable-pool-allocators \
|
|
--enable-deprecated-functions \
|
|
--with-boost=${LOCALBASE} \
|
|
--with-boost-system=boost_system \
|
|
--with-boost-filesystem=boost_filesystem \
|
|
--with-boost-thread=boost_thread \
|
|
--enable-geoip \
|
|
--with-libgeoip \
|
|
--with-openssl=${OPENSSLBASE} \
|
|
--with-zlib=system
|
|
|
|
USE_LDCONFIG= yes
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(SLAVE_PORT) && ${SLAVE_PORT:L}=="yes" && defined(USE_PYTHON)
|
|
CONFIGURE_ARGS+= --enable-python-binding \
|
|
--with-boost-python=boost_python
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-python-binding
|
|
.endif
|
|
|
|
pre-patch:
|
|
@${MV} ${WRKSRC}/include/libtorrent/alloca.hpp \
|
|
${WRKSRC}/include/libtorrent/alloca.hpp.Dist
|
|
@${SED} -e 's#alloca.h#stdlib.h#g' \
|
|
${WRKSRC}/include/libtorrent/alloca.hpp.Dist > \
|
|
${WRKSRC}/include/libtorrent/alloca.hpp
|
|
@${CP} ${WRKSRC}/configure ${WRKSRC}/configure.Dist
|
|
@${SED} -e 's#COMPILETIME_OPTIONS+="#COMPILETIME_OPTIONS="$$COMPILETIME_OPTIONS #g' \
|
|
${WRKSRC}/configure.Dist > ${WRKSRC}/configure
|
|
|
|
.if defined(SLAVE_PORT) && ${SLAVE_PORT:L}=="yes"
|
|
post-patch: slave-post-patch
|
|
.endif
|
|
|
|
.if defined(SLAVE_PORT) && ${SLAVE_PORT:L}=="yes"
|
|
post-install: slave-post-install
|
|
.else
|
|
post-install:
|
|
.endif
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/docs/*.html ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/docs/*.css ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/docs/*.gif ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/docs/*.jpg ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/docs/*.png ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|