Date: Tue, 26 Nov 2013 23:49:21 +0000 (UTC) From: Matthew Seaman <matthew@FreeBSD.org> 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 Message-ID: <201311262349.rAQNnLpl094604@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <matthew@FreeBSD.org> +# $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 <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311262349.rAQNnLpl094604>