# -*- 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

PortSystem          1.0
PortGroup           github 1.0

github.setup        usbids usbids 5eb613762db1e34b9218da63a88f22dd26f743c5
version             2026.06.27
revision            0
checksums           rmd160  fee5b0ed290afe98b423c86719957b46a1345946 \
                    sha256  9cd258d80c831966613e72614b51ce3bbe8962a4436c8901e567cb549bbb81bc \
                    size    268684

categories          sysutils
license             {GPL-2+ BSD}
maintainers         nomaintainer
supported_archs     noarch
platforms           any

description         The USB ID Repository
long_description    This is a public repository of all known IDs used \
                    in USB devices: IDs of vendors, devices, \
                    subsystems and device classes. It is used in \
                    various programs (e.g., The USB Utilities) to \
                    display full human-readable names instead of \
                    cryptic numeric codes.
homepage            http://www.linux-usb.org/usb-ids.html
github.tarball_from archive

use_configure       no
build {}
destroot {
    xinstall -m 644 ${worksrcpath}/usb.ids ${destroot}${prefix}/share
}

livecheck.version   ${version}
livecheck.type      regex
livecheck.url       ${github.raw}/master/usb.ids
livecheck.regex     {Version: (\d{4}\.\d{2}\.\d{2})}
