Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Aug 2020 15:16:10 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r546921 - head/net-p2p/libtorrent-rasterbar
Message-ID:  <202008291516.07TFGALS011023@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sat Aug 29 15:16:10 2020
New Revision: 546921
URL: https://svnweb.freebsd.org/changeset/ports/546921

Log:
  net-p2p/libtorrent-rasterbar: Use release archive; Fix python executable path for tests; Remove unnecessary patch and comment in Makefile
  
  PR:		248985
  Submitted by:	daniel.engberg.lists@pyret.net (initial version)

Modified:
  head/net-p2p/libtorrent-rasterbar/Makefile
  head/net-p2p/libtorrent-rasterbar/distinfo

Modified: head/net-p2p/libtorrent-rasterbar/Makefile
==============================================================================
--- head/net-p2p/libtorrent-rasterbar/Makefile	Sat Aug 29 15:06:08 2020	(r546920)
+++ head/net-p2p/libtorrent-rasterbar/Makefile	Sat Aug 29 15:16:10 2020	(r546921)
@@ -2,10 +2,10 @@
 # $FreeBSD$
 
 PORTNAME=	libtorrent-rasterbar
-DISTVERSIONPREFIX=	libtorrent-
 DISTVERSION=	1.2.8
 PORTREVISION=	1
 CATEGORIES=	net-p2p
+MASTER_SITES=	https://github.com/arvidn/libtorrent/releases/download/libtorrent-${DISTVERSION}/
 
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	C++ library implementing a BitTorrent client
@@ -17,14 +17,12 @@ LIB_DEPENDS=	libboost_chrono.so:devel/boost-libs \
 		libboost_random.so:devel/boost-libs \
 		libboost_system.so:devel/boost-libs
 
-USES=		cmake iconv:wchar_t libtool pathfix pkgconfig python:test shebangfix ssl # compiler:c++14-lang
-LDFLAGS+=	-L${LOCALBASE}/lib ${ICONV_LIB}
+USES=		cmake iconv:wchar_t libtool localbase:ldflags pathfix pkgconfig python:test shebangfix ssl
 SHEBANG_FILES=	test/socks.py test/web_server.py
-USE_GITHUB=	yes
-GH_ACCOUNT=	arvidn
-GH_PROJECT=	libtorrent
 USE_LDCONFIG=	yes
 
+LDFLAGS+=	${ICONV_LIB}
+
 SHLIB_VER=	10
 PLIST_SUB+=	SHLIB_VER="${SHLIB_VER}"
 
@@ -56,9 +54,7 @@ USES+=		compiler:c++11-lang
 .endif
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|/usr/local/include|${PREFIX}/include|' \
-		${WRKSRC}/Jamfile
-	@${REINPLACE_CMD} -e 's|return "python";|return "${PYTHON_CMD}";|' \
+	@${REINPLACE_CMD} -e 's|return "python3";|return "${PYTHON_CMD}";|' \
 		${WRKSRC}/test/setup_transfer.cpp
 
 post-install:

Modified: head/net-p2p/libtorrent-rasterbar/distinfo
==============================================================================
--- head/net-p2p/libtorrent-rasterbar/distinfo	Sat Aug 29 15:06:08 2020	(r546920)
+++ head/net-p2p/libtorrent-rasterbar/distinfo	Sat Aug 29 15:16:10 2020	(r546921)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1596643382
-SHA256 (arvidn-libtorrent-libtorrent-1.2.8_GH0.tar.gz) = 38568ac33e1492273ccc788d85e3c0d2a0f20bc0807ff3154cf4cc41de71eb3e
-SIZE (arvidn-libtorrent-libtorrent-1.2.8_GH0.tar.gz) = 3583174
+TIMESTAMP = 1598698118
+SHA256 (libtorrent-rasterbar-1.2.8.tar.gz) = 0600d6b1fdbc90764226daf8bbe30314c99eb3bdc69457768bfbbbfde92416de
+SIZE (libtorrent-rasterbar-1.2.8.tar.gz) = 4121254



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008291516.07TFGALS011023>