# -*- 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 # $Id$ PortSystem 1.0 PortGroup github 1.0 name libusb categories devel description library for USB device access long_description \ library for use by user level applications to \ access USB devices regardless of OS homepage http://libusb.info/ platforms darwin license LGPL-2.1+ maintainers michaelld toby use_parallel_build no dist_subdir libusb subport libusb-devel {} if {${subport} eq ${name}} { github.setup libusb libusb 1.0.19 v checksums rmd160 c1ebcb76759695ef288bf1137e131ca1fa3456df \ sha256 5b743a35a13af01f965818ca4a5f78d56b0335426632a6dc5820f5f66fd4edd4 conflicts libusb-devel # overload the github livecheck regex to look for versions that # are just numbers and '.', no letters (e.g., "1.0.19rc1"). livecheck.regex archive/[join ${github.tag_prefix} ""](\[0-9\.\]+)${extract.suffix} } else { long_description ${long_description} \ This port provides devel version of ${name}, updated weekly to monthly. github.setup libusb libusb c141457debff6156b83786eb69b46d873634e5bd version 20150513 checksums rmd160 d0006a4b6ae77975fbb95dba1f48376fc03a5de3 \ sha256 613793e6334d72f0b6fd7b216af3c9b18f702f453749f39dbc503b8b955736db conflicts libusb patchfiles patch-libusb_os_darwin_usb.h.devel.diff } homepage http://libusb.info/ depends_build port:libtool \ port:automake \ port:autoconf configure.cmd ./autogen.sh # build verbosely build.args-append AM_DEFAULT_VERBOSITY=1