aboutsummaryrefslogtreecommitdiffstats
path: root/comms/qsstv/Makefile
blob: 7bbffe7924ec4a5cdbd500795437e1b649b2e2b9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# $FreeBSD$

PORTNAME=   qsstv
PORTVERSION=    8.2.9
PORTREVISION=   1
CATEGORIES= comms hamradio
MASTER_SITES=   http://users.telenet.be/on4qz/qsstv/downloads/ \
        ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= shurd
DISTNAME=   ${PORTNAME}_${PORTVERSION}

MAINTAINER= hamradio@FreeBSD.org
COMMENT=    Amateur Radio SSTV/FAX reception program for unix

LICENSE=    GPLv3

LIB_DEPENDS=    libfftw3.so:${PORTSDIR}/math/fftw3 \
        libfftw3f.so:${PORTSDIR}/math/fftw3-float \
        libhamlib.so:${PORTSDIR}/comms/hamlib \
        libasound.so:${PORTSDIR}/audio/alsa-lib \
        libjasper.so:${PORTSDIR}/graphics/jasper
BUILD_DEPENDS=  v4l_compat>=0:${PORTSDIR}/multimedia/v4l_compat

USES=       qmake
USE_QT4=    gui network xml moc_build rcc_build uic_build

OPTIONS_DEFINE= DOCS
DOCS_BUILD_DEPENDS= doxygen:${PORTSDIR}/devel/doxygen

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MDOCS}
QMAKE_ARGS= CONFIG+=with_docs
.endif

post-patch:
    ${REINPLACE_CMD} -e 's|%%DOCSDIR%%|${STAGEDIR}${DOCSDIR}|g' \
        ${WRKSRC}/qsstv/Documentation/manual/manual.doxy

.include <bsd.port.mk>