1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/devel/libsigrok/Makefile
Jan Beich 19ba14bcd8 Drop FreeBSD < 14.0-BETA5 <sys/timerfd.h> workarounds
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273373
https://cgit.freebsd.org/src/commit/?h=releng/14.0&id=7454117918cd
https://lists.freebsd.org/archives/freebsd-stable/2023-October/001533.html
Old -CURRENT, -STABLE, -RELENG snapshots were never supported in ports/.

This reverts commit 4458b6d2d9.
This reverts commit f295903414.
This reverts commit d7c830340d.
This reverts commit 572560076d.
This reverts commit f4c28b4891.
This reverts commit 163928669d.
This reverts commit b8948f86c1.
This reverts commit 5e70841f87.
This reverts commit 600ca97fd5.
2023-10-07 02:55:27 +02:00

40 lines
959 B
Makefile

PORTNAME= libsigrok
PORTVERSION= 0.5.2
PORTREVISION= 4
CATEGORIES= devel
MASTER_SITES= http://sigrok.org/download/source/libsigrok/
MAINTAINER= bofh@FreeBSD.org
COMMENT= Framework for hardware logic analyzers, core library
WWW= https://sigrok.org/
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= doxygen:devel/doxygen
LIB_DEPENDS= libcheck.so:devel/check \
libftdi1.so:devel/libftdi1 \
libhidapi.so:comms/hidapi \
libserialport.so:devel/libserialport \
libvisa.so:devel/librevisa \
libzip.so:archivers/libzip
USES= compiler:c11 gnome libtool pathfix pkgconfig python:-3.9,build \
shared-mime-info
USE_GNOME= glibmm
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
MAKE_JOBS_UNSAFE= yes
INSTALL_TARGET= install-strip
post-patch:
# libusb can be disabled via src.conf(5), so detect via pkg-config
@${REINPLACE_CMD} -e 's/\(libusb-1\.0\) >= 1\.0\.[0-9]*/\1/' \
-e '/\*freebsd\*/,/;;/d' \
${WRKSRC}/configure
.include <bsd.port.mk>