# $Id$ PortSystem 1.0 name uthash version 1.9.8 categories devel platforms darwin maintainers mww license BSD description easy-to-use hash implementation for C programmers. long_description ${description} homepage http://uthash.sourceforge.net/ master_sites https://github.com/troydhanson/uthash/archive/ distname v${version} checksums rmd160 6f5ab69c8aa7c49fc44519692eb74b0055d6393a \ sha256 d9d123ce81c5d127442876fc3b12fab3ad632bee6aca685be7d461c08e24c046 worksrcdir ${name}-${version} use_configure no supported_archs noarch build {} destroot { xinstall -d ${destroot}${prefix}/include/uthash/ xinstall -m 0444 -W ${worksrcpath}/src uthash.h utlist.h utarray.h utstring.h \ ${destroot}${prefix}/include/uthash/ xinstall -d ${destroot}${prefix}/share/doc/ copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name} delete ${destroot}${prefix}/share/doc/${name}/Makefile xinstall -m 644 -W ${worksrcpath} README.md LICENSE \ ${destroot}${prefix}/share/doc/${name} } livecheck.type regex livecheck.url https://github.com/troydhanson/uthash/releases livecheck.regex v(\[0-9.\]+).tar.gz