# -*- 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.22 revision 0 checksums rmd160 5345dfaf73988706563208a46b249f9a6fdfc154 \ sha256 eac15b82b5ba5ed0648af580221eb74657394f7fe768e966d9e9ebb27435429f \ size 68276 set branch [join [lrange [split ${version} .] 0 0] .] categories audio maintainers nomaintainer 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}/ use_xz yes livecheck.url https://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}" }