diff options
author | Steve Wills <swills@FreeBSD.org> | 2018-01-10 18:51:08 +0000 |
---|---|---|
committer | Steve Wills <swills@FreeBSD.org> | 2018-01-10 18:51:08 +0000 |
commit | ea0f5cf9d4e99b032a857dbf0fb55d990414430c (patch) | |
tree | 1c74abc24759b3c60e8b77f73d5b5d52dfbb27e6 /comms | |
parent | 95a1554a33537b2f88e152ab4b7ea8696c366252 (diff) | |
download | ports-ea0f5cf9d4e99b032a857dbf0fb55d990414430c.tar.gz ports-ea0f5cf9d4e99b032a857dbf0fb55d990414430c.zip |
Notes
Diffstat (limited to 'comms')
-rw-r--r-- | comms/hackrf/Makefile | 4 | ||||
-rw-r--r-- | comms/hackrf/distinfo | 5 | ||||
-rw-r--r-- | comms/hackrf/files/patch-host_libhackrf_CMakeLists.txt | 39 | ||||
-rw-r--r-- | comms/hackrf/pkg-plist | 2 |
4 files changed, 6 insertions, 44 deletions
diff --git a/comms/hackrf/Makefile b/comms/hackrf/Makefile index b8dd7d232103..75ea8aedf473 100644 --- a/comms/hackrf/Makefile +++ b/comms/hackrf/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= hackrf -PORTVERSION= 2015.07.2 +PORTVERSION= 2017.02.1 CATEGORIES= comms devel hamradio science security MAINTAINER= cederom@tlen.pl @@ -12,7 +12,7 @@ LICENSE= GPLv2 USE_GITHUB= YES GH_ACCOUNT= mossmann -GH_TAGNAME= 69c4997 +GH_TAGNAME= 31a37bd USES= cmake:outsource CMAKE_SOURCE_PATH= ${WRKSRC}/host diff --git a/comms/hackrf/distinfo b/comms/hackrf/distinfo index 4215cd75812f..55f8f14b156a 100644 --- a/comms/hackrf/distinfo +++ b/comms/hackrf/distinfo @@ -1,2 +1,3 @@ -SHA256 (mossmann-hackrf-2015.07.2-69c4997_GH0.tar.gz) = fa4c18a9108011d306e90b16866e42f908c13f3ddc47db774344c0eb053543e5 -SIZE (mossmann-hackrf-2015.07.2-69c4997_GH0.tar.gz) = 15625682 +TIMESTAMP = 1515609346 +SHA256 (mossmann-hackrf-2017.02.1-31a37bd_GH0.tar.gz) = df00fd6d4fa7aa6fbd07ffc513c664aeac1824c1e4c2a2616ea167579dd1f797 +SIZE (mossmann-hackrf-2017.02.1-31a37bd_GH0.tar.gz) = 16939945 diff --git a/comms/hackrf/files/patch-host_libhackrf_CMakeLists.txt b/comms/hackrf/files/patch-host_libhackrf_CMakeLists.txt index 98b9badbcba2..b9f65553b607 100644 --- a/comms/hackrf/files/patch-host_libhackrf_CMakeLists.txt +++ b/comms/hackrf/files/patch-host_libhackrf_CMakeLists.txt @@ -9,42 +9,3 @@ 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) diff --git a/comms/hackrf/pkg-plist b/comms/hackrf/pkg-plist index abe33b5f6e56..1a0f10ef4a16 100644 --- a/comms/hackrf/pkg-plist +++ b/comms/hackrf/pkg-plist @@ -9,5 +9,5 @@ include/libhackrf/hackrf.h lib/libhackrf.a lib/libhackrf.so lib/libhackrf.so.0 -lib/libhackrf.so.0.3.0 +lib/libhackrf.so.0.4.0 libdata/pkgconfig/libhackrf.pc |