aboutsummaryrefslogtreecommitdiff
path: root/textproc/p5-String-LCSS
diff options
context:
space:
mode:
authorDan Langille <dvl@FreeBSD.org>2016-12-16 18:02:02 +0000
committerDan Langille <dvl@FreeBSD.org>2016-12-16 18:02:02 +0000
commit8d196f09ff0ed3e6df02de062da35dc64127c613 (patch)
tree05605583da2c2b2cedaa55c81bcc894e4d05581e /textproc/p5-String-LCSS
parent1b78b956854533db26aab3d488ba460730256da2 (diff)
downloadports-8d196f09ff0ed3e6df02de062da35dc64127c613.tar.gz
ports-8d196f09ff0ed3e6df02de062da35dc64127c613.zip
Notes
Diffstat (limited to 'textproc/p5-String-LCSS')
-rw-r--r--textproc/p5-String-LCSS/Makefile16
-rw-r--r--textproc/p5-String-LCSS/distinfo3
-rw-r--r--textproc/p5-String-LCSS/pkg-descr8
-rw-r--r--textproc/p5-String-LCSS/pkg-plist2
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