diff --git a/comms/Makefile b/comms/Makefile index 2fdb7d70fe2e..ca0cef090c7a 100644 --- a/comms/Makefile +++ b/comms/Makefile @@ -1,237 +1,238 @@ COMMENT = Communication utilities SUBDIR += acfax SUBDIR += airspy SUBDIR += airspyhf SUBDIR += aldo SUBDIR += amtterm SUBDIR += anyremote SUBDIR += apitran SUBDIR += aprsd SUBDIR += atslog SUBDIR += bfhist SUBDIR += bforce-kst SUBDIR += birda SUBDIR += bladerf SUBDIR += bluegps SUBDIR += bluez-firmware SUBDIR += bpl+ SUBDIR += chirp SUBDIR += chu SUBDIR += conserver-com SUBDIR += cqrlog SUBDIR += cubicsdr SUBDIR += cutecom SUBDIR += cwdaemon SUBDIR += cwstudio SUBDIR += cyclonedds SUBDIR += dcf77pi SUBDIR += deforaos-phone SUBDIR += dfu-programmer SUBDIR += dfu-util SUBDIR += digiham SUBDIR += direwolf SUBDIR += dsd SUBDIR += dump1090 SUBDIR += ebook2cw SUBDIR += ebusd SUBDIR += echolinux SUBDIR += ems-flasher SUBDIR += fl_moxgen SUBDIR += flamp SUBDIR += flcluster SUBDIR += fldigi SUBDIR += fllog SUBDIR += flmsg SUBDIR += flrig SUBDIR += flwrap SUBDIR += freedv SUBDIR += gammu SUBDIR += gensio SUBDIR += gkermit SUBDIR += gnocky SUBDIR += gnokii SUBDIR += gnuradio SUBDIR += gpredict SUBDIR += gqrx SUBDIR += gr-osmosdr SUBDIR += grig SUBDIR += gstreamer1-plugins-spandsp SUBDIR += gtkmmorse SUBDIR += hackrf SUBDIR += hamlib SUBDIR += hcidump SUBDIR += hidapi + SUBDIR += hydrasdr SUBDIR += ibp SUBDIR += iceoryx SUBDIR += inspectrum SUBDIR += iwmbt-firmware SUBDIR += java-simple-serial-connector SUBDIR += kermit SUBDIR += klog SUBDIR += libdc SUBDIR += libfap SUBDIR += libfec SUBDIR += libfobos SUBDIR += libimobiledevice SUBDIR += libimobiledevice-glue SUBDIR += libirman SUBDIR += libmodbus SUBDIR += librs232 SUBDIR += libsdr SUBDIR += libsdr-gui SUBDIR += libticables2 SUBDIR += libticalcs2 SUBDIR += libusbmuxd SUBDIR += libusbsio SUBDIR += limesuite SUBDIR += linrad SUBDIR += linux-rl9-qt5-qtconnectivity SUBDIR += linux-rl9-qt5-qtsensors SUBDIR += linux-rl9-qt5-qtserialbus SUBDIR += linux-rl9-qt5-qtserialport SUBDIR += liquid-dsp SUBDIR += lirc SUBDIR += locator SUBDIR += lrzsz SUBDIR += lysdr SUBDIR += mbelib SUBDIR += mgetty+sendfax SUBDIR += minicom SUBDIR += morse SUBDIR += multimon-ng SUBDIR += nanovna-saver SUBDIR += nasawash SUBDIR += nec2c SUBDIR += nmealib SUBDIR += obexapp SUBDIR += opencbm SUBDIR += opencbm-kmod SUBDIR += opencbm-plugin-xa1541 SUBDIR += openobex SUBDIR += openzwave SUBDIR += owfs SUBDIR += p5-Cisco-UCS SUBDIR += p5-Device-Gsm SUBDIR += p5-Device-Modem SUBDIR += p5-Device-SerialPort SUBDIR += p5-Fax-Hylafax-Client SUBDIR += p5-Nexmo-SMS SUBDIR += p5-SMS-SMS77 SUBDIR += p5-SMS-Send SUBDIR += p5-SMS-Send-DeviceGsm SUBDIR += p5-SMS-Send-NexmoUnicode SUBDIR += p5-SMS-Send-TW-HiAir SUBDIR += p5-SMS-Send-TW-PChome SUBDIR += p5-SMS-Send-TW-Socket2Air SUBDIR += p5-SMS-Send-TW-chtsns SUBDIR += p5-SMS-Send-TW-emome SUBDIR += pear-Horde_ActiveSync SUBDIR += pear-Horde_SyncMl SUBDIR += picocom SUBDIR += pr SUBDIR += predict SUBDIR += py-ModbusTCP SUBDIR += py-adafruit-ampy SUBDIR += py-elelabs-zigbee-ezsp-utility SUBDIR += py-esptool SUBDIR += py-fritzconnection SUBDIR += py-hid SUBDIR += py-hidapi SUBDIR += py-libimobiledevice SUBDIR += py-libscrc SUBDIR += py-libusbsio SUBDIR += py-nkdfu SUBDIR += py-pylink-square SUBDIR += py-pymodbus SUBDIR += py-pyocd SUBDIR += py-pyocd-pemicro SUBDIR += py-pyserial SUBDIR += py-pyserial-asyncio SUBDIR += py-sdm_modbus SUBDIR += py-spsdk SUBDIR += py-streamdeck SUBDIR += py-xmodem SUBDIR += pyla SUBDIR += qico SUBDIR += qpage SUBDIR += qrq SUBDIR += qsstv SUBDIR += qt5-connectivity SUBDIR += qt5-sensors SUBDIR += qt5-serialbus SUBDIR += qt5-serialport SUBDIR += qt6-connectivity SUBDIR += qt6-sensors SUBDIR += qt6-serialbus SUBDIR += qt6-serialport SUBDIR += qtel SUBDIR += quisk SUBDIR += redsea SUBDIR += remserial SUBDIR += rtl-433 SUBDIR += rtl-sdr SUBDIR += rtlbt-firmware SUBDIR += rubygem-callsign SUBDIR += rubygem-ruby-termios SUBDIR += rubygem-serialport SUBDIR += rxtx SUBDIR += scmxx SUBDIR += scrcpy SUBDIR += sdr++ SUBDIR += ser2net SUBDIR += serialoverip SUBDIR += sigdigger SUBDIR += sigutils SUBDIR += smstools3 SUBDIR += snap7 SUBDIR += soapyairspy SUBDIR += soapybladerf SUBDIR += soapyplutosdr SUBDIR += soapyredpitaya SUBDIR += soapyremote SUBDIR += soapysdr-rtlsdr SUBDIR += soapysdrhackrf SUBDIR += soapyuhd SUBDIR += spandsp SUBDIR += splat SUBDIR += sredird SUBDIR += sunxi-tools SUBDIR += suscan SUBDIR += suwidgets SUBDIR += svxlink SUBDIR += syncterm SUBDIR += tcpser SUBDIR += thebridge SUBDIR += tilp2 SUBDIR += tio SUBDIR += tits SUBDIR += tkscanfax SUBDIR += tlf SUBDIR += trustedqsl SUBDIR += twpsk SUBDIR += uarduno SUBDIR += uhd SUBDIR += uird SUBDIR += ujprog SUBDIR += unixcw SUBDIR += usbmuxd SUBDIR += viewfax SUBDIR += vrflash SUBDIR += wsjtx SUBDIR += wsjtz SUBDIR += wwl SUBDIR += wy60 SUBDIR += xastir SUBDIR += xcwcp SUBDIR += xdemorse SUBDIR += xdx SUBDIR += xlog SUBDIR += xmorse SUBDIR += xnec2c SUBDIR += xnecview SUBDIR += yagiuda SUBDIR += yfklog SUBDIR += zigbee2mqtt .include diff --git a/comms/hydrasdr/Makefile b/comms/hydrasdr/Makefile new file mode 100644 index 000000000000..56e29c080a83 --- /dev/null +++ b/comms/hydrasdr/Makefile @@ -0,0 +1,28 @@ +PORTNAME= hydrasdr +DISTVERSIONPREFIX= v +DISTVERSION= 1.0.2 +CATEGORIES= comms hamradio + +MAINTAINER= unitrunker@gmail.com +COMMENT= HydraSDR RFONE's host library and associated tools +WWW= https://hydrasdr.com/ + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/hydrasdr-tools/LICENSE.md + +USES= cmake pkgconfig +USE_GITHUB= yes +GH_PROJECT= rfone_host +USE_LDCONFIG= yes + +CMAKE_OFF= INSTALL_UDEV_RULES +CMAKE_ARGS= -DLIBUSB_LIBRARIES="/usr/lib/libusb.so" \ + -DLIBUSB_INCLUDE_DIR="/usr/include" +OPTIONS_DEFINE_amd64= SIMD +OPTIONS_DEFINE_i386= SIMD +OPTIONS_DEFAULT_amd64= SIMD +OPTIONS_DEFAULT_i386= SIMD + +SIMD_CFLAGS= -DFREEBSD_USE_SIMD -msse -msse2 -mfpmath=sse -mmmx + +.include diff --git a/comms/hydrasdr/distinfo b/comms/hydrasdr/distinfo new file mode 100644 index 000000000000..80c529e2c654 --- /dev/null +++ b/comms/hydrasdr/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1753631782 +SHA256 (hydrasdr-rfone_host-v1.0.2_GH0.tar.gz) = 4d5d47bd5f34479073b50229e95be606d6236714c048af97ed356ab090f158ac +SIZE (hydrasdr-rfone_host-v1.0.2_GH0.tar.gz) = 270469 diff --git a/comms/hydrasdr/files/patch-libhydrasdr_CMakeLists.txt b/comms/hydrasdr/files/patch-libhydrasdr_CMakeLists.txt new file mode 100644 index 000000000000..609c02a6a7c4 --- /dev/null +++ b/comms/hydrasdr/files/patch-libhydrasdr_CMakeLists.txt @@ -0,0 +1,22 @@ +--- libhydrasdr/CMakeLists.txt.orig 2025-07-17 22:22:04 UTC ++++ libhydrasdr/CMakeLists.txt +@@ -108,11 +108,18 @@ CONFIGURE_FILE( + ${CMAKE_CURRENT_BINARY_DIR}/libhydrasdr.pc + @ONLY) + ++STRING(COMPARE EQUAL ${BSD} "FreeBSD" FREEBSD) ++if (FREEBSD) + INSTALL( + FILES ${CMAKE_CURRENT_BINARY_DIR}/libhydrasdr.pc ++ DESTINATION libdata${LIB_SUFFIX}/pkgconfig ++) ++else() ++INSTALL( ++ FILES ${CMAKE_CURRENT_BINARY_DIR}/libhydrasdr.pc + DESTINATION lib${LIB_SUFFIX}/pkgconfig + ) +- ++endif() + ######################################################################## + # Create uninstall target + ######################################################################## diff --git a/comms/hydrasdr/pkg-descr b/comms/hydrasdr/pkg-descr new file mode 100644 index 000000000000..e965ee7c72ad --- /dev/null +++ b/comms/hydrasdr/pkg-descr @@ -0,0 +1,2 @@ +Host software for HydraSDR RFONE, a tiny, efficient and ultra evolutive +software defined radio. diff --git a/comms/hydrasdr/pkg-plist b/comms/hydrasdr/pkg-plist new file mode 100644 index 000000000000..684527fd20c7 --- /dev/null +++ b/comms/hydrasdr/pkg-plist @@ -0,0 +1,21 @@ +bin/hydrasdr_calibrate +bin/hydrasdr_gpio +bin/hydrasdr_gpiodir +bin/hydrasdr_info +bin/hydrasdr_lib_version +bin/hydrasdr_r82x +bin/hydrasdr_reset +bin/hydrasdr_rx +bin/hydrasdr_set_rf_port +bin/hydrasdr_si5351c +bin/hydrasdr_spiflash +include/libhydrasdr/filters.h +include/libhydrasdr/hydrasdr.h +include/libhydrasdr/hydrasdr_commands.h +include/libhydrasdr/iqconverter_float.h +include/libhydrasdr/iqconverter_int16.h +lib/libhydrasdr.a +lib/libhydrasdr.so +lib/libhydrasdr.so.0 +lib/libhydrasdr.so.1.0.2 +libdata/pkgconfig/libhydrasdr.pc