diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2015-06-26 06:19:25 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2015-06-26 06:19:25 +0800 |
commit | 40b118fe6939ef69c7dd79240606df6444c375e4 (patch) | |
tree | 3ed6e4cb1cede4bf2e23008d631d1e566b9b4ef6 /net-p2p | |
parent | 3e1939561569f2bcdaacf173b99475941709454d (diff) | |
download | freebsd-ports-gnome-40b118fe6939ef69c7dd79240606df6444c375e4.tar.gz freebsd-ports-gnome-40b118fe6939ef69c7dd79240606df6444c375e4.tar.zst freebsd-ports-gnome-40b118fe6939ef69c7dd79240606df6444c375e4.zip |
- Use OPTIONS helpers
- Add LICENSE
- Remove obsolete CONFLICTS: rblibtorrent was renamed to libtorrent-rasterbar which doesn't conflict with this port
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/libtorrent/Makefile | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/net-p2p/libtorrent/Makefile b/net-p2p/libtorrent/Makefile index fdad41132303..f7355f3d0f2d 100644 --- a/net-p2p/libtorrent/Makefile +++ b/net-p2p/libtorrent/Makefile @@ -9,8 +9,8 @@ MASTER_SITES= http://libtorrent.rakshasa.no/downloads/ MAINTAINER= ports@FreeBSD.org COMMENT= BitTorrent Library written in C++ -CONFLICTS= rblibtorrent-[0-9]* \ - rblibtorrent-devel-[0-9]* +LICENSE= GPLv2 # or later +LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler:c++11-lang libtool pathfix pkgconfig USE_OPENSSL= yes @@ -23,6 +23,8 @@ INSTALL_TARGET= install-strip OPTIONS_DEFINE= KQUEUE IPV6 OPTIONS_DEFAULT= KQUEUE KQUEUE_DESC= Use kqueue(2) support +KQUEUE_CONFIGURE_ON= --with-kqueue +IPV6_CONFIGURE_ON= --enable-ipv6 .include <bsd.port.pre.mk> @@ -39,14 +41,6 @@ CXXFLAGS+= -std=c++11 EXTRA_PATCHES+= ${FILESDIR}/extra-clang .endif -.if ${PORT_OPTIONS:MKQUEUE} -CONFIGURE_ARGS+= --with-kqueue -.endif - -.if ${PORT_OPTIONS:MIPV6} -CONFIGURE_ARGS+= --enable-ipv6 -.endif - post-patch: @${REINPLACE_CMD} -e 's|-O3|${CFLAGS}|' ${WRKSRC}/configure .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000000 |