# $Id: Portfile 35952 2008-04-11 03:39:55Z raimue@macports.org $

PortSystem 1.0

name            tagtool
version         0.12.3
categories      audio
platforms       darwin
maintainers     raimue

description     Audio Tag Tool is a program to manage the information fields \
                in MP3 and Ogg Vorbis files, commonly called tags.
long_description \
    ${description} \
    Tag Tool can be used to edit tags one by one, \
    but the most useful features are the ability to \
    easily tag or rename hundreds of files at once, in \
    any desired format.
homepage        http://pwp.netcabo.pt/paol/tagtool/

master_sites    sourceforge
use_bzip2       yes
checksums \
    md5 447b3a505fee68a82f25dcda9377b676 \
    sha1 e7ed4ebf8f9881cf38b2340b18e95947f658308e \
    rmd160 9f5ae223580948c403cd44d82ecef0d03040ff09

depends_build   bin:grep:grep \
                bin:fgrep:grep \
                port:pkgconfig \
                port:intltool
depends_lib     port:id3lib \
                port:libvorbis \
                port:gettext \
                port:gtk2 \
                port:libglade2 \
                port:libxml2 \
                port:sqlite3 \
                port:libffi

configure.cflags-append -flat_namespace
post-configure {
    reinplace "s|-export-dynamic||g" ${worksrcpath}/src/Makefile
}

