aboutsummaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorMax Brazhnikov <makc@FreeBSD.org>2013-11-22 12:55:00 +0000
committerMax Brazhnikov <makc@FreeBSD.org>2013-11-22 12:55:00 +0000
commit5898d7df5c5c0c4c33faa934a38001e755f6d900 (patch)
treeedc1328e7d68e649db202ae07c396b88869f73de /comms
parent14b67ba33b83fe27381b6547b20370f812a4da0f (diff)
downloadports-5898d7df5c5c0c4c33faa934a38001e755f6d900.tar.gz
ports-5898d7df5c5c0c4c33faa934a38001e755f6d900.zip
- Convert to USES=qmake (and other USES while I'm here)
- Add state support - Convert LIB_DEPENDS to new style, adjust USE_QT4 components, etc. Approved by: portmgr (blanket approval)
Notes
Notes: svn path=/head/; revision=334586
Diffstat (limited to 'comms')
-rw-r--r--comms/gqrx/Makefile25
-rw-r--r--comms/qsstv/Makefile14
2 files changed, 15 insertions, 24 deletions
diff --git a/comms/gqrx/Makefile b/comms/gqrx/Makefile
index 51574f008009..13f1ac1f4662 100644
--- a/comms/gqrx/Makefile
+++ b/comms/gqrx/Makefile
@@ -14,25 +14,20 @@ COMMENT= Qt-based software defined radio receiver
LICENSE= GPLv3
-LIB_DEPENDS= gnuradio-core:${PORTSDIR}/comms/gnuradio \
- gnuradio-audio:${PORTSDIR}/comms/gnuradio \
- gnuradio-osmosdr:${PORTSDIR}/comms/gr-osmosdr \
- pulse:${PORTSDIR}/audio/pulseaudio \
- pulse-simple:${PORTSDIR}/audio/pulseaudio \
- boost_system:${PORTSDIR}/devel/boost-libs \
- boost_program_options:${PORTSDIR}/devel/boost-libs
+LIB_DEPENDS= libgnuradio-core.so:${PORTSDIR}/comms/gnuradio \
+ libgnuradio-audio.so:${PORTSDIR}/comms/gnuradio \
+ libgnuradio-osmosdr.so:${PORTSDIR}/comms/gr-osmosdr \
+ libpulse.so:${PORTSDIR}/audio/pulseaudio \
+ libpulse-simple.so:${PORTSDIR}/audio/pulseaudio \
+ libboost_system.so:${PORTSDIR}/devel/boost-libs \
+ libboost_program_options.so:${PORTSDIR}/devel/boost-libs
-USES= pkgconfig
-USE_QT4= qmake_build moc_build rcc_build uic_build corelib gui svg
+USES= pkgconfig qmake
+USE_QT4= moc_build rcc_build uic_build corelib gui svg
PLIST_FILES= bin/gqrx
-NO_STAGE= yes
-do-configure:
- cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
- ${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS}
-
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/gqrx ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/gqrx ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>
diff --git a/comms/qsstv/Makefile b/comms/qsstv/Makefile
index c37da2cd0bb4..e7e71154106c 100644
--- a/comms/qsstv/Makefile
+++ b/comms/qsstv/Makefile
@@ -12,16 +12,16 @@ EXTRACT_SUFX= .tgz
MAINTAINER= shurd@sasktel.net
COMMENT= Amateur Radio SSTV/FAX reception program for unix
-LIB_DEPENDS= fftw3:${PORTSDIR}/math/fftw3 \
- hamlib:${PORTSDIR}/comms/hamlib \
- asound:${PORTSDIR}/audio/alsa-lib
+LIB_DEPENDS= libfftw3.so:${PORTSDIR}/math/fftw3 \
+ libhamlib.so:${PORTSDIR}/comms/hamlib \
+ libasound.so:${PORTSDIR}/audio/alsa-lib
BUILD_DEPENDS= v4l_compat>=0:${PORTSDIR}/multimedia/v4l_compat
-USE_QT4= gui network moc_build qmake_build rcc_build uic_build
+USES= qmake
+USE_QT4= gui network moc_build rcc_build uic_build
OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ! ${PORT_OPTIONS:MDOCS}
@@ -36,8 +36,4 @@ post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
${WRKSRC}/src/src.pro
-do-configure:
- @cd ${WRKSRC}; \
- ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS} ${DISTNAME}.pro
-
.include <bsd.port.mk>