freebsd-ports/comms/gr-osmosdr/Makefile
Gerald Pfeifer 15945f8122 Update the default version of GCC in the Ports Collection from GCC 4.7.4
to GCC 4.8.3.

Part II, Bump PORTREVISIONs.

PR:		192025
Tested by:	antoine (-exp runs)
Approved by:	portmgr (implicit)
2014-09-10 20:50:31 +00:00

42 lines
1.2 KiB
Makefile

# $FreeBSD$
PORTNAME= gr-osmosdr
PORTVERSION= 20140314
PORTREVISION= 1
CATEGORIES= comms hamradio
MASTER_SITES= http://contribs.martymac.org/FreeBSD-ports/distfiles/ \
LOCAL/martymac
MAINTAINER= martymac@FreeBSD.org
COMMENT= GNU Radio OsmoSDR module
LICENSE= GPLv3
BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13 \
cheetah:${PORTSDIR}/devel/py-cheetah
LIB_DEPENDS= libgnuradio-runtime.so:${PORTSDIR}/comms/gnuradio \
libgnuradio-pmt.so:${PORTSDIR}/comms/gnuradio \
libgnuradio-blocks.so:${PORTSDIR}/comms/gnuradio \
libboost_system.so:${PORTSDIR}/devel/boost-libs \
libboost_thread.so:${PORTSDIR}/devel/boost-libs
USES= pkgconfig cmake tar:tgz python
USE_LDCONFIG= yes
# See lib/CMakeLists.txt to enable more components
CMAKE_ARGS+= -DENABLE_DEFAULT:BOOL=OFF \
-DENABLE_FCD:BOOL=ON \
-DENABLE_FILE:BOOL=ON \
-DENABLE_PYTHON=ON
OPTIONS_DEFINE= RTLSDR
RTLSDR_DESC= Enable rtl-sdr (RTL2832) support
OPTIONS_DEFAULT= RTLSDR
RTLSDR_LIB_DEPENDS= librtlsdr.so:${PORTSDIR}/comms/rtl-sdr
RTLSDR_CMAKE_ON= -DENABLE_RTL:BOOL=ON -DENABLE_RTL_TCP:BOOL=ON
post-install:
@${LN} -sf libgnuradio-osmosdr.so.0.0.1git \
${STAGEDIR}${PREFIX}/lib/libgnuradio-osmosdr.so.0
.include <bsd.port.mk>