BSD Ports

devel/p5-Media-Type-Simple 0.31.0 FreeBSD

MIME Media Types and their file extensions

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
ART20
Categories
devel, perl5
Package size
15.4 KiB, 37.4 KiB installed

Description

Media::Type::Simple gives a simple functions for obtaining common file extensions from media types, and from obtaining media types from file extensions.

It is also relaxed with respect to having multiple media types associated with a file extension, or multiple extensions associated with a media type, and it includes media types for encodings such as gzip. It is defined this way in the default data, but this does not meet your needs, then you can have it use a system file (e.g. /etc/mime.types) or custom data.

By default, there is a functional interface, although you can also use an object-oriented inteface. (Different objects will not share the same data.)

In the other systems

SystemPortVersion
FreeBSDdevel/p5-Media-Type-Simple0.31.0
DragonFlydevel/p5-Media-Type-Simple0.31.0
HardenedBSDdevel/p5-Media-Type-Simple0.31.0
GhostBSDdevel/p5-Media-Type-Simple0.31.0

Install

Binary package:

pkg install p5-Media-Type-Simple

From the ports tree:

cd /usr/ports/devel/p5-Media-Type-Simple/ && make install clean

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

RUN_DEPENDS=	p5-Media-Type-Simple>0:devel/p5-Media-Type-Simple

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest0.31.00.31.00.31.00.31.00.31.0
FreeBSD:14:quarterly0.31.00.31.0n/a0.31.00.31.0
FreeBSD:15:latest0.31.00.31.0n/a0.31.00.31.0
FreeBSD:15:quarterly0.31.00.31.0n/an/an/a
FreeBSD:16:latest0.31.00.31.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 3

Runtime 3

The full lists below include those, and their dependencies in turn.

Build dependencies 6
Run dependencies 6

No port depends on this one.

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 3
  • %%SITE_PERL%%/Media/Type/Simple.pm
  • %%SITE_PERL%%/auto/share/dist/Media-Type-Simple/mime.types
  • %%PERL5_MAN3%%/Media::Type::Simple.3.gz
distinfo 1
FileSizeSHA256
Media-Type-Simple-v0.31.0.tar.gz373899584f29e0f7350fe7745801565cd406b1808b15c86759a675387f061c770d068
Master sites 1
  • CPAN

Commit history 0

No commits in the history this site was built from.