From owner-svn-ports-all@FreeBSD.ORG Fri Feb 1 21:29:40 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 1B824300; Fri, 1 Feb 2013 21:29:40 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id F1A7AFA9; Fri, 1 Feb 2013 21:29:39 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.5/8.14.5) with ESMTP id r11LTdAV070998; Fri, 1 Feb 2013 21:29:39 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.5/8.14.5/Submit) id r11LTdKb070987; Fri, 1 Feb 2013 21:29:39 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201302012129.r11LTdKb070987@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Fri, 1 Feb 2013 21:29:39 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Feb 2013 21:29:40 -0000 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 +# $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 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