# $Id$ PortSystem 1.0 name liblastfm version 0.3.0 revision 1 categories audio maintainers nomaintainer description A set of libraries allowing use of the Last.fm site services. long_description liblastfm is a collection of libraries to help you \ integrate Last.fm services into your rich desktop software. It is \ officially supported software developed by Last.fm staff. platforms darwin homepage http://www.last.fm master_sites http://cdn.last.fm/src/ use_bzip2 yes checksums md5 3f73222ebc31635941832b01e7a494b6 \ sha1 1dabd8d67f4a36aebad29608c6f89b895472c25a \ rmd160 39098fe55f88c3831ab5b1380c1e978c2ef55aac depends_build port:ruby port:qt4-mac depends_lib port:libsamplerate port:fftw-3-single set qt qt4-mac set qtdir ${prefix}/libexec/${qt} configure.env PATH=${qtdir}/bin:$env(PATH) configure.pre_args --prefix ${prefix} configure.args --release build.env PATH=${qtdir}/bin:$env(PATH) # liblastfm libraries are not referencing their proper location. # Until we learn how to fix this properly, we fix it manually. post-destroot { system "install_name_tool -id ${prefix}/lib/liblastfm.0.dylib ${destroot}${prefix}/lib/liblastfm.dylib" system "install_name_tool -id ${prefix}/lib/liblastfm_fingerprint.0.dylib ${destroot}${prefix}/lib/liblastfm_fingerprint.dylib" system "install_name_tool -change liblastfm.0.dylib ${prefix}/lib/liblastfm.0.dylib ${destroot}${prefix}/lib/liblastfm_fingerprint.dylib" }