aboutsummaryrefslogtreecommitdiffstats
path: root/comms/quisk/Makefile
blob: 5fc2187afdf54360602ab49c9eb81bf2b9b10d0b (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
# Created by: Stephen Hurd <shurd@FreeBSD.org>
# $FreeBSD$

PORTNAME=   quisk
PORTVERSION=    3.6.18
CATEGORIES= comms hamradio
MASTER_SITES=   http://james.ahlstrom.name/quisk/ \
        ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=shurd

MAINTAINER= hamradio@FreeBSD.org
COMMENT=    A Software Defined Radio (SDR)

LICENSE=    GPLv2

LIB_DEPENDS=    libfftw3.so:${PORTSDIR}/math/fftw3 \
        portaudio2/libportaudio.so:${PORTSDIR}/audio/portaudio2 \
        libasound.so:${PORTSDIR}/audio/alsa-lib \
        libpulse.so:${PORTSDIR}/audio/pulseaudio

USE_PYTHON= 2.7+
USE_WX=     2.8+
WANT_UNICODE=   yes
WX_COMPS=   python
USE_PYDISTUTILS=yes
PYDISTUTILS_AUTOPLIST=  yes

post-extract:
    ${RM} ${WRKSRC}/_quisk.so ${WRKSRC}/sdriqpkg/sdriq.so

post-patch:
    ${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/setup.py

.include <bsd.port.mk>