From owner-svn-ports-head@FreeBSD.ORG Fri May 17 13:10:13 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 07C04D9A; Fri, 17 May 2013 13:10:13 +0000 (UTC) (envelope-from martymac@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id DDAD8B2F; Fri, 17 May 2013 13:10:12 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4HDACQW052384; Fri, 17 May 2013 13:10:12 GMT (envelope-from martymac@svn.freebsd.org) Received: (from martymac@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4HDABEk052378; Fri, 17 May 2013 13:10:11 GMT (envelope-from martymac@svn.freebsd.org) Message-Id: <201305171310.r4HDABEk052378@svn.freebsd.org> From: Ganael LAPLANCHE Date: Fri, 17 May 2013 13:10:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r318379 - in head/comms: . gr-osmosdr gr-osmosdr/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 May 2013 13:10:13 -0000 Author: martymac Date: Fri May 17 13:10:11 2013 New Revision: 318379 URL: http://svnweb.freebsd.org/changeset/ports/318379 Log: OsmoSDR is a 100% Free Software based small form-factor inexpensive SDR (Software Defined Radio) project. WWW: http://sdr.osmocom.org/trac Added: head/comms/gr-osmosdr/ head/comms/gr-osmosdr/Makefile (contents, props changed) head/comms/gr-osmosdr/distinfo (contents, props changed) head/comms/gr-osmosdr/files/ head/comms/gr-osmosdr/files/patch-CMakeLists.txt (contents, props changed) head/comms/gr-osmosdr/pkg-descr (contents, props changed) head/comms/gr-osmosdr/pkg-plist (contents, props changed) Modified: head/comms/Makefile Modified: head/comms/Makefile ============================================================================== --- head/comms/Makefile Fri May 17 12:39:04 2013 (r318378) +++ head/comms/Makefile Fri May 17 13:10:11 2013 (r318379) @@ -51,6 +51,7 @@ SUBDIR += gnuradio SUBDIR += gpredict SUBDIR += gpsk31 + SUBDIR += gr-osmosdr SUBDIR += grig SUBDIR += gscmxx SUBDIR += gsmlib Added: head/comms/gr-osmosdr/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/gr-osmosdr/Makefile Fri May 17 13:10:11 2013 (r318379) @@ -0,0 +1,47 @@ +# $FreeBSD$ + +PORTNAME= gr-osmosdr +PORTVERSION= 20130509 +CATEGORIES= comms hamradio +MASTER_SITES= http://contribs.martymac.org/FreeBSD-ports/distfiles/ \ + LOCAL/martymac +EXTRACT_SUFX= .tgz + +MAINTAINER= martymac@FreeBSD.org +COMMENT= GNU Radio OsmoSDR module + +LICENSE= GPLv3 + +BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13 \ + doxygen:${PORTSDIR}/devel/doxygen \ + cheetah:${PORTSDIR}/devel/py-cheetah +LIB_DEPENDS= gnuradio-core:${PORTSDIR}/comms/gnuradio \ + gnuradio-fcd:${PORTSDIR}/comms/gnuradio \ + gruel:${PORTSDIR}/comms/gnuradio \ + boost_system:${PORTSDIR}/devel/boost-libs \ + boost_thread:${PORTSDIR}/devel/boost-libs + +USES= pkgconfig cmake +USE_LDCONFIG= yes +USE_PYTHON= 2.7+ + +CMAKE_ARGS+= -DENABLE_DEFAULT:BOOL=OFF \ + -DENABLE_FCD:BOOL=ON \ + -DENABLE_FILE:BOOL=ON + +OPTIONS_DEFINE= RTLSDR +RTLSDR_DESC= Enable rtl-sdr (RTL2832) support +OPTIONS_DEFAULT= RTLSDR + +.include + +.if ${PORT_OPTIONS:MRTLSDR} +LIB_DEPENDS+= rtlsdr:${PORTSDIR}/comms/rtl-sdr +CMAKE_ARGS+= -DENABLE_RTL:BOOL=ON \ + -DENABLE_RTL_TCP:BOOL=ON +.endif + +post-install: + ${LN} -s libgnuradio-osmosdr.so.0.0.1git ${PREFIX}/lib/libgnuradio-osmosdr.so.0 + +.include Added: head/comms/gr-osmosdr/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/gr-osmosdr/distinfo Fri May 17 13:10:11 2013 (r318379) @@ -0,0 +1,2 @@ +SHA256 (gr-osmosdr-20130509.tgz) = cb05c11c2b36a22105c925dd8bf972bbf1d6af0c4d68753edf0ba702d4dd715d +SIZE (gr-osmosdr-20130509.tgz) = 194496 Added: head/comms/gr-osmosdr/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/gr-osmosdr/files/patch-CMakeLists.txt Fri May 17 13:10:11 2013 (r318379) @@ -0,0 +1,19 @@ +--- CMakeLists.txt.orig 2012-11-07 18:06:30.000000000 -0500 ++++ CMakeLists.txt 2012-11-07 18:07:40.000000000 -0500 +@@ -93,6 +93,7 @@ + include(GrPlatform) #define LIB_SUFFIX + set(GR_RUNTIME_DIR bin) + set(GR_LIBRARY_DIR lib${LIB_SUFFIX}) ++set(GR_LIBDATA_DIR libdata) + set(GR_INCLUDE_DIR include) + set(GR_DATA_DIR share) + set(GR_PKG_DATA_DIR ${GR_DATA_DIR}/${CMAKE_PROJECT_NAME}) +@@ -197,7 +198,7 @@ + + INSTALL( + FILES ${CMAKE_CURRENT_BINARY_DIR}/gnuradio-osmosdr.pc +- DESTINATION ${GR_LIBRARY_DIR}/pkgconfig ++ DESTINATION ${GR_LIBDATA_DIR}/pkgconfig + ) + + ######################################################################## Added: head/comms/gr-osmosdr/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/gr-osmosdr/pkg-descr Fri May 17 13:10:11 2013 (r318379) @@ -0,0 +1,4 @@ +OsmoSDR is a 100% Free Software based small form-factor inexpensive SDR +(Software Defined Radio) project. + +WWW: http://sdr.osmocom.org/trac Added: head/comms/gr-osmosdr/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/gr-osmosdr/pkg-plist Fri May 17 13:10:11 2013 (r318379) @@ -0,0 +1,32 @@ +bin/osmocom_fft +bin/osmocom_siggen +bin/osmocom_siggen_nogui +bin/osmocom_spectrum_sense +include/osmosdr/swig/osmosdr_swig.i +include/osmosdr/swig/osmosdr_swig_doc.i +include/osmosdr/osmosdr_api.h +include/osmosdr/osmosdr_pimpl.h +include/osmosdr/osmosdr_ranges.h +include/osmosdr/osmosdr_device.h +include/osmosdr/osmosdr_sink_c.h +include/osmosdr/osmosdr_source_c.h +lib/libgnuradio-osmosdr.so.0.0.1git +lib/libgnuradio-osmosdr.so.0 +lib/libgnuradio-osmosdr.so +libdata/pkgconfig/gnuradio-osmosdr.pc +share/gnuradio/grc/blocks/rtlsdr_source_c.xml +share/gnuradio/grc/blocks/osmosdr_sink_c.xml +share/gnuradio/grc/blocks/osmosdr_source_c.xml +%%PYTHON_SITELIBDIR%%/osmosdr/_osmosdr_swig.so +%%PYTHON_SITELIBDIR%%/osmosdr/osmocom_siggen_base.pyo +%%PYTHON_SITELIBDIR%%/osmosdr/osmocom_siggen_base.pyc +%%PYTHON_SITELIBDIR%%/osmosdr/osmocom_siggen_base.py +%%PYTHON_SITELIBDIR%%/osmosdr/osmosdr_swig.py +%%PYTHON_SITELIBDIR%%/osmosdr/osmosdr_swig.pyc +%%PYTHON_SITELIBDIR%%/osmosdr/osmosdr_swig.pyo +%%PYTHON_SITELIBDIR%%/osmosdr/__init__.py +%%PYTHON_SITELIBDIR%%/osmosdr/__init__.pyc +%%PYTHON_SITELIBDIR%%/osmosdr/__init__.pyo +@dirrm include/osmosdr/swig +@dirrm include/osmosdr +@dirrm %%PYTHON_SITELIBDIR%%/osmosdr