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
49 lines
1.4 KiB
Makefile
49 lines
1.4 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= wsjtx
|
|
PORTVERSION= 2.0.1
|
|
PORTREVISION= 5
|
|
CATEGORIES= comms hamradio
|
|
MASTER_SITES= SF/wsjt/${PORTNAME}-${PORTVERSION}${DISTVERSIONSUFFIX}
|
|
|
|
MAINTAINER= hamradio@FreeBSD.org
|
|
COMMENT= Weak signal ham radio communication package
|
|
|
|
LICENSE= GPLv3
|
|
|
|
BUILD_DEPENDS= asciidoctor:textproc/rubygem-asciidoctor \
|
|
autoconf>=2.69:devel/autoconf \
|
|
automake>=1.16.1:devel/automake \
|
|
a2x:textproc/asciidoc \
|
|
libtool:devel/libtool \
|
|
${LOCALBASE}/share/xsl/docbook:textproc/docbook-xsl
|
|
LIB_DEPENDS= libfftw3.so:math/fftw3 \
|
|
libfftw3f.so:math/fftw3-float \
|
|
libxslt.so:textproc/libxslt \
|
|
libomp.so:devel/openmp
|
|
|
|
USES= cmake compiler:c++11-lib fortran gl \
|
|
makeinfo pkgconfig qt:5 tar:tgz
|
|
USE_GL= glu
|
|
USE_QT= core gui buildtools network qmake_build widgets \
|
|
multimedia concurrent printsupport serialport sql \
|
|
sql-sqlite3
|
|
|
|
CMAKE_ARGS+= -DCMAKE_PREFIX_PATH+=${LOCALBASE}/wsjtx/lib \
|
|
-DLOCALBASE::STRING="${LOCALBASE}"
|
|
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
|
|
|
|
post-patch:
|
|
${CP} ${FILESDIR}/wsjtx.patch ${WRKSRC}
|
|
${CP} ${FILESDIR}/hamlib.patch ${WRKSRC}
|
|
|
|
do-install:
|
|
(cd ${CONFIGURE_WRKSRC};${MAKE} -f Makefile DESTDIR=${STAGEDIR} install)
|
|
|
|
post-install:
|
|
.for f in fcal fmeasure fmtave ft8code jt4code jt65code jt9 jt9code \
|
|
message_aggregator msk144code qra64code qra64sim udp_daemon wsjtx wsprd
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|