# Created by: Tomasz "CeDeROM" CEDRO (http://www.tomek.cedro.info)
# $FreeBSD: head/comms/hackrf/Makefile 395641 2015-08-30 20:20:31Z pi $

PORTNAME=	hackrf
PORTVERSION=	2015.07.2
CATEGORIES=	comms devel hamradio science security

MAINTAINER=	cederom@tlen.pl
COMMENT=	Low cost open source hardware software radio platform

LICENSE=	GPLv2

USE_GITHUB=	YES
GH_ACCOUNT=	mossmann
GH_TAGNAME=	69c4997

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

USE_LDCONFIG=	yes

.include <bsd.port.mk>