# $Id: Portfile 111473 2013-09-23 16:28:53Z jmr@macports.org $

PortSystem 1.0

name			libtagedit
version			1.1.1
categories		audio
license			GPL-2+
platforms		darwin
maintainers		nomaintainer
description		C++ interface to music file tag editing
long_description	libtagedit provides a C++ interface to music file tag \
				editing which should be as easy as possible. It has a plugin \
				structure and is easily extendable. Currently, it includes \
				plugins for MP3 (ID3v2 r/w and ID3v1 reading), OGG and FLAC \
				files.

homepage		http://www.diotavelli.net/tagedit.html
master_sites	sourceforge:project/libtagedit/libtagedit/${version}
checksums		md5 9ac27070e929dc549ac2ac6a37f2e2ee \
				sha1 567bad11e1e0e6b38bb0cf2c658d0d961b4f8b7b \
				rmd160 043beaaf6f5c8d059c6a7785db7cd4d294d04c9c
use_bzip2		yes

depends_build	port:pkgconfig
depends_lib		port:libvorbis \
				port:libogg \
				port:flac

if {${os.platform} eq "darwin" && ${os.major} < 12} {
	patchfiles-append	libtagedit.cpp.patch
}
