2022-12-08 10:17:37 +00:00
|
|
|
PORTNAME= quisk
|
2023-06-28 18:35:09 +00:00
|
|
|
DISTVERSION= 4.2.19
|
2023-11-23 11:20:28 +00:00
|
|
|
PORTREVISION= 2
|
2022-12-08 10:17:37 +00:00
|
|
|
CATEGORIES= comms hamradio
|
2023-01-11 15:47:15 +00:00
|
|
|
MASTER_SITES= PYPI
|
2022-12-08 10:17:37 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2023-06-14 22:00:28 +00:00
|
|
|
USES= python
|
2022-12-08 10:17:37 +00:00
|
|
|
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>
|