ea8c8ec7da
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3 to GCC 9.1 under most circumstances now after revision 507371. This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using Mk/bsd.octave.mk which in turn features USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang, c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib plus, everything INDEX-11 shows with a dependency on lang/gcc9 now. PR: 238330
54 lines
1.5 KiB
Makefile
54 lines
1.5 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= qsstv
|
|
PORTVERSION= 9.3.3
|
|
PORTREVISION= 2
|
|
CATEGORIES= comms hamradio
|
|
MASTER_SITES= http://users.telenet.be/on4qz/qsstv/downloads/ \
|
|
LOCAL/shurd
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
|
|
MAINTAINER= hamradio@FreeBSD.org
|
|
COMMENT= Amateur Radio SSTV/FAX reception program for unix
|
|
|
|
LICENSE= GPLv3
|
|
|
|
LIB_DEPENDS= libasound.so:audio/alsa-lib \
|
|
libfftw3.so:math/fftw3 \
|
|
libfftw3f.so:math/fftw3-float \
|
|
libhamlib.so:comms/hamlib \
|
|
libopenjp2.so:graphics/openjpeg \
|
|
libpulse.so:audio/pulseaudio \
|
|
libv4l2.so:multimedia/libv4l
|
|
BUILD_DEPENDS= v4l_compat>=0:multimedia/v4l_compat
|
|
|
|
USES= compiler:c++11-lang gl pkgconfig qmake qt:5
|
|
USE_QT= buildtools core gui network widgets xml
|
|
USE_GL= gl
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
DOCS_CXXFLAGS= -DWITH_DOCS
|
|
DOCS_QMAKE_ON= CONFIG+=dox
|
|
DOCS_BUILD_DEPENDS= doxygen:devel/doxygen
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
|
|
-e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
|
|
-e 's|%%DOCSDIR%%|${DOCSDIR}|g' \
|
|
-e 's|%%PERL%%|${PERL}|g' \
|
|
${WRKSRC}/qsstv/qsstv.pro ${WRKSRC}/qwt/qwt.pro \
|
|
${WRKSRC}/qsstv/config/directoriesconfig.cpp \
|
|
${WRKSRC}/qsstv/documentation/manual/manual.doxy \
|
|
${WRKSRC}/qsstv/documentation/manual/manual.txt \
|
|
${WRKSRC}/qsstv/documentation/api/api.doxy
|
|
${RM} ${WRKSRC}/qsstv/documentation/manual/manual.txt.*
|
|
${RM} ${WRKSRC}/qsstv/documentation/manual/manual.*.orig
|
|
|
|
post-install:
|
|
-${RM} ${STAGEDIR}/${DOCSDIR}/manual.doxy
|
|
-${RM} ${STAGEDIR}/${DOCSDIR}/doxygen_sqlite3.db
|
|
-${RM} ${STAGEDIR}/${DOCSDIR}/*.bak
|
|
-${RM} ${STAGEDIR}/${DOCSDIR}/*.orig
|
|
|
|
.include <bsd.port.mk>
|