aboutsummaryrefslogtreecommitdiff
path: root/comms/hackrf-devel/Makefile
blob: cbe4050d06bdda6c6e2d62013aca58eef36f3272 (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
PORTNAME=	hackrf
PORTVERSION=	g${GIT_SRC_DATE}
PORTREVISION=	1
CATEGORIES=	comms devel hamradio science security
PKGNAMESUFFIX=	-devel

MAINTAINER=	mr@freebsd.org
COMMENT=	Low cost open source hardware software radio platform
WWW=		https://greatscottgadgets.com/hackrf/

LICENSE=	GPLv2

LIB_DEPENDS=	libfftw3.so:math/fftw3 \
		libfftw3f.so:math/fftw3-float

CONFLICTS=	hackrf

USE_GITHUB=	YES
GH_ACCOUNT=	mossmann
GH_TAGNAME=	${GIT_SRC_HASH}

USES=		cmake
CMAKE_SOURCE_PATH=	${WRKSRC}/host
CMAKE_ARGS=	-DLIBUSB_LIBRARIES=/usr/lib/libusb.so

USE_LDCONFIG=	yes

.include "Makefile.git_rev"

.include <bsd.port.mk>