Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Feb 2013 21:29:39 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r311398 - in head/devel: . p5-Media-Type-Simple
Message-ID:  <201302012129.r11LTdKb070987@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri Feb  1 21:29:38 2013
New Revision: 311398
URL: http://svnweb.freebsd.org/changeset/ports/311398

Log:
  - Add p5-Media-Type-Simple 0.02
  
  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.)
  
  WWW: http://search.cpan.org/dist/Media-Type-Simple/

Added:
  head/devel/p5-Media-Type-Simple/
  head/devel/p5-Media-Type-Simple/Makefile   (contents, props changed)
  head/devel/p5-Media-Type-Simple/distinfo   (contents, props changed)
  head/devel/p5-Media-Type-Simple/pkg-descr   (contents, props changed)
  head/devel/p5-Media-Type-Simple/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Fri Feb  1 21:00:58 2013	(r311397)
+++ head/devel/Makefile	Fri Feb  1 21:29:38 2013	(r311398)
@@ -2198,6 +2198,7 @@
     SUBDIR += p5-Mac-FileSpec-Unixish
     SUBDIR += p5-Mac-PropertyList
     SUBDIR += p5-Make
+    SUBDIR += p5-Media-Type-Simple
     SUBDIR += p5-Memoize
     SUBDIR += p5-Memoize-ExpireLRU
     SUBDIR += p5-Meta-Builder

Added: head/devel/p5-Media-Type-Simple/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Media-Type-Simple/Makefile	Fri Feb  1 21:29:38 2013	(r311398)
@@ -0,0 +1,27 @@
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME=	Media-Type-Simple
+PORTVERSION=	0.02
+CATEGORIES=	devel perl5
+MASTER_SITES=	CPAN
+MASTER_SITE_SUBDIR=	CPAN:RRWO
+PKGNAMEPREFIX=	p5-
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	MIME Media Types and their file extensions
+
+LICENSE=	ART10 GPLv1
+LICENSE_COMB=	dual
+
+BUILD_DEPENDS=	p5-Sub-Exporter>=0:${PORTSDIR}/devel/p5-Sub-Exporter
+RUN_DEPENDS:=	${BUILD_DEPENDS}
+TEST_DEPENDS=	p5-Test-Pod>=1.22:${PORTSDIR}/devel/p5-Test-Pod \
+		p5-Test-Pod-Coverage>=1.08:${PORTSDIR}/devel/p5-Test-Pod-Coverage
+
+PERL_CONFIGURE=	yes
+
+MAN3=		MIME::Type::Simple.3 \
+		Media::Type::Simple.3
+
+.include <bsd.port.mk>

Added: head/devel/p5-Media-Type-Simple/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Media-Type-Simple/distinfo	Fri Feb  1 21:29:38 2013	(r311398)
@@ -0,0 +1,2 @@
+SHA256 (Media-Type-Simple-0.02.tar.gz) = 050f52708439a99f11d73a29a1f0ae9f180c347de767c4730bd54d70f71d0737
+SIZE (Media-Type-Simple-0.02.tar.gz) = 10792

Added: head/devel/p5-Media-Type-Simple/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Media-Type-Simple/pkg-descr	Fri Feb  1 21:29:38 2013	(r311398)
@@ -0,0 +1,14 @@
+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.)
+
+WWW: http://search.cpan.org/dist/Media-Type-Simple/

Added: head/devel/p5-Media-Type-Simple/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/p5-Media-Type-Simple/pkg-plist	Fri Feb  1 21:29:38 2013	(r311398)
@@ -0,0 +1,10 @@
+%%SITE_PERL%%/MIME/Type/Simple.pm
+%%SITE_PERL%%/Media/Type/Simple.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Media/Type/Simple/.packlist
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Media/Type/Simple
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Media/Type
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Media
+@dirrmtry %%SITE_PERL%%/Media/Type
+@dirrmtry %%SITE_PERL%%/Media
+@dirrmtry %%SITE_PERL%%/MIME/Type
+@dirrmtry %%SITE_PERL%%/MIME



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302012129.r11LTdKb070987>