From 86eb7e28cab7907204dc2bfbfcb5ea3801678340 Mon Sep 17 00:00:00 2001 From: shell Date: Thu, 11 Jul 2002 09:22:45 +0000 Subject: [PATCH] Initial import of MIME-Types-1.001 perl module to manage MIME types --- A start for a more detailed data-structure to keep knowledge about various data types are defined by MIME. Some basic treatments with mime types are implemented. The first special data item is whether a data type is binary or ascii. This is required for correctly encoding e-mail attachments, and implemented for the Mail::Box v2.01 module. --- mail/p5-MIME-Types/Makefile | 18 ++++++++++++++++++ mail/p5-MIME-Types/distinfo | 3 +++ mail/p5-MIME-Types/pkg/DESCR | 7 +++++++ mail/p5-MIME-Types/pkg/PLIST | 5 +++++ 4 files changed, 33 insertions(+) create mode 100644 mail/p5-MIME-Types/Makefile create mode 100644 mail/p5-MIME-Types/distinfo create mode 100644 mail/p5-MIME-Types/pkg/DESCR create mode 100644 mail/p5-MIME-Types/pkg/PLIST diff --git a/mail/p5-MIME-Types/Makefile b/mail/p5-MIME-Types/Makefile new file mode 100644 index 00000000000..8fc2483835c --- /dev/null +++ b/mail/p5-MIME-Types/Makefile @@ -0,0 +1,18 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2002/07/11 09:22:45 shell Exp $ + +COMMENT= "perl module to manage MIME types" + +DISTNAME= MIME-Types-1.001 +PKGNAME= p5-${DISTNAME} +CATEGORIES= mail perl5 + +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=MIME/} + +CONFIGURE_STYLE= perl + +.include diff --git a/mail/p5-MIME-Types/distinfo b/mail/p5-MIME-Types/distinfo new file mode 100644 index 00000000000..edb4184ce7d --- /dev/null +++ b/mail/p5-MIME-Types/distinfo @@ -0,0 +1,3 @@ +MD5 (MIME-Types-1.001.tar.gz) = 596dfb483f6c44e922e37ad6e4d3f09f +RMD160 (MIME-Types-1.001.tar.gz) = b97014f9c3d2a616804ff140eaceadf148d3b9cb +SHA1 (MIME-Types-1.001.tar.gz) = a5e839bf69dd3744a6adc0e911906cb30feb968d diff --git a/mail/p5-MIME-Types/pkg/DESCR b/mail/p5-MIME-Types/pkg/DESCR new file mode 100644 index 00000000000..6e78fe7837a --- /dev/null +++ b/mail/p5-MIME-Types/pkg/DESCR @@ -0,0 +1,7 @@ +A start for a more detailed data-structure to keep knowledge about +various data types are defined by MIME. Some basic treatments with +mime types are implemented. + +The first special data item is whether a data type is binary or +ascii. This is required for correctly encoding e-mail attachments, +and implemented for the Mail::Box v2.01 module. diff --git a/mail/p5-MIME-Types/pkg/PLIST b/mail/p5-MIME-Types/pkg/PLIST new file mode 100644 index 00000000000..1a6e94540b3 --- /dev/null +++ b/mail/p5-MIME-Types/pkg/PLIST @@ -0,0 +1,5 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2002/07/11 09:22:45 shell Exp $ +${P5SITE}/MIME/Type.pm +${P5SITE}/MIME/Types.pm +man/man3p/MIME::Type.3p +man/man3p/MIME::Types.3p