Add p5-String-LCSS 0.12, to determine the longest common substring shared by

two strings
This commit is contained in:
dvl
2016-12-16 18:02:02 +00:00
parent 239b0ec966
commit b6f982b591
4 changed files with 29 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
# Created by: Dan Langille <dvl@FreeBSD.org>
# $FreeBSD$
PORTNAME= String-LCSS
PORTVERSION= 0.12
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= dvl@FreeBSD.org
COMMENT= Find The Longest Common Substring of Two Strings.
USES= perl5
USE_PERL5= configure
.include <bsd.port.mk>
+3
View File
@@ -0,0 +1,3 @@
TIMESTAMP = 1481910782
SHA256 (String-LCSS-0.12.tar.gz) = 049646e5881c0114998e589616ba9ffaeb59b1ce095d43158fd0fd6d8fe03b39
SIZE (String-LCSS-0.12.tar.gz) = 2923
+8
View File
@@ -0,0 +1,8 @@
String::LCSS provides the function "lcss" to ferret out the longest common
substring shared by two strings passed as arguments. undef is returned if
the susbstring length is one char or less.
When used in an array context, lcss will returns the indexi of the match root
in the two args.
WWW: http://search.cpan.org/dist/String-LCSS/
+2
View File
@@ -0,0 +1,2 @@
%%PERL5_MAN3%%/String::LCSS.3.gz
%%SITE_PERL%%/String/LCSS.pm