[139177] trunk/dports/net/libtorrent-rasterbar
devans at macports.org
devans at macports.org
Wed Aug 5 12:20:26 PDT 2015
Revision: 139177
https://trac.macports.org/changeset/139177
Author: devans at macports.org
Date: 2015-08-05 12:20:26 -0700 (Wed, 05 Aug 2015)
Log Message:
-----------
libtorrent-rasterbar: switch to github repository and update to version 1.0.6, dependencies, configuration, livecheck.
Modified Paths:
--------------
trunk/dports/net/libtorrent-rasterbar/Portfile
Added Paths:
-----------
trunk/dports/net/libtorrent-rasterbar/files/patch-configure.ac.diff
Removed Paths:
-------------
trunk/dports/net/libtorrent-rasterbar/files/patch-configure.diff
Modified: trunk/dports/net/libtorrent-rasterbar/Portfile
===================================================================
--- trunk/dports/net/libtorrent-rasterbar/Portfile 2015-08-05 19:17:09 UTC (rev 139176)
+++ trunk/dports/net/libtorrent-rasterbar/Portfile 2015-08-05 19:20:26 UTC (rev 139177)
@@ -4,31 +4,35 @@
PortSystem 1.0
PortGroup active_variants 1.1
PortGroup compiler_blacklist_versions 1.0
+PortGroup github 1.0
+github.setup arvidn libtorrent 1_0_6 libtorrent-
name libtorrent-rasterbar
-version 1.0.5
+version [string map {_ .} ${version}]
license BSD
categories net
maintainers devans openmaintainer
platforms darwin
homepage http://www.rasterbar.com/products/libtorrent/
-master_sites sourceforge:libtorrent
description A C++ bittorrent library (not the same as port libtorrent)
long_description A C++ bittorrent library designed to run on anything from embedded systems to large scale \
seed servers. It comes with python bindings and detailed documentation.
-checksums rmd160 9139356e7adb0ab1f6fb42267629bd584f1cb580 \
- sha256 474a43da2147bec7e333c10f70b07221f4732dd67e071d5e90acc7edb8f657b0
+checksums rmd160 287d0854ad0e6987f60fcac9819eb783fe8ec523 \
+ sha256 93ef392b7cfcf4a3d605ef09255e12808d64a07db1a491e9600df21503053334
-depends_build port:pkgconfig
+depends_build port:pkgconfig \
+ port:autoconf \
+ port:automake \
+ port:libtool
depends_lib port:boost \
port:libgeoip \
port:openssl
-patchfiles patch-configure.diff \
+patchfiles patch-configure.ac.diff \
patch-bindings-python-setup.py.diff
post-patch {
@@ -44,6 +48,8 @@
--with-boost-libdir="${prefix}/lib" \
--with-boost-python="boost_python-mt"
+configure.cmd ./autotool.sh && ./configure
+
universal_variant no
variant python27 description {Build bindings for Python 2.7} {
@@ -60,5 +66,3 @@
}
default_variants +python27
-
-livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"
Added: trunk/dports/net/libtorrent-rasterbar/files/patch-configure.ac.diff
===================================================================
--- trunk/dports/net/libtorrent-rasterbar/files/patch-configure.ac.diff (rev 0)
+++ trunk/dports/net/libtorrent-rasterbar/files/patch-configure.ac.diff 2015-08-05 19:20:26 UTC (rev 139177)
@@ -0,0 +1,19 @@
+--- configure.ac.orig 2015-08-05 07:23:15.000000000 -0700
++++ configure.ac 2015-08-05 07:25:43.000000000 -0700
+@@ -558,6 +558,16 @@
+ AC_MSG_RESULT([yes])
+
+ AM_PATH_PYTHON([2.4], [], AC_MSG_ERROR([Python interpreter not found.]))
++
++ AC_SUBST([PYTHON_PREFIX], [`$PYTHON -c 'import sys; print(sys.prefix);'`])
++ AC_SUBST([PYTHON_EXEC_PREFIX], [`$PYTHON -c 'import sys; print(sys.exec_prefix)'`])
++
++ am_cv_python_pythondir=$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages
++ am_cv_python_pyexecdir=$PYTHON_EXEC_PREFIX/lib/python$PYTHON_VERSION/site-packages
++
++ AC_SUBST([pythondir], [$am_cv_python_pythondir])
++ AC_SUBST([pyexecdir], [$am_cv_python_pyexecdir])
++
+ AX_PYTHON_DEVEL([>= '2.4'])
+ AX_BOOST_PYTHON()
+
Deleted: trunk/dports/net/libtorrent-rasterbar/files/patch-configure.diff
===================================================================
--- trunk/dports/net/libtorrent-rasterbar/files/patch-configure.diff 2015-08-05 19:17:09 UTC (rev 139176)
+++ trunk/dports/net/libtorrent-rasterbar/files/patch-configure.diff 2015-08-05 19:20:26 UTC (rev 139177)
@@ -1,14 +0,0 @@
---- configure.orig 2015-03-21 20:34:22.000000000 -0700
-+++ configure 2015-03-23 12:34:23.000000000 -0700
-@@ -18930,9 +18930,9 @@
-
-
-
-- PYTHON_PREFIX='${prefix}'
-+ PYTHON_PREFIX=`$PYTHON -c 'import sys; print sys.prefix;'`
-
-- PYTHON_EXEC_PREFIX='${exec_prefix}'
-+ PYTHON_EXEC_PREFIX=`$PYTHON -c 'import sys; print sys.exec_prefix;'`
-
-
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150805/dfe8e43e/attachment.html>
More information about the macports-changes
mailing list