From now on, ports that depend on Qt4 will have to set USES= qt:4 USE_QT= foo bar ports depending on Qt5 will use USES= qt:5 USE_QT= foo bar PR: 229225 Exp-run by: antoine Reviewed by: mat Approved by: portmgr (antoine) Differential Revision: →https://reviews.freebsd.org/D15540
48 lines
1.4 KiB
Makefile
48 lines
1.4 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= dream
|
|
PORTVERSION= 2.1.1
|
|
PORTREVISION= 2
|
|
CATEGORIES= audio comms hamradio
|
|
MASTER_SITES= SF/drm/${PORTNAME}/${PORTVERSION}
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}-svn808
|
|
|
|
MAINTAINER= takefu@airport.fm
|
|
COMMENT= Software radio for AM and Digital Radio Mondiale (DRM)
|
|
|
|
LICENSE= GPLv2
|
|
|
|
LIB_DEPENDS= libhamlib.so:comms/hamlib\
|
|
libqwt.so:x11-toolkits/qwt5\
|
|
libfftw3.so:math/fftw3
|
|
|
|
USES= gmake pkgconfig qmake qt:4
|
|
USE_QT= qmake_build moc_build uic_build corelib gui network rcc webkit
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}
|
|
|
|
OPTIONS_DEFINE= SNDFILE OGG VORBIS FLAC OPUS SPEEX FAAD FAAC
|
|
OPTIONS_RADIO= DEVICE
|
|
OPTIONS_RADIO_DEVICE= PORTAUDIO PULSEAUDIO
|
|
OPTIONS_DEFAULT= PORTAUDIO SNDFILE
|
|
|
|
PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio
|
|
PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio
|
|
SNDFILE_LIB_DEPENDS= libsndfile.so:audio/libsndfile
|
|
|
|
OGG_LIB_DEPENDS= libogg.so:audio/libogg
|
|
VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis
|
|
FLAC_LIB_DEPENDS= libFLAC.so:audio/flac
|
|
OPUS_LIB_DEPENDS= libopus.so:audio/opus
|
|
SPEEX_LIB_DEPENDS= libspeexdsp.so:audio/speexdsp
|
|
FAAD_LIB_DEPENDS= libfaad.so:audio/faad
|
|
FAAC_LIB_DEPENDS= libfaac.so:audio/faac
|
|
|
|
PLIST_FILES= bin/dream man/man1/dream.1.gz
|
|
|
|
pre-patch:
|
|
@${REINPLACE_CMD} -e 's|/opt|/usr|g' -e 's|/usr/local|${PREFIX}|g'\
|
|
-e 's|target.path = /usr/bin|target.path = ${PREFIX}/bin|g'\
|
|
-e 's|/usr/share/man/man1|${PREFIX}/man/man1|g'\
|
|
${WRKSRC}/dream.pro
|
|
|
|
.include <bsd.port.mk>
|