freebsd-ports/comms/jsdr/Makefile
Tobias C. Berner 3af9c286ad Simplify Makefile of comms/jsdr
Instead of doing a manual do-configure / do-build / do-install targets, copy
a small 'jsdr.pro' file to WRKSRC and then rely on USES=qmake to do the rest.

The version-suffix of the two binaries spectrum-viewer and fmreceiver was
dropped in the process (why was it there?) -- and therefore the PORTREVISION
is bumped.

PR:		214642
Approved by:	rakuco (mentor)
2016-11-19 11:53:23 +00:00

36 lines
808 B
Makefile

# Created by: Juergen Lock <nox@FreeBSD.org>
# $FreeBSD$
PORTNAME= jsdr
PORTVERSION= 4.1
PORTREVISION= 4
CATEGORIES= comms audio hamradio
MASTER_SITES= http://www.sdr-j.tk/ \
LOCAL/nox/
MAINTAINER= ports@FreeBSD.org
COMMENT= SDR tools for RTL2832-based USB sticks
LICENSE= GPLv2
LIB_DEPENDS+= libqwt.so:x11-toolkits/qwt5 \
libportaudio.so:audio/portaudio \
libsamplerate.so:audio/libsamplerate \
libsndfile.so:audio/libsndfile \
libfftw3.so:math/fftw3
USES= qmake tar:tgz
USE_QT4= gui qt3support qmake_build moc_build rcc_build uic_build
PORTDOCS= *
PLIST_FILES+= bin/swreceiver bin/spectrum-viewer \
bin/mini-receiver bin/fmreceiver
OPTIONS_DEFINE= DOCS
do-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/* ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>