Date: Wed, 10 Jan 2018 18:51:08 +0000 (UTC) From: Steve Wills <swills@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r458672 - in head/comms/hackrf: . files Message-ID: <201801101851.w0AIp8kn056657@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: swills Date: Wed Jan 10 18:51:08 2018 New Revision: 458672 URL: https://svnweb.freebsd.org/changeset/ports/458672 Log: comms/hackrf: update to 2017.02.1 PR: 224586 Submitted by: phk Approved by: maintainer timeout (cederom@tlen.pl, > 2 weeks) Modified: head/comms/hackrf/Makefile (contents, props changed) head/comms/hackrf/distinfo (contents, props changed) head/comms/hackrf/files/patch-host_libhackrf_CMakeLists.txt (contents, props changed) head/comms/hackrf/pkg-plist (contents, props changed) Modified: head/comms/hackrf/Makefile ============================================================================== --- head/comms/hackrf/Makefile Wed Jan 10 18:39:31 2018 (r458671) +++ head/comms/hackrf/Makefile Wed Jan 10 18:51:08 2018 (r458672) @@ -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 Modified: head/comms/hackrf/distinfo ============================================================================== --- head/comms/hackrf/distinfo Wed Jan 10 18:39:31 2018 (r458671) +++ head/comms/hackrf/distinfo Wed Jan 10 18:51:08 2018 (r458672) @@ -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 Modified: head/comms/hackrf/files/patch-host_libhackrf_CMakeLists.txt ============================================================================== --- head/comms/hackrf/files/patch-host_libhackrf_CMakeLists.txt Wed Jan 10 18:39:31 2018 (r458671) +++ head/comms/hackrf/files/patch-host_libhackrf_CMakeLists.txt Wed Jan 10 18:51:08 2018 (r458672) @@ -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) Modified: head/comms/hackrf/pkg-plist ============================================================================== --- head/comms/hackrf/pkg-plist Wed Jan 10 18:39:31 2018 (r458671) +++ head/comms/hackrf/pkg-plist Wed Jan 10 18:51:08 2018 (r458672) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801101851.w0AIp8kn056657>