import pear-MIME-Type 1.2.0

This commit is contained in:
jasper 2009-11-18 19:07:45 +00:00
parent bdc4527730
commit f45d46d2e4
4 changed files with 57 additions and 0 deletions

View File

@ -0,0 +1,17 @@
# $OpenBSD: Makefile,v 1.1.1.1 2009/11/18 19:07:45 jasper Exp $
COMMENT= utility class for dealing with MIME types
DISTNAME= MIME_Type-1.2.0
PKGNAME= pear-${DISTNAME:S/_/-/}
CATEGORIES= mail
MODULES= www/pear
# PHP License 3.0
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
.include <bsd.port.mk>

View File

@ -0,0 +1,5 @@
MD5 (MIME_Type-1.2.0.tgz) = YIBP+TYkSFUo20ae6XhMKw==
RMD160 (MIME_Type-1.2.0.tgz) = E6/NSM9T97Ii6tDdj6O13PQVPIg=
SHA1 (MIME_Type-1.2.0.tgz) = PVNEml9fjDZO/9J8n7GRvWCzepQ=
SHA256 (MIME_Type-1.2.0.tgz) = qCUR0ZqRr7necEFKE1AGONXQHufSCfFx4GMWWJDFSZY=
SIZE (MIME_Type-1.2.0.tgz) = 11581

View File

@ -0,0 +1,9 @@
Provide functionality for dealing with MIME types.
* Parse MIME type.
* Supports full RFC2045 specification.
* Many utility functions for working with and determining info
about types.
* Most functions can be called statically.
* Autodetect a files mime-type, either with fileinfo extension,
mime_magic extension, the file command or an in-built mapping
list.

View File

@ -0,0 +1,26 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2009/11/18 19:07:45 jasper Exp $
@group daemon
lib/
lib/php/
pear/lib/.registry/mime_type.reg
pear/lib/MIME/
pear/lib/MIME/Type/
pear/lib/MIME/Type.php
pear/lib/MIME/Type/Extension.php
pear/lib/MIME/Type/Parameter.php
pear/lib/docs/
pear/lib/docs/examples/
pear/lib/docs/examples/example.php
pear/tests/MIME_Type/
pear/tests/MIME_Type/tests/
pear/tests/MIME_Type/tests/AllTests.php
pear/tests/MIME_Type/tests/MIME_Type_ExtensionTest.php
pear/tests/MIME_Type/tests/TypeTest.php
pear/tests/MIME_Type/tests/files/
pear/tests/MIME_Type/tests/files/example.bmp
pear/tests/MIME_Type/tests/files/example.gif
pear/tests/MIME_Type/tests/files/example.jpg
pear/tests/MIME_Type/tests/files/example.png
pear/tests/MIME_Type/tests/files/example.txt
pear/tests/MIME_Type/tests/files/example.txt.bz2
pear/tests/MIME_Type/tests/files/example.txt.gz