1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00
Files
Diane Bruce 1422def197 comms/hamlib: Update hamlib to 4.7.1
The Hamlib Project is pleased to announce the release of Hamlib 4.7.1.

This release includes two new radio models, many fixes and improvements to
various radio models.

Here is a short changelog for this release:

Version 4.7.1
 * 2026-04-15
 * Fix unknown type compilation errors on Alpine Linux.  (TNX Bradfor Boyle)
 * Fix rig port timeout.  (TNX Matthias Moelller)
 * Update ReleaseNotes*.md.  (TNX George Baltz)
 * Fix various FTX-1 meter, level and CTCSS table.  (TNX KJ5HST)
 * Add power off capability to Flrig backend.  (TNX Philip Rose)
 * Replace strncpy with memcpy to quell GCC 16 warning.  (TNX George Baltz)
 * Add SWR to supported 'get levels' for K3/K4.  (TNX Tom Crayner (reporter))
 * Add get_split_vfo to TS-850 backend.  (TNX Elisamuel Resto)
 * New simplecat backend.  Supports Bunzee Labs DDX.  (TNX Dhiru Kholia)
 * Fix and generalize clock handling for Icom radios.  (TNX George Baltz)
 * Fix Yaesu attenuator levels and LVL_KEYSPD reinitialization.  (TNX George Baltz)
 * Add new rig model Harris PRC-138.  (TNX Antonio Regazzoni)
 * Various FT-710 fixes, especially handling SH format and RX bandwidth.
   Ensure FT-710 simulator rejects RF command.  (TNX George Baltz)
 * Fix low power calculation for K3/K3S.  (N0NB)
 * Fix FTX-1 SH bandwidth command in set/get_mode.  (TNX Terrell Deppe)
 * Quell initializer overrides prior initialzation clang warning in ftx1.c
   and fix compiler warning in hd1780.c.  (TNX George Baltz)

Source archive and MS Windows binaries may be downloaded from:

https://github.com/Hamlib/Hamlib/releases/tag/4.7.1
https://sourceforge.net/projects/hamlib/files/hamlib/4.7.1/

73, Nate
2026-04-17 20:50:06 -04:00

61 lines
1.5 KiB
Makefile

PORTNAME= hamlib
DISTVERSION= 4.7.1
CATEGORIES= comms hamradio
MASTER_SITES= SF
MAINTAINER= hamradio@FreeBSD.org
COMMENT= Shared libraries for Amateur Radio Equipment Control Applications
WWW= https://sourceforge.net/projects/hamlib/
LICENSE= GPLv2+ LGPL21+
LICENSE_COMB= multi
LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING
LICENSE_FILE_LGPL21+ = ${WRKSRC}/COPYING.LIB
BUILD_DEPENDS= swig:devel/swig
USES= autoreconf gnome libtool:keepla localbase:ldflags perl5 \
pkgconfig python readline shebangfix tcl
USE_LDCONFIG= yes
USE_PERL5= build run
USE_PYTHON= py3kplist
# $TCL_INCLUDE_SPEC
SHEBANG_FILES= bindings/perltest.pl
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-libusb \
--with-perl-binding \
--with-python-binding \
--with-tcl-binding \
--with-tcl=${TCL_LIBDIR}
CONFIGURE_ENV= cf_with_cxx=yes \
LIBUSB_LIBS="-lusb"
INSTALL_TARGET= install-strip
PLIST_SUB= TCL_VER=${TCL_VER}
PORTDOCS= AUTHORS COPYING* ChangeLog INSTALL LICENSE NEWS PLAN README* THANKS
OPTIONS_DEFINE= DOCS STATIC
OPTIONS_SUB= yes
STATIC_CONFIGURE_ENABLE= static
post-build:
${PERL5} -pi -e 's/ doc_(perl|site|\$$\(INSTALLDIRS\))_install$$//' \
${WRKSRC}/bindings/Hamlib-pl.mk
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/${SITE_ARCH_REL}/auto/Hamlib/Hamlib.so
post-install-DOCS-on:
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
post-install-DOCS-off:
# Upstream scripts install some of the ${PORTDOCS} by default,
# so we need to remove the whole ${STAGEDIR}${DOCSDIR} explicitly.
${RM} -r ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>