Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Jan 2018 11:12:04 +0000 (UTC)
From:      Ganael LAPLANCHE <martymac@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r459834 - head/comms/gr-osmosdr
Message-ID:  <201801241112.w0OBC4n5062727@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: martymac
Date: Wed Jan 24 11:12:04 2018
New Revision: 459834
URL: https://svnweb.freebsd.org/changeset/ports/459834

Log:
  - Update to 20170612
  - Strip library
  - Fix apps shebangs

Modified:
  head/comms/gr-osmosdr/Makefile
  head/comms/gr-osmosdr/distinfo

Modified: head/comms/gr-osmosdr/Makefile
==============================================================================
--- head/comms/gr-osmosdr/Makefile	Wed Jan 24 11:07:48 2018	(r459833)
+++ head/comms/gr-osmosdr/Makefile	Wed Jan 24 11:12:04 2018	(r459834)
@@ -1,8 +1,7 @@
 # $FreeBSD$
 
 PORTNAME=	gr-osmosdr
-PORTVERSION=	20160622
-PORTREVISION=	7
+PORTVERSION=	20170612
 CATEGORIES=	comms hamradio
 MASTER_SITES=	http://contribs.martymac.org/FreeBSD-ports/distfiles/ \
 		LOCAL/martymac
@@ -20,7 +19,7 @@ LIB_DEPENDS=	libgnuradio-runtime.so:comms/gnuradio \
 		libboost_system.so:devel/boost-libs \
 		libboost_thread.so:devel/boost-libs
 
-USES=	cmake fortran pkgconfig python:2.7 tar:tgz
+USES=	cmake compiler:c++11-lang fortran pkgconfig python:2.7 tar:tgz
 USE_LDCONFIG=	yes
 BINARY_ALIAS=	swig=swig3.0
 
@@ -28,8 +27,11 @@ BINARY_ALIAS=	swig=swig3.0
 CMAKE_ARGS+=	-DENABLE_DEFAULT:BOOL=OFF \
 		-DENABLE_FCD:BOOL=ON \
 		-DENABLE_FILE:BOOL=ON \
-		-DENABLE_PYTHON=ON
+		-DENABLE_PYTHON=ON \
+		-DPYTHON_EXECUTABLE:STRING="${PYTHON_CMD}"
 
+CXXFLAGS+=	-std=c++11
+
 OPTIONS_DEFINE=	RTLSDR HACKRF
 RTLSDR_DESC=	Enable rtl-sdr (RTL2832) support
 OPTIONS_DEFAULT=	RTLSDR
@@ -38,5 +40,8 @@ RTLSDR_CMAKE_ON=	-DENABLE_RTL:BOOL=ON -DENABLE_RTL_TCP
 HACKRF_DESC=	Enable hackrf one hardware support
 HACKRF_LIB_DEPENDS=	libhackrf.so:comms/hackrf
 HACKRF_CMAKE_ON=	-DENABLE_HACKRF:BOOL=ON
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libgnuradio-osmosdr.so.0.1.5git
 
 .include <bsd.port.mk>

Modified: head/comms/gr-osmosdr/distinfo
==============================================================================
--- head/comms/gr-osmosdr/distinfo	Wed Jan 24 11:07:48 2018	(r459833)
+++ head/comms/gr-osmosdr/distinfo	Wed Jan 24 11:12:04 2018	(r459834)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1482422442
-SHA256 (gr-osmosdr-20160622.tgz) = 8219cfbb613040c7878f72ba33d60a1fd5d9af0baba318485d6ed8461f3d1baa
-SIZE (gr-osmosdr-20160622.tgz) = 249098
+TIMESTAMP = 1515789528
+SHA256 (gr-osmosdr-20170612.tgz) = c3427f73a85f67f1070cbc9e0091d204f89989bd766d0df13d0b528deb8c8e8f
+SIZE (gr-osmosdr-20170612.tgz) = 275296



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