# $Id: Portfile,v 1.2 2005/04/21 15:58:18 jberry Exp $
PortSystem		1.0
PortGroup		ruby 1.0

ruby.setup		mp3taglib 0.6 extconf.rb {README example.rb} rubyforge:68
maintainers		tristan@opendarwin.org
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
