2013-08-14 21:52:50 -04:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= qsstv
|
2019-04-19 03:42:54 -04:00
|
|
|
PORTVERSION= 9.3.3
|
2021-01-09 10:07:18 -05:00
|
|
|
PORTREVISION= 3
|
2013-08-14 21:52:50 -04:00
|
|
|
CATEGORIES= comms hamradio
|
|
|
|
MASTER_SITES= http://users.telenet.be/on4qz/qsstv/downloads/ \
|
2019-04-19 03:42:54 -04:00
|
|
|
LOCAL/shurd
|
2013-08-14 21:52:50 -04:00
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
|
|
|
2014-11-23 14:33:16 -05:00
|
|
|
MAINTAINER= hamradio@FreeBSD.org
|
2013-08-14 21:52:50 -04:00
|
|
|
COMMENT= Amateur Radio SSTV/FAX reception program for unix
|
|
|
|
|
2014-04-11 15:36:15 -04:00
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2016-04-11 23:45:44 -04:00
|
|
|
LIB_DEPENDS= libasound.so:audio/alsa-lib \
|
|
|
|
libfftw3.so:math/fftw3 \
|
2016-04-01 09:29:15 -04:00
|
|
|
libfftw3f.so:math/fftw3-float \
|
|
|
|
libhamlib.so:comms/hamlib \
|
2016-11-16 16:25:38 -05:00
|
|
|
libopenjp2.so:graphics/openjpeg \
|
2016-04-10 17:54:40 -04:00
|
|
|
libpulse.so:audio/pulseaudio \
|
2016-04-11 23:45:44 -04:00
|
|
|
libv4l2.so:multimedia/libv4l
|
2016-04-01 09:29:15 -04:00
|
|
|
BUILD_DEPENDS= v4l_compat>=0:multimedia/v4l_compat
|
2013-08-14 21:52:50 -04:00
|
|
|
|
2019-04-19 03:42:54 -04:00
|
|
|
USES= compiler:c++11-lang gl pkgconfig qmake qt:5
|
2018-06-28 13:39:53 -04:00
|
|
|
USE_QT= buildtools core gui network widgets xml
|
2019-04-19 03:42:54 -04:00
|
|
|
USE_GL= gl
|
2016-04-10 17:54:40 -04:00
|
|
|
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
DOCS_CXXFLAGS= -DWITH_DOCS
|
2019-04-19 03:42:54 -04:00
|
|
|
DOCS_QMAKE_ON= CONFIG+=dox
|
|
|
|
DOCS_BUILD_DEPENDS= doxygen:devel/doxygen
|
2016-04-10 17:54:40 -04:00
|
|
|
|
|
|
|
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 \
|
2019-04-19 03:42:54 -04:00
|
|
|
${WRKSRC}/qsstv/documentation/manual/manual.txt \
|
|
|
|
${WRKSRC}/qsstv/documentation/api/api.doxy
|
2016-04-10 17:54:40 -04:00
|
|
|
${RM} ${WRKSRC}/qsstv/documentation/manual/manual.txt.*
|
|
|
|
${RM} ${WRKSRC}/qsstv/documentation/manual/manual.*.orig
|
|
|
|
|
2016-12-02 06:58:21 -05:00
|
|
|
post-install:
|
2016-04-10 17:54:40 -04:00
|
|
|
-${RM} ${STAGEDIR}/${DOCSDIR}/manual.doxy
|
|
|
|
-${RM} ${STAGEDIR}/${DOCSDIR}/doxygen_sqlite3.db
|
|
|
|
-${RM} ${STAGEDIR}/${DOCSDIR}/*.bak
|
|
|
|
-${RM} ${STAGEDIR}/${DOCSDIR}/*.orig
|
2014-12-07 19:30:39 -05:00
|
|
|
|
2013-08-14 21:52:50 -04:00
|
|
|
.include <bsd.port.mk>
|