blob: c37da2cd0bb408c034a65698e0da58c14fd824cb (
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
41
42
43
|
# $FreeBSD$
PORTNAME= qsstv
PORTVERSION= 7.1.7
CATEGORIES= comms hamradio
MASTER_SITES= http://users.telenet.be/on4qz/qsstv/downloads/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= db
DISTNAME= ${PORTNAME}_${PORTVERSION}
EXTRACT_SUFX= .tgz
MAINTAINER= shurd@sasktel.net
COMMENT= Amateur Radio SSTV/FAX reception program for unix
LIB_DEPENDS= fftw3:${PORTSDIR}/math/fftw3 \
hamlib:${PORTSDIR}/comms/hamlib \
asound:${PORTSDIR}/audio/alsa-lib
BUILD_DEPENDS= v4l_compat>=0:${PORTSDIR}/multimedia/v4l_compat
USE_QT4= gui network moc_build qmake_build rcc_build uic_build
OPTIONS_DEFINE= DOCS
NO_STAGE= yes
.include <bsd.port.options.mk>
.if ! ${PORT_OPTIONS:MDOCS}
INSTALL_WRKSRC= ${WRKSRC}/src
INSTALL_TARGET= install_target
.endif
post-patch:
@${RM} -f ${WRKSRC}/src/documentation/html/gettingstarted.html.orig
@${REINPLACE_CMD} -e 's|%%DOCSDIR%%|${DOCSDIR}|g' \
${WRKSRC}/src/configdialog.cpp ${WRKSRC}/src/src.pro
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
${WRKSRC}/src/src.pro
do-configure:
@cd ${WRKSRC}; \
${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS} ${DISTNAME}.pro
.include <bsd.port.mk>
|