mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-18 00:10:04 +00:00
19ba14bcd8
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 commit4458b6d2d9
. This reverts commitf295903414
. This reverts commitd7c830340d
. This reverts commit572560076d
. This reverts commitf4c28b4891
. This reverts commit163928669d
. This reverts commitb8948f86c1
. This reverts commit5e70841f87
. This reverts commit600ca97fd5
.
40 lines
959 B
Makefile
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>
|