1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

comms/wsjtz: Fix build

- Add missing dependencies
- Add DOCS option
Reported by:	pkg-fallout
This commit is contained in:
Jose Alonso Cardenas Marquez 2021-09-03 02:29:44 -05:00
parent b3408688b0
commit 98516d34df

View File

@ -19,14 +19,16 @@ BUILD_DEPENDS= asciidoctor:textproc/rubygem-asciidoctor \
${LOCALBASE}/share/xsl/docbook:textproc/docbook-xsl
LIB_DEPENDS= libfftw3.so:math/fftw3 \
libfftw3f.so:math/fftw3-float \
libxslt.so:textproc/libxslt
libxslt.so:textproc/libxslt \
libhamlib.so:comms/hamlib \
libreadline.so:devel/readline
USES= cmake compiler:c++11-lib fortran gl \
makeinfo pkgconfig qt:5 zip
USE_GL= glu
USE_QT= core gui network widgets \
multimedia concurrent printsupport serialport sql sql-sqlite3 \
buildtools_build linguisttools_build qmake_build
testlib buildtools_build linguisttools_build qmake_build
CMAKE_ARGS+= -DCMAKE_PREFIX_PATH+=${LOCALBASE}/wsjtx/lib \
-DLOCALBASE::STRING="${LOCALBASE}"
@ -34,6 +36,8 @@ CMAKE_ARGS+= -DCMAKE_PREFIX_PATH+=${LOCALBASE}/wsjtx/lib \
#CMAKE_ARGS+= --debug-output --trace
PLIST_SUB+= PORTVERSION="${PORTVERSION}"
OPTIONS_DEFINE= DOCS
PORTDOCS= *
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME:S/z/x/}