devel/p5-File-MimeInfo 0.37 FreeBSD
Determine file type
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- ART10, GPLv1+
- Categories
- devel, perl5
- Package size
- 41.7 KiB, 92.3 KiB installed
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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/p5-File-MimeInfo | 0.37 |
| OpenBSD | devel/p5-File-MimeInfo | 0.37 |
| NetBSD | devel/p5-File-MimeInfo | 0.37nb1 |
| DragonFly | devel/p5-File-MimeInfo | 0.35 |
| MidnightBSD | devel/p5-File-MimeInfo | 0.37 |
Install
Binary package:
pkg install p5-File-MimeInfo
From the ports tree:
cd /usr/ports/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
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.37 | 0.37 | 0.33 | 0.35 | 0.37 |
| FreeBSD:14:quarterly | 0.37 | 0.37 | n/a | 0.35 | 0.37 |
| FreeBSD:15:latest | 0.37 | 0.37 | n/a | 0.35 | 0.35 |
| FreeBSD:15:quarterly | 0.37 | 0.37 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.37 | 0.37 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
p5-Encode-Locale>=0: converters/p5-Encode-Localep5-File-BaseDir>=0.03: devel/p5-File-BaseDirp5-File-DesktopEntry>=0.04: devel/p5-File-DesktopEntry
Runtime 3
p5-Encode-Locale>=0: converters/p5-Encode-Localep5-File-BaseDir>=0.03: devel/p5-File-BaseDirp5-File-DesktopEntry>=0.04: devel/p5-File-DesktopEntry
The full lists below include those, and their dependencies in turn.
Build dependencies 22
- archivers/liblz4
- archivers/zstd
- converters/libiconv
- converters/p5-Encode-Locale
- devel/gettext-runtime
- devel/glib20
- devel/libffi
- devel/libinotify
- devel/p5-File-BaseDir
- devel/p5-File-DesktopEntry
- devel/p5-IPC-System-Simple
- devel/pcre2
- devel/py-packaging
- devel/readline
- lang/perl5.42
- lang/python312
- lang/python315
- math/mpdecimal
- misc/shared-mime-info
- print/indexinfo
- textproc/expat2
- textproc/libxml2
Run dependencies 22
- archivers/liblz4
- archivers/zstd
- converters/libiconv
- converters/p5-Encode-Locale
- devel/gettext-runtime
- devel/glib20
- devel/libffi
- devel/libinotify
- devel/p5-File-BaseDir
- devel/p5-File-DesktopEntry
- devel/p5-IPC-System-Simple
- devel/pcre2
- devel/py-packaging
- devel/readline
- lang/perl5.42
- lang/python312
- lang/python315
- math/mpdecimal
- misc/shared-mime-info
- print/indexinfo
- textproc/expat2
- textproc/libxml2
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
| File | Size | SHA256 |
|---|---|---|
| File-MimeInfo-0.37.tar.gz | 37763 | 13e5bbfdd36da8af198913a94ab067312947239020906577b6bf938219b2d06b |
Master sites 1
- CPAN
Commit history 0
No commits in the history this site was built from.