diff options
author | dvl <dvl@FreeBSD.org> | 2016-12-17 02:02:02 +0800 |
---|---|---|
committer | dvl <dvl@FreeBSD.org> | 2016-12-17 02:02:02 +0800 |
commit | b6f982b5912cb989ab58e58e8c8fa2d4a6b2d68a (patch) | |
tree | 05605583da2c2b2cedaa55c81bcc894e4d05581e /textproc | |
parent | 239b0ec9664f0fa73292831dd5057548bbbae6ea (diff) | |
download | freebsd-ports-gnome-b6f982b5912cb989ab58e58e8c8fa2d4a6b2d68a.tar.gz freebsd-ports-gnome-b6f982b5912cb989ab58e58e8c8fa2d4a6b2d68a.tar.zst freebsd-ports-gnome-b6f982b5912cb989ab58e58e8c8fa2d4a6b2d68a.zip |
Add p5-String-LCSS 0.12, to determine the longest common substring shared by
two strings
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/p5-String-LCSS/Makefile | 16 | ||||
-rw-r--r-- | textproc/p5-String-LCSS/distinfo | 3 | ||||
-rw-r--r-- | textproc/p5-String-LCSS/pkg-descr | 8 | ||||
-rw-r--r-- | textproc/p5-String-LCSS/pkg-plist | 2 |
4 files changed, 29 insertions, 0 deletions
diff --git a/textproc/p5-String-LCSS/Makefile b/textproc/p5-String-LCSS/Makefile new file mode 100644 index 000000000000..b803fcc85ccc --- /dev/null +++ b/textproc/p5-String-LCSS/Makefile @@ -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> diff --git a/textproc/p5-String-LCSS/distinfo b/textproc/p5-String-LCSS/distinfo new file mode 100644 index 000000000000..d9ff41ef1df1 --- /dev/null +++ b/textproc/p5-String-LCSS/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1481910782 +SHA256 (String-LCSS-0.12.tar.gz) = 049646e5881c0114998e589616ba9ffaeb59b1ce095d43158fd0fd6d8fe03b39 +SIZE (String-LCSS-0.12.tar.gz) = 2923 diff --git a/textproc/p5-String-LCSS/pkg-descr b/textproc/p5-String-LCSS/pkg-descr new file mode 100644 index 000000000000..deb550708c72 --- /dev/null +++ b/textproc/p5-String-LCSS/pkg-descr @@ -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/ diff --git a/textproc/p5-String-LCSS/pkg-plist b/textproc/p5-String-LCSS/pkg-plist new file mode 100644 index 000000000000..990b2bbeb5a4 --- /dev/null +++ b/textproc/p5-String-LCSS/pkg-plist @@ -0,0 +1,2 @@ +%%PERL5_MAN3%%/String::LCSS.3.gz +%%SITE_PERL%%/String/LCSS.pm |