- Use SF macro in MASTER_SITES.
- Use only one library for the dependencies (all of them point to the same port). - Respect CFLAGS/CXXFLAGS. - Remove IGNORE for FreeBSD 4.x since it's not supported anymore. - Reformat pkg-descr. PR: ports/111803 Submitted by: alepulver (myself) Approved by: maintainer timeout
This commit is contained in:
parent
559dc94729
commit
2cb2c02ccf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=190887
2 changed files with 11 additions and 20 deletions
|
@ -9,31 +9,22 @@ PORTNAME= libtorrent
|
|||
PORTVERSION= 0.11
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net-p2p
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR=libtorrent
|
||||
MASTER_SITES= SF
|
||||
PKGNAMEPREFIX= rb
|
||||
|
||||
MAINTAINER= johan@stromnet.se
|
||||
COMMENT= A C++ library implementing a BitTorrent client
|
||||
|
||||
LIB_DEPENDS= boost_date_time.3:${PORTSDIR}/devel/boost \
|
||||
boost_filesystem.3:${PORTSDIR}/devel/boost \
|
||||
boost_thread.3:${PORTSDIR}/devel/boost
|
||||
LIB_DEPENDS= boost_date_time.3:${PORTSDIR}/devel/boost
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
CONFIGURE_ARGS= --disable-debug
|
||||
CONFIGURE_ENV= CXXFLAGS="-I${LOCALBASE}/include" \
|
||||
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} < 500000
|
||||
IGNORE= is unsupported on FreeBSD < 5
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
libtorrent is a C++ library that aims to be a good alternative to
|
||||
all the other bittorrent implementations around.
|
||||
It is a library and not a full featured client, although it comes
|
||||
with a working example client.
|
||||
libtorrent is a C++ library that aims to be a good alternative to all the
|
||||
other bittorrent implementations around. It is a library and not a full
|
||||
featured client, although it comes with a working example client.
|
||||
|
||||
The main goals of libtorrent are:
|
||||
* to be cpu efficient
|
||||
* to be memory efficient
|
||||
* to be very easy to use
|
||||
|
||||
* to be cpu efficient
|
||||
* to be memory efficient
|
||||
* to be very easy to use
|
||||
|
||||
Note that this is NOT the same library as the libtorrent port!
|
||||
|
||||
|
|
Loading…
Reference in a new issue