BSD Ports

devel/p5-File-MimeInfo 0.37 MidnightBSD

Determine file type

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
Last update
Commit
787dcc0cd6
License
artistic, gpl+
Categories
devel, perl5

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.

For this module shared-mime-info-spec 0.12 was used.

This package only uses the globs file. No real magic checking is used. The File::MimeInfo::Magic package is provided for magic typing.

If you want to determine the mimetype of data in a memory buffer you should use File::MimeInfo::Magic in combination with IO::Scalar.

In the other systems

The newest version among them is 0.37, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/p5-File-MimeInfo0.37 newestno data-[email protected]2026-07-14
FreeBSDdevel/p5-File-MimeInfo0.37 newestnone known-[email protected]-
OpenBSDdevel/p5-File-MimeInfo0.37 newestno data-The OpenBSD ports mailing-list <[email protected]>2026-08-27
NetBSDdevel/p5-File-MimeInfo0.37nb1 newestnone known-[email protected]2026-07-16
DragonFlydevel/p5-File-MimeInfo0.35 behind since 2026-08-27none known-[email protected]-
HardenedBSDdevel/p5-File-MimeInfo0.37 newestno data-[email protected]-
GhostBSDdevel/p5-File-MimeInfo0.37 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install p5-File-MimeInfo

From mports:

cd /usr/mports/devel/p5-File-MimeInfo && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-File-MimeInfo>0:devel/p5-File-MimeInfo

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

As this port's Makefile names them.

Build 3

Runtime 3

Build dependencies 3
Run dependencies 3

No port depends on this one.

Configuration

No options to configure.

USES
perl5 shared-mime-info
Service scripts
none

Files

pkg-plist 14
  • bin/mimeopen
  • bin/mimetype
  • %%SITE_PERL%%/File/MimeInfo.pm
  • %%SITE_PERL%%/File/MimeInfo/Applications.pm
  • %%SITE_PERL%%/File/MimeInfo/Cookbook.pod
  • %%SITE_PERL%%/File/MimeInfo/Magic.pm
  • %%SITE_PERL%%/File/MimeInfo/Rox.pm
  • %%PERL5_MAN1%%/mimeopen.1.gz
  • %%PERL5_MAN1%%/mimetype.1.gz
  • %%PERL5_MAN3%%/File::MimeInfo.3.gz
  • %%PERL5_MAN3%%/File::MimeInfo::Applications.3.gz
  • %%PERL5_MAN3%%/File::MimeInfo::Cookbook.3.gz
  • %%PERL5_MAN3%%/File::MimeInfo::Magic.3.gz
  • %%PERL5_MAN3%%/File::MimeInfo::Rox.3.gz
distinfo 1
FileSizeSHA256
File-MimeInfo-0.37.tar.gz3776313e5bbfdd36da8af198913a94ab067312947239020906577b6bf938219b2d06b
Master sites 1
  • CPAN

Commit history 1

DateCommitCreditsLog message
787dcc0cd6 Lucas Holt all p5 ports: fix CPAN author fetch paths
Add CPAN author subdirectories for 42 distributions whose generic module paths no longer resolve. AI-Assisted-by: Codex <[email protected]> Signed-off-by: Lucas Holt <[email protected]>