diff options
author | swills <swills@FreeBSD.org> | 2018-01-11 02:51:08 +0800 |
---|---|---|
committer | Koop Mast <kwm@rainbow-runner.nl> | 2018-02-04 06:22:10 +0800 |
commit | db854dd4db993ba7aa045ff93d14817b28b4f64f (patch) | |
tree | af1d82d2f26dcb3802f173f65fee9a69c1aef6e2 /comms | |
parent | 39e596d6fb101c67607b5c86f0e6bdeb991ca58f (diff) | |
download | freebsd-ports-gnome-db854dd4db993ba7aa045ff93d14817b28b4f64f.tar.gz freebsd-ports-gnome-db854dd4db993ba7aa045ff93d14817b28b4f64f.tar.zst freebsd-ports-gnome-db854dd4db993ba7aa045ff93d14817b28b4f64f.zip |
comms/hackrf: update to 2017.02.1
PR: 224586
Submitted by: phk
Approved by: maintainer timeout (cederom@tlen.pl, > 2 weeks)
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 |