diff options
author | makc <makc@FreeBSD.org> | 2013-11-22 20:55:00 +0800 |
---|---|---|
committer | makc <makc@FreeBSD.org> | 2013-11-22 20:55:00 +0800 |
commit | 612bc3c9c8698b6a8cdbb965267678a0ac829218 (patch) | |
tree | edc1328e7d68e649db202ae07c396b88869f73de /comms | |
parent | 83574ff9450fce1ff644a38992000262dfd6586b (diff) | |
download | freebsd-ports-gnome-612bc3c9c8698b6a8cdbb965267678a0ac829218.tar.gz freebsd-ports-gnome-612bc3c9c8698b6a8cdbb965267678a0ac829218.tar.zst freebsd-ports-gnome-612bc3c9c8698b6a8cdbb965267678a0ac829218.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)
Diffstat (limited to 'comms')
-rw-r--r-- | comms/gqrx/Makefile | 25 | ||||
-rw-r--r-- | comms/qsstv/Makefile | 14 |
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> |