# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
description library for USB device access
library for use by user level applications to \
access USB devices regardless of OS
homepage https://libusb.info/
maintainers {michaelld @michaelld} openmaintainer
if {${subport} eq ${name}} {
github.setup libusb libusb 1.0.23 v
checksums rmd160 0630bc588dd839986c8ca21374473ec4c3b5b76d \
sha256 68de7c676ac17a87c508d01370cc7a656afd7a2b26f90b484fb0e911160cd4d5 \
# overload the github livecheck regex to look for versions that
# are just numbers and '.', no letters (e.g., "1.0.19rc1").
github.livecheck.regex {([0-9.]+)}
long_description ${long_description} \
This port provides devel version of ${name}, updated weekly to monthly.
github.setup libusb libusb c730a8410c8fc683e845fefcc06d6ced349b583b
version 20191030-[string range ${github.version} 0 7]
checksums rmd160 7073882b95706f70a1023ca6138e25e574ef767c \
sha256 b0be4756c8f31c7cf63fb86dedacb5cb7716afa8821f688c6b6244ab5143028a \
# see https://trac.macports.org/ticket/56156
patchfiles-append patch-10.7-nospeedsuper.diff
depends_build port:libtool \
configure.cmd ./autogen.sh