Index: head/comms/Makefile =================================================================== --- head/comms/Makefile (revision 395640) +++ head/comms/Makefile (revision 395641) @@ -1,198 +1,199 @@ # $FreeBSD$ # COMMENT = Communication utilities SUBDIR += acfax SUBDIR += aldo SUBDIR += amtterm SUBDIR += anyremote SUBDIR += aprsd SUBDIR += atslog SUBDIR += bfhist SUBDIR += bforce SUBDIR += bforce-kst SUBDIR += birda SUBDIR += bluegps SUBDIR += bluez-firmware SUBDIR += bpl+ SUBDIR += cdr_read SUBDIR += chirp SUBDIR += chu SUBDIR += comserv SUBDIR += concordance SUBDIR += congruity SUBDIR += conserver SUBDIR += conserver-com SUBDIR += cqrlog SUBDIR += cutecom SUBDIR += cwdaemon SUBDIR += dabstick-radio SUBDIR += dcf77pi SUBDIR += deforaos-phone SUBDIR += dfu-programmer SUBDIR += dfu-util SUBDIR += dump1090 SUBDIR += dump1090_mr SUBDIR += ebook2cw SUBDIR += ebook2cwgui SUBDIR += echolinux SUBDIR += efax SUBDIR += efax-gtk SUBDIR += ems-flasher SUBDIR += esmska SUBDIR += fl_moxgen SUBDIR += fldigi SUBDIR += fllog SUBDIR += flrig SUBDIR += flwrap SUBDIR += gammu SUBDIR += ge-x2212 SUBDIR += geoid SUBDIR += gkermit SUBDIR += gmfsk SUBDIR += gnocky SUBDIR += gnokii SUBDIR += gnuradio SUBDIR += gpredict SUBDIR += gpsk31 SUBDIR += gqrx SUBDIR += gr-osmosdr SUBDIR += grig SUBDIR += gscmxx SUBDIR += gsmlib SUBDIR += gstreamer1-plugins-spandsp SUBDIR += gtkmmorse + SUBDIR += hackrf SUBDIR += hamfax SUBDIR += hamlib SUBDIR += hcidump SUBDIR += hf SUBDIR += hidapi SUBDIR += hylafax SUBDIR += ibp SUBDIR += java-commapi SUBDIR += java-commapi-freebsd SUBDIR += jerm SUBDIR += jsdr SUBDIR += kb SUBDIR += kermit SUBDIR += klog SUBDIR += kremotecontrol SUBDIR += kvasd SUBDIR += libconcord SUBDIR += libfec SUBDIR += libimobiledevice SUBDIR += libirman SUBDIR += libmodbus SUBDIR += librs232 SUBDIR += libticables2 SUBDIR += libticalcs2 SUBDIR += libusbmuxd SUBDIR += linpsk SUBDIR += linrad SUBDIR += lirc SUBDIR += locator SUBDIR += lrzsz SUBDIR += lysdr SUBDIR += mgetty+sendfax SUBDIR += minicom SUBDIR += mlan3 SUBDIR += morse SUBDIR += nasawash SUBDIR += ncid SUBDIR += nec2c SUBDIR += nmealib SUBDIR += nokryptia SUBDIR += o2sms SUBDIR += obexapp SUBDIR += openobex 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-Qma SUBDIR += p5-SMS-Send-TW-ShareSMS 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-bulksms SUBDIR += py-libconcord SUBDIR += py-libimobiledevice SUBDIR += py-lirc SUBDIR += py-serial SUBDIR += pyla SUBDIR += qico SUBDIR += qpage SUBDIR += qrq SUBDIR += qsstv SUBDIR += qt5-serialport SUBDIR += qtel SUBDIR += quisk SUBDIR += remserial SUBDIR += rtl-sdr SUBDIR += rubygem-callsign SUBDIR += rubygem-ruby-termios SUBDIR += rxtx SUBDIR += scmxx SUBDIR += ser2net SUBDIR += serialoverip SUBDIR += seyon SUBDIR += sms_client SUBDIR += smstools3 SUBDIR += soundmodem SUBDIR += spandsp SUBDIR += splat SUBDIR += sredird SUBDIR += svxlink SUBDIR += syncterm SUBDIR += tcpser SUBDIR += telldus-core SUBDIR += thebridge SUBDIR += tilp2 SUBDIR += tits SUBDIR += tkhylafax SUBDIR += tkscanfax SUBDIR += tlf SUBDIR += trustedqsl SUBDIR += twpsk SUBDIR += uarduno SUBDIR += uartlirc SUBDIR += uird SUBDIR += unixcw SUBDIR += usbmuxd SUBDIR += usrp SUBDIR += viewfax SUBDIR += vrflash SUBDIR += wsjt SUBDIR += wspr SUBDIR += wwl SUBDIR += wy60 SUBDIR += xastir SUBDIR += xcwcp SUBDIR += xdx SUBDIR += xlog SUBDIR += xmorse SUBDIR += xnec2c SUBDIR += xnecview SUBDIR += xwota SUBDIR += yagiuda SUBDIR += yaps SUBDIR += yfklog SUBDIR += zmtx-zmrx SUBDIR += zssh .include Index: head/comms/hackrf/Makefile =================================================================== --- head/comms/hackrf/Makefile (nonexistent) +++ head/comms/hackrf/Makefile (revision 395641) @@ -0,0 +1,23 @@ +# Created by: Tomasz "CeDeROM" CEDRO (http://www.tomek.cedro.info) +# $FreeBSD$ + +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 Property changes on: head/comms/hackrf/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/hackrf/distinfo =================================================================== --- head/comms/hackrf/distinfo (nonexistent) +++ head/comms/hackrf/distinfo (revision 395641) @@ -0,0 +1,2 @@ +SHA256 (mossmann-hackrf-2015.07.2-69c4997_GH0.tar.gz) = fa4c18a9108011d306e90b16866e42f908c13f3ddc47db774344c0eb053543e5 +SIZE (mossmann-hackrf-2015.07.2-69c4997_GH0.tar.gz) = 15625682 Property changes on: head/comms/hackrf/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/hackrf/files/patch-host_hackrf-tools_CMakeLists.txt =================================================================== --- head/comms/hackrf/files/patch-host_hackrf-tools_CMakeLists.txt (nonexistent) +++ head/comms/hackrf/files/patch-host_hackrf-tools_CMakeLists.txt (revision 395641) @@ -0,0 +1,11 @@ +--- host/hackrf-tools/CMakeLists.txt.orig 2015-08-30 19:34:41 UTC ++++ host/hackrf-tools/CMakeLists.txt +@@ -35,7 +35,7 @@ include_directories(getopt) + add_definitions(/D _CRT_SECURE_NO_WARNINGS) + else() + add_definitions(-Wall) +-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu90") ++set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}") + endif() + + if(NOT libhackrf_SOURCE_DIR) Property changes on: head/comms/hackrf/files/patch-host_hackrf-tools_CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/hackrf/files/patch-host_libhackrf_CMakeLists.txt =================================================================== --- head/comms/hackrf/files/patch-host_libhackrf_CMakeLists.txt (nonexistent) +++ head/comms/hackrf/files/patch-host_libhackrf_CMakeLists.txt (revision 395641) @@ -0,0 +1,50 @@ +--- host/libhackrf/CMakeLists.txt.orig 2014-08-28 17:34:30 UTC ++++ host/libhackrf/CMakeLists.txt +@@ -34,7 +34,7 @@ if(MSVC) + set(THREADS_USE_PTHREADS_WIN32 true) + else() + add_definitions(-Wall) +- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu90") ++ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}") + + INCLUDE(TestBigEndian) + TEST_BIG_ENDIAN(BIGENDIAN) +@@ -68,8 +68,13 @@ ENDIF(CMAKE_CROSSCOMPILING) + + set(prefix ${CMAKE_INSTALL_PREFIX}) + set(exec_prefix \${prefix}) +-set(libdir \${exec_prefix}/lib) ++set(libdir \${exec_prefix}/lib${LIB_SUFFIX}) + set(includedir \${prefix}/include) ++set(libpkgdata "lib"${LIB_SUFFIX}) ++ ++if(CMAKE_SYSTEM_NAME MATCHES "FreeBSD") ++ set(libpkgdata "libdata") ++endif(CMAKE_SYSTEM_NAME MATCHES "FreeBSD") + + CONFIGURE_FILE( + ${CMAKE_CURRENT_SOURCE_DIR}/libhackrf.pc.in +@@ -78,7 +83,7 @@ CONFIGURE_FILE( + + INSTALL( + FILES ${CMAKE_CURRENT_BINARY_DIR}/libhackrf.pc +- DESTINATION lib/pkgconfig ++ DESTINATION ${libpkgdata}/pkgconfig + ) + + ######################################################################## +@@ -100,9 +105,13 @@ endif() + ######################################################################## + option(INSTALL_UDEV_RULES "Install udev rules for HackRF" OFF) + if (INSTALL_UDEV_RULES) ++ if (NOT UDEV_INSTALL_DIR) ++ set (UDEV_INSTALL_DIR "/etc/udev/rules.d") ++ endif (NOT UDEV_INSTALL_DIR) ++ + install ( + FILES 53-hackrf.rules +- DESTINATION "/etc/udev/rules.d" ++ DESTINATION ${UDEV_INSTALL_DIR} + COMPONENT "udev" + ) + else (INSTALL_UDEV_RULES) Property changes on: head/comms/hackrf/files/patch-host_libhackrf_CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/hackrf/pkg-descr =================================================================== --- head/comms/hackrf/pkg-descr (nonexistent) +++ head/comms/hackrf/pkg-descr (revision 395641) @@ -0,0 +1,7 @@ +HackRF One from Great Scott Gadgets is a Software Defined Radio peripheral +capable of transmission or reception of radio signals from 10 MHz to 6 GHz. +Designed to enable test and development of modern and next generation radio +technologies, HackRF One is an open source hardware platform that can +be used as a USB peripheral or programmed for stand-alone operation. + +WWW: https://greatscottgadgets.com/hackrf/ Property changes on: head/comms/hackrf/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/comms/hackrf/pkg-plist =================================================================== --- head/comms/hackrf/pkg-plist (nonexistent) +++ head/comms/hackrf/pkg-plist (revision 395641) @@ -0,0 +1,13 @@ +bin/hackrf_cpldjtag +bin/hackrf_info +bin/hackrf_max2837 +bin/hackrf_rffc5071 +bin/hackrf_si5351c +bin/hackrf_spiflash +bin/hackrf_transfer +include/libhackrf/hackrf.h +lib/libhackrf.a +lib/libhackrf.so +lib/libhackrf.so.0 +lib/libhackrf.so.0.3.0 +libdata/pkgconfig/libhackrf.pc Property changes on: head/comms/hackrf/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property