From owner-svn-ports-head@FreeBSD.ORG Tue Nov 26 23:49:22 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1AC2339D; Tue, 26 Nov 2013 23:49:22 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 09E0727A5; Tue, 26 Nov 2013 23:49:22 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAQNnLLT094613; Tue, 26 Nov 2013 23:49:21 GMT (envelope-from matthew@svn.freebsd.org) Received: (from matthew@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAQNnLpl094604; Tue, 26 Nov 2013 23:49:21 GMT (envelope-from matthew@svn.freebsd.org) Message-Id: <201311262349.rAQNnLpl094604@svn.freebsd.org> From: Matthew Seaman Date: Tue, 26 Nov 2013 23:49:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334980 - in head/devel: . p5-Date-Extract X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Nov 2013 23:49:22 -0000 Author: matthew Date: Tue Nov 26 23:49:20 2013 New Revision: 334980 URL: http://svnweb.freebsd.org/changeset/ports/334980 Log: Added: head/devel/p5-Date-Extract/ head/devel/p5-Date-Extract/Makefile (contents, props changed) head/devel/p5-Date-Extract/distinfo (contents, props changed) head/devel/p5-Date-Extract/pkg-descr (contents, props changed) head/devel/p5-Date-Extract/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Tue Nov 26 23:41:05 2013 (r334979) +++ head/devel/Makefile Tue Nov 26 23:49:20 2013 (r334980) @@ -1740,6 +1740,7 @@ SUBDIR += p5-Date-Calc-XS SUBDIR += p5-Date-DayOfWeek SUBDIR += p5-Date-Easter + SUBDIR += p5-Date-Extract SUBDIR += p5-Date-EzDate SUBDIR += p5-Date-Holidays-DK SUBDIR += p5-Date-ICal Added: head/devel/p5-Date-Extract/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Date-Extract/Makefile Tue Nov 26 23:49:20 2013 (r334980) @@ -0,0 +1,24 @@ +# Created by: Matthew Seaman +# $FreeBSD$ + +PORTNAME= Date-Extract +PORTVERSION= 0.04 +CATEGORIES= devel perl5 +MASTER_SITES= CPAN +PKGNAMEPREFIX= p5- + +MAINTAINER= matthew@FreeBSD.org +COMMENT= Extract probable dates from strings + +BUILD_DEPENDS= p5-DateTime-Format-Natural>0:${PORTSDIR}/devel/p5-DateTime-Format-Natural \ + p5-Class-Data-Inheritable>0:${PORTSDIR}/devel/p5-Class-Data-Inheritable +RUN_DEPENDS:= ${BUILD_DEPENDS} +TEST_DEPENDS= p5-Test-MockTime>=0:${PORTSDIR}/devel/p5-Test-MockTime + +USES= perl5 +USE_PERL5= configure + +regression-test: build + @cd ${WRKSRC} && ${MAKE} test + +.include Added: head/devel/p5-Date-Extract/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Date-Extract/distinfo Tue Nov 26 23:49:20 2013 (r334980) @@ -0,0 +1,2 @@ +SHA256 (Date-Extract-0.04.tar.gz) = 7124d9e8d745544080f612a42d8cf6b3a27eda0f4ec607d25d255ddaadb1957a +SIZE (Date-Extract-0.04.tar.gz) = 27262 Added: head/devel/p5-Date-Extract/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Date-Extract/pkg-descr Tue Nov 26 23:49:20 2013 (r334980) @@ -0,0 +1,8 @@ +Date::Extract takes an arbitrary block of text, searches it for +something that looks like a date string, and builds a DateTime object +out of it. By design it will produce few false positives. This means +it will not catch nearly everything that looks like a date string. So +if you have the string "do homework for class 2019" it won't return a +DateTime object with the year set to 2019. + +WWW: http://search.cpan.org/dist/Date-Extract/ Added: head/devel/p5-Date-Extract/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/p5-Date-Extract/pkg-plist Tue Nov 26 23:49:20 2013 (r334980) @@ -0,0 +1,6 @@ +%%PERL5_MAN3%%/Date::Extract.3.gz +%%SITE_PERL%%/Date/Extract.pm +%%SITE_PERL%%/%%PERL_ARCH%%/auto/Date/Extract/.packlist +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Date/Extract +@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Date +@dirrmtry %%SITE_PERL%%/Date