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

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

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

LICENSE=    GPLv2

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

USES=       python
USE_PYTHON= distutils autoplist
USE_WX=     3.0+
WX_COMPS=   python

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>