# -*- 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 meson 1.0 name libmpdclient version 2.16 set branch [join [lrange [split ${version} .] 0 0] .] categories audio maintainers {lbschenkel @lbschenkel} openmaintainer description libmpdclient is a stable, documented, asynchronous API library for interfacing MPD in the C, C++ & Objective C languages. long_description ${description} license BSD homepage https://www.musicpd.org/libs/${name}/ master_sites https://www.musicpd.org/download/${name}/${branch}/ platforms darwin use_xz yes checksums rmd160 d1ab4bfef8f4a93f4db5bf977f1fe2b61c17def4 \ sha256 fa6bdab67c0e0490302b38f00c27b4959735c3ec8aef7a88327adb1407654464 \ size 60480 livecheck.url http://www.musicpd.org/download/${name}/${branch}/ livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)" post-destroot { # change @rpath to absolute path set lib ${prefix}/lib/libmpdclient.2.dylib system "install_name_tool -id ${lib} ${destroot}${lib}" }