# $Id: Portfile 41369 2008-10-31 18:18:59Z ricci@macports.org $

PortSystem		1.0

PortGroup		perl5 1.0

version			0.15
perl5.setup		File-MimeInfo ${version}
revision		0
maintainers		ricci
description		This module can be used to determine the mime type of a file.   \
                It tries to implement the freedesktop specification for a shared MIME database.
long_description	${description}

checksums           md5     41fa5a252203e1d6023ab5849fd9e0df \
                    sha1    e185dd52769ec3c77cbb1eb983e49b843e5e38e5

platforms		darwin

depends_lib		port:shared-mime-info


patchfiles		patch-lib-File-MimeInfo.pm.diff
post-patch      {
        reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/lib/File/MimeInfo.pm
}

