Line 0
Link Here
|
|
|
1 |
# $FreeBSD$ |
2 |
|
3 |
PORTNAME= redsea |
4 |
DISTVERSIONPREFIX= v |
5 |
DISTVERSION= 0.17.1 |
6 |
CATEGORIES= comms |
7 |
|
8 |
MAINTAINER= morrand@amorriseng.com |
9 |
COMMENT= Lightweight command-line FM-RDS decoder |
10 |
|
11 |
LICENSE= MIT |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
13 |
|
14 |
LIB_DEPENDS= libsndfile.so:audio/libsndfile |
15 |
|
16 |
USES= autoreconf:build iconv compiler:c++14-lang localbase:ldflags |
17 |
|
18 |
USE_GITHUB= yes |
19 |
GH_ACCOUNT= windytan |
20 |
GH_PROJECT= redsea |
21 |
|
22 |
GNU_CONFIGURE= yes |
23 |
|
24 |
OPTIONS_DEFINE= TMC DEMOD |
25 |
OPTIONS_DEFAULT= TMC DEMOD |
26 |
|
27 |
TMC_DESC= TMC (traffic messages) support (may slow building) |
28 |
DEMOD_DESC= Demodulation support via comms/liquid-dsp |
29 |
|
30 |
TMC_CONFIGURE_ENABLE= tmc |
31 |
DEMOD_CONFIGURE_WITH= liquid |
32 |
DEMOD_LIB_DEPENDS= libliquid.so:comms/liquid-dsp |
33 |
|
34 |
# No, this is not the ideal way to do this, but per the author's |
35 |
# instructions, autogen.sh needs to be run first, which just calls |
36 |
# autoreconf with the --install flag. As we have no option for that in |
37 |
# the standard Mk include, and as it gets confused about what the |
38 |
# working directory is if we just call autogen.sh, do it manually here: |
39 |
|
40 |
pre-configure: |
41 |
autoreconf --install ${WRKSRC} |
42 |
|
43 |
.include <bsd.port.mk> |