aboutsummaryrefslogtreecommitdiffstats
path: root/comms/redsea/Makefile
blob: 17a05ddaa064c94375b67c6724eb54b4267abe2d (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
# $FreeBSD$

PORTNAME=   redsea
DISTVERSIONPREFIX=  v
DISTVERSION=    0.17.1
PORTREVISION=   1
CATEGORIES= comms

MAINTAINER= morrand276@gmail.com
COMMENT=    Lightweight command-line FM-RDS decoder

LICENSE=    MIT
LICENSE_FILE=   ${WRKSRC}/LICENSE

LIB_DEPENDS=    libsndfile.so:audio/libsndfile

USES=   autoreconf:build compiler:c++14-lang iconv localbase:ldflags
USE_GITHUB= yes
GH_ACCOUNT= windytan

GNU_CONFIGURE=  yes
PLIST_FILES=    bin/redsea ${DOCSDIR}/README.md

OPTIONS_DEFINE=     DEMOD TMC
OPTIONS_DEFAULT=    DEMOD TMC

DEMOD_DESC= Demodulation support via comms/liquid-dsp
TMC_DESC=   Decoding support for TMC traffic messages (may slow building)

DEMOD_CONFIGURE_WITH=   liquid
DEMOD_LIB_DEPENDS=  libliquid.so:comms/liquid-dsp
TMC_CONFIGURE_ENABLE=   tmc

pre-configure:
    @cd ${WRKSRC} && ${AUTORECONF} -i

.include <bsd.port.mk>