ports/comms/hackrf/Makefile
Älven e8d1b646ca
comms/hackrf: Update 2024.02.1 => 2026.01.1
Changelogs:
* https://github.com/greatscottgadgets/hackrf/releases/tag/v2026.01.1
* https://github.com/greatscottgadgets/hackrf/compare/v2024.02.1...v2026.01.1

* Use release tarball
* Clarify LICENSE
+ Specify LICENSE_FILE
+ Supply documentation via DOCS option
* Pet portclippy(1) and portfmt(1)

Reviewed by:		Tomasz "CeDeROM" Cedro (SQ7MHZ) <tomek@cedro.info>
Tested by:		Tomasz "CeDeROM" Cedro (SQ7MHZ) <tomek@cedro.info>
Approved by:		db@ (Mentor)
Approved by:	    	db@, yuri@ (Mentors, implicit)
Differential Revision:	https://reviews.freebsd.org/D54589
2026-02-16 21:35:54 +04:00

32 lines
739 B
Makefile

PORTNAME= hackrf
DISTVERSION= 2026.01.1
CATEGORIES= comms devel hamradio science security
MASTER_SITES= https://github.com/greatscottgadgets/${PORTNAME}/releases/download/v${DISTVERSION}/
MAINTAINER= tomek@cedro.info
COMMENT= Low cost open source hardware software radio platform
WWW= https://greatscottgadgets.com/hackrf/
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libfftw3.so:math/fftw3 \
libfftw3f.so:math/fftw3-float
USES= cmake tar:xz
USE_LDCONFIG= yes
CMAKE_ARGS= -DLIBUSB_LIBRARIES=/usr/lib/libusb.so
CMAKE_SOURCE_PATH= ${WRKSRC}/host
CONFLICTS= hackrf-devel
PORTDOCS= *
OPTIONS_DEFINE= DOCS
post-install-DOCS-on:
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>