# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id: Portfile 154393 2016-10-28 22:10:07Z mojca@macports.org $ # This comment was inserted on 20160713 to force reindexing of # this port after the default homepage definition in the perl5 # PortGroup was changed to use metacpan.org (r150080). # Reindexing is necessary for the new definition to take effect. # This comment may be removed in subsequent updates of this port. PortSystem 1.0 PortGroup perl5 1.0 perl5.branches 5.24 perl5.setup File-MimeInfo 0.27 license {Artistic-1 GPL} maintainers nomaintainer 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} platforms darwin checksums rmd160 39b25436ec4c552a5276f1c7ccbf10a85e953c2d \ sha256 579cf826fed7fe276636531a53291550c9ac36781dcd9e07e52ee7e784667234 if {${perl5.major} != ""} { depends_lib-append \ port:shared-mime-info \ port:p${perl5.major}-file-basedir \ port:p${perl5.major}-file-desktopentry patchfiles patch-lib-File-MimeInfo.pm.diff post-patch { reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/lib/File/MimeInfo.pm } }