blob: 203e901821445d43270e39ea0beccaa505b12fe5 (
plain)
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
|
PORTNAME= quisk
DISTVERSION= 4.2.13
PORTREVISION= 1
CATEGORIES= comms hamradio
MASTER_SITES= PYPI
MAINTAINER= fbsd@thesoo.org
COMMENT= Software Defined Radio (SDR)
WWW= https://james.ahlstrom.name/quisk/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/license.txt
LIB_DEPENDS= libfftw3.so:math/fftw3 \
libportaudio.so:audio/portaudio \
libasound.so:audio/alsa-lib \
libpulse.so:audio/pulseaudio
USES= python:3.6+
USE_PYTHON= autoplist distutils noflavors
USE_WX= 3.2
WX_COMPS= python
post-extract:
@${RM} ${WRKSRC}/_quisk.so ${WRKSRC}/sdriqpkg/sdriq.so \
${WRKSRC}/freedvpkg/libcodec2_32.so \
${WRKSRC}/freedvpkg/libcodec2_64.so
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.py
post-stage:
@${FIND} ${STAGEDIR}${PREFIX} -name "*.so" | ${XARGS} ${STRIP_CMD}
.include <bsd.port.mk>
|