# $Id: Portfile 30250 2007-10-23 02:16:17Z jmpp@macports.org $
PortSystem		1.0
PortGroup		ruby 1.0

ruby.setup		mp3taglib 0.6 extconf.rb {README example.rb} rubyforge:68
maintainers		nomaintainer
description		mp3taglib is an id3v1/id3v2 tagging library for ruby \
                based on id3lib
long_description	mp3taglib is an id3v1/id3v2 tagging library for \
                    ruby based on id3lib. It supports most of the \
                    fields of id3v2 tags. Mp3 encoding information can \
                    also be retrieved.
categories-append	audio
checksums		md5 24dfe3852ed311514071313ddc0039b0
homepage        http://rubyforge.org/projects/mp3taglib/
platforms		darwin 
patchfiles      patch-extconf.rb
post-configure  {
                    reinplace "s;LDSHARED = cc;LDSHARED = g++;" ${worksrcpath}/Makefile
                    reinplace "s;-lobjc;-lobjc -lid3;" ${worksrcpath}/Makefile
                }
depends_lib-append		port:id3lib
