summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2007-04-26 00:15:08 +0000
committeralepulver <alepulver@FreeBSD.org>2007-04-26 00:15:08 +0000
commitb8eb00be38a586fbeb525d7bb7d04cc2116ae9a1 (patch)
tree5a59bdc29b51a8771354f4138982dcf7d79a57e9
parent5a24e46ecfcd377bf6ebee67860cce4d771ebad9 (diff)
downloadFreeBSD-ports-b8eb00be38a586fbeb525d7bb7d04cc2116ae9a1.zip
FreeBSD-ports-b8eb00be38a586fbeb525d7bb7d04cc2116ae9a1.tar.gz
- 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
-rw-r--r--net-p2p/rblibtorrent/Makefile17
-rw-r--r--net-p2p/rblibtorrent/pkg-descr14
2 files changed, 11 insertions, 20 deletions
diff --git a/net-p2p/rblibtorrent/Makefile b/net-p2p/rblibtorrent/Makefile
index 31d0eb9..0ce4401 100644
--- a/net-p2p/rblibtorrent/Makefile
+++ b/net-p2p/rblibtorrent/Makefile
@@ -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>
diff --git a/net-p2p/rblibtorrent/pkg-descr b/net-p2p/rblibtorrent/pkg-descr
index 814d0c4..a27e81c 100644
--- a/net-p2p/rblibtorrent/pkg-descr
+++ b/net-p2p/rblibtorrent/pkg-descr
@@ -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!
OpenPOWER on IntegriCloud