svn commit: r333197 - head/comms/gr-osmosdr
Ganael LAPLANCHE
martymac at FreeBSD.org
Fri Nov 8 10:49:17 UTC 2013
Author: martymac
Date: Fri Nov 8 10:49:16 2013
New Revision: 333197
URL: http://svnweb.freebsd.org/changeset/ports/333197
Log:
- Enable staging
- Use new LIB_DEPENDS format
- Use new options framework
Modified:
head/comms/gr-osmosdr/Makefile
head/comms/gr-osmosdr/pkg-plist (contents, props changed)
Modified: head/comms/gr-osmosdr/Makefile
==============================================================================
--- head/comms/gr-osmosdr/Makefile Fri Nov 8 10:45:31 2013 (r333196)
+++ head/comms/gr-osmosdr/Makefile Fri Nov 8 10:49:16 2013 (r333197)
@@ -15,11 +15,11 @@ LICENSE= GPLv3
BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13 \
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
+LIB_DEPENDS= libgnuradio-core.so:${PORTSDIR}/comms/gnuradio \
+ libgnuradio-fcd.so:${PORTSDIR}/comms/gnuradio \
+ libgruel.so:${PORTSDIR}/comms/gnuradio \
+ libboost_system.so:${PORTSDIR}/devel/boost-libs \
+ libboost_thread.so:${PORTSDIR}/devel/boost-libs
USES= pkgconfig cmake
USE_LDCONFIG= yes
@@ -32,17 +32,11 @@ CMAKE_ARGS+= -DENABLE_DEFAULT:BOOL=OFF \
OPTIONS_DEFINE= RTLSDR
RTLSDR_DESC= Enable rtl-sdr (RTL2832) support
OPTIONS_DEFAULT= RTLSDR
-
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MRTLSDR}
-LIB_DEPENDS+= rtlsdr:${PORTSDIR}/comms/rtl-sdr
-CMAKE_ARGS+= -DENABLE_RTL:BOOL=ON \
- -DENABLE_RTL_TCP:BOOL=ON
-.endif
+RTLSDR_LIB_DEPENDS= librtlsdr.so:${PORTSDIR}/comms/rtl-sdr
+RTLSDR_CMAKE_ON= -DENABLE_RTL:BOOL=ON -DENABLE_RTL_TCP:BOOL=ON
post-install:
- ${LN} -s libgnuradio-osmosdr.so.0.0.1git ${PREFIX}/lib/libgnuradio-osmosdr.so.0
+ @${LN} -sf libgnuradio-osmosdr.so.0.0.1git \
+ ${STAGEDIR}${PREFIX}/lib/libgnuradio-osmosdr.so.0
.include <bsd.port.mk>
Modified: head/comms/gr-osmosdr/pkg-plist
==============================================================================
--- head/comms/gr-osmosdr/pkg-plist Fri Nov 8 10:45:31 2013 (r333196)
+++ head/comms/gr-osmosdr/pkg-plist Fri Nov 8 10:49:16 2013 (r333197)
@@ -29,4 +29,9 @@ share/gnuradio/grc/blocks/osmosdr_source
%%PYTHON_SITELIBDIR%%/osmosdr/__init__.pyo
@dirrm include/osmosdr/swig
@dirrm include/osmosdr
+ at dirrmtry share/gnuradio/grc/blocks
+ at dirrmtry share/gnuradio/grc
+ at dirrmtry share/gnuradio
@dirrm %%PYTHON_SITELIBDIR%%/osmosdr
+ at dirrmtry %%PYTHON_SITELIBDIR%%
+ at dirrmtry %%PYTHON_LIBDIR%%
More information about the svn-ports-all
mailing list