aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2019-01-06 02:39:46 +0800
committerswills <swills@FreeBSD.org>2019-01-06 02:39:46 +0800
commit062fb920bec474342b17e78f64476c36d7c5213a (patch)
tree409b42a9f825cda629fe191a4779a42188a06603 /textproc
parent4484f39760a16d261bcd35c9eb0329d03d271352 (diff)
downloadfreebsd-ports-gnome-062fb920bec474342b17e78f64476c36d7c5213a.tar.gz
freebsd-ports-gnome-062fb920bec474342b17e78f64476c36d7c5213a.tar.zst
freebsd-ports-gnome-062fb920bec474342b17e78f64476c36d7c5213a.zip
textproc/p5-Text-Distill: create port
Quick texts compare, plagiarism and common parts detection. WWW: https://metacpan.org/pod/Text::Distill PR: 226718 Submitted by: oleg@mamontov.net
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Text-Distill/Makefile35
-rw-r--r--textproc/p5-Text-Distill/distinfo3
-rw-r--r--textproc/p5-Text-Distill/pkg-descr3
-rw-r--r--textproc/p5-Text-Distill/pkg-plist3
5 files changed, 45 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index bc7e6e807f96..2b3802a8eeb3 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -888,6 +888,7 @@
SUBDIR += p5-Text-Diff-HTML
SUBDIR += p5-Text-Diff-Parser
SUBDIR += p5-Text-Diff3
+ SUBDIR += p5-Text-Distill
SUBDIR += p5-Text-DoubleMetaphone
SUBDIR += p5-Text-Emoticon
SUBDIR += p5-Text-Emoticon-GoogleTalk
diff --git a/textproc/p5-Text-Distill/Makefile b/textproc/p5-Text-Distill/Makefile
new file mode 100644
index 000000000000..087f61b3b201
--- /dev/null
+++ b/textproc/p5-Text-Distill/Makefile
@@ -0,0 +1,35 @@
+# $FreeBSD$
+
+PORTNAME= Text-Distill
+PORTVERSION= 0.1
+CATEGORIES= textproc perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:GRIBUSER
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= oleg@mamontov.net
+COMMENT= Quick texts compare, plagiarism and common parts detection
+
+LICENSE= LGPL3
+LICENSE_COMB= single
+
+BUILD_DEPENDS= ${RUN_DEPENDS}
+RUN_DEPENDS= p5-Archive-Zip>=0:archivers/p5-Archive-Zip \
+ p5-Digest-JHash>=0:security/p5-Digest-JHash \
+ p5-Encode-Detect>=0:converters/p5-Encode-Detect \
+ p5-HTML-TreeBuilder-LibXML>=0:www/p5-HTML-TreeBuilder-LibXML \
+ p5-JSON-XS>=0:converters/p5-JSON-XS \
+ p5-libwww>=0:www/p5-libwww \
+ p5-OLE-Storage_Lite>=0:devel/p5-OLE-Storage_Lite \
+ p5-Text-Extract-Word>=0:textproc/p5-Text-Extract-Word \
+ p5-Text-Unidecode>=1.27:converters/p5-Text-Unidecode \
+ p5-Unicode-Normalize>=1.25:textproc/p5-Unicode-Normalize \
+ p5-XML-LibXML>=0:textproc/p5-XML-LibXML \
+ p5-XML-LibXSLT>=0:textproc/p5-XML-LibXSLT
+
+USES= perl5
+
+USE_PERL5= configure
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-Text-Distill/distinfo b/textproc/p5-Text-Distill/distinfo
new file mode 100644
index 000000000000..afa0c17f62a0
--- /dev/null
+++ b/textproc/p5-Text-Distill/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1521234047
+SHA256 (Text-Distill-0.1.tar.gz) = 1e5879c21235e0fb8eb564bd13be32055519b08a7896d31dfc3aed49f62849f7
+SIZE (Text-Distill-0.1.tar.gz) = 14820
diff --git a/textproc/p5-Text-Distill/pkg-descr b/textproc/p5-Text-Distill/pkg-descr
new file mode 100644
index 000000000000..a91996bf3f75
--- /dev/null
+++ b/textproc/p5-Text-Distill/pkg-descr
@@ -0,0 +1,3 @@
+Quick texts compare, plagiarism and common parts detection.
+
+WWW: https://metacpan.org/pod/Text::Distill
diff --git a/textproc/p5-Text-Distill/pkg-plist b/textproc/p5-Text-Distill/pkg-plist
new file mode 100644
index 000000000000..76cf2848605d
--- /dev/null
+++ b/textproc/p5-Text-Distill/pkg-plist
@@ -0,0 +1,3 @@
+bin/plagiarism_check.pl
+%%SITE_PERL%%/Text/Distill.pm
+%%PERL5_MAN3%%/Text::Distill.3.gz