# -*- 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: Portfile 139536 2015-08-19 21:53:46Z ryandesign@macports.org $ PortSystem 1.0 PortGroup cmake 1.0 name taglib version 1.9.1 categories audio license {LGPL-2 MPL-1.1} maintainers nomaintainer description TagLib Audio Meta-Data Library long_description \ TagLib is a library for reading and editing the meta-data of \ several popular audio formats. Currently it supports both ID3v1 \ and ID3v2 for MP3 files, Ogg Vorbis comments and ID3 tags and \ Vorbis comments in FLAC files. homepage http://taglib.github.io/ platforms darwin master_sites http://taglib.github.io/releases/ checksums rmd160 932a71f5c9e8fe332a90d29a36ac1310c025879c \ sha256 72d371cd1419a87ae200447a53bff2be219283071e80fd12337928cc967dc71a depends_lib-append port:zlib platform darwin 8 { configure.ldflags-append -lz } cmake.out_of_source yes configure.args-append ../${distname} \ -DWITH_ASF=On -DWITH_MP4=On # asf and mp4 are necessary for Amarok. # Change to make them optional was reportedly political # http://lists.kde.org/?l=amarok&m=125338541922769&w=2 livecheck.type regex livecheck.url ${homepage} livecheck.regex "${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}"