mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
60945f0277
the 32 ports that still use it. Bump PORTREVISION on their dependent ports except the ones that depend on these: audio/libogg audio/libvorbis devel/pcre ftp/curl graphics/jpeg graphics/libart_lgpl graphics/tiff textproc/expat2 textproc/libxslt In these cases the same trick as in the recent gettext update is used. The ports install a symlink with the old library version. When enough of their dependent ports have had regular updates the remaining ones can get a PORTREVISION bump and the links can be removed. Also remove the devel/pcre dependency from USE_GNOME=glib20. It causes over 2200 packages to depend on devel/pcre while less than 200 actually link with it. The glib20 package still depends on devel/pcre so this should not make a difference for ports with USE_GNOME=glib20. Also, libdata/pkgconfig/glib-2.0.pc lists pcre as a private library so USE_GNOME=glib20 should not propagate it. PR: 195724 Exp-run by: antoine Approved by: portmgr (antoine)
66 lines
2.0 KiB
Makefile
66 lines
2.0 KiB
Makefile
# Created by: Juergen Lock <nox@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= jsdr
|
|
PORTVERSION= 4.1
|
|
PORTREVISION= 2
|
|
CATEGORIES= comms audio hamradio
|
|
MASTER_SITES= http://www.sdr-j.tk/
|
|
|
|
MAINTAINER= nox@FreeBSD.org
|
|
COMMENT= SDR tools for RTL2832-based USB sticks
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS+= libqwt.so:${PORTSDIR}/x11-toolkits/qwt5 \
|
|
libportaudio.so.2:${PORTSDIR}/audio/portaudio2 \
|
|
libsamplerate.so:${PORTSDIR}/audio/libsamplerate \
|
|
libsndfile.so:${PORTSDIR}/audio/libsndfile \
|
|
libfftw3.so:${PORTSDIR}/math/fftw3
|
|
|
|
USES= tar:tgz
|
|
USE_QT4= gui qt3support qmake_build moc_build rcc_build uic_build
|
|
|
|
PORTDOCS= *
|
|
PLIST_FILES+= bin/swreceiver bin/spectrum-viewer-${PORTVERSION} \
|
|
bin/mini-receiver bin/fmreceiver-${PORTVERSION}
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
do-configure:
|
|
cd ${WRKSRC}/make-x64/swreceiver && ${SETENV} ${MAKE_ENV} \
|
|
${QMAKE} ${QMAKE_ARGS}
|
|
cd ${WRKSRC}/make-x64/fmreceiver && ${SETENV} ${MAKE_ENV} \
|
|
${QMAKE} ${QMAKE_ARGS}
|
|
cd ${WRKSRC}/make-x64/spectrum-viewer && ${SETENV} ${MAKE_ENV} \
|
|
${QMAKE} ${QMAKE_ARGS}
|
|
cd ${WRKSRC}/make-x64/mini-receiver && ${SETENV} ${MAKE_ENV} \
|
|
${QMAKE} ${QMAKE_ARGS}
|
|
|
|
do-build:
|
|
cd ${WRKSRC}/make-x64/swreceiver && ${SETENV} ${MAKE_ENV} \
|
|
${MAKE} ${_MAKE_JOBS}
|
|
cd ${WRKSRC}/make-x64/fmreceiver && ${SETENV} ${MAKE_ENV} \
|
|
${MAKE} ${_MAKE_JOBS}
|
|
cd ${WRKSRC}/make-x64/spectrum-viewer && ${SETENV} ${MAKE_ENV} \
|
|
${MAKE} ${_MAKE_JOBS}
|
|
cd ${WRKSRC}/make-x64/mini-receiver && ${SETENV} ${MAKE_ENV} \
|
|
${MAKE} ${_MAKE_JOBS}
|
|
|
|
do-install:
|
|
${INSTALL} ${WRKSRC}/make-x64/swreceiver/swreceiver \
|
|
${WRKSRC}/make-x64/mini-receiver/mini-receiver \
|
|
${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL} ${WRKSRC}/make-x64/spectrum-viewer/spectrum-viewer \
|
|
${STAGEDIR}${PREFIX}/bin/spectrum-viewer-${PORTVERSION}
|
|
${INSTALL} ${WRKSRC}/make-x64/fmreceiver/fmreceiver \
|
|
${STAGEDIR}${PREFIX}/bin/fmreceiver-${PORTVERSION}
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|