aboutsummaryrefslogtreecommitdiffstats
path: root/textproc/p5-Lingua-EN-Fathom
diff options
context:
space:
mode:
authortobez <tobez@FreeBSD.org>2006-03-28 19:48:30 +0800
committertobez <tobez@FreeBSD.org>2006-03-28 19:48:30 +0800
commit977cbfd3cf157327b1246256fb024f209aa3c254 (patch)
treeafea2d1ed9576ca470ca058b5c7bde0d82bfd4e0 /textproc/p5-Lingua-EN-Fathom
parent48e5636b9ca51c56e779199860717939ee4e16f5 (diff)
downloadfreebsd-ports-gnome-977cbfd3cf157327b1246256fb024f209aa3c254.tar.gz
freebsd-ports-gnome-977cbfd3cf157327b1246256fb024f209aa3c254.tar.zst
freebsd-ports-gnome-977cbfd3cf157327b1246256fb024f209aa3c254.zip
Add textproc/p5-Lingua-EN-Fathom 1.09, a Perl module that measures
readability of English text.
Diffstat (limited to 'textproc/p5-Lingua-EN-Fathom')
-rw-r--r--textproc/p5-Lingua-EN-Fathom/Makefile31
-rw-r--r--textproc/p5-Lingua-EN-Fathom/distinfo3
-rw-r--r--textproc/p5-Lingua-EN-Fathom/pkg-descr5
-rw-r--r--textproc/p5-Lingua-EN-Fathom/pkg-plist9
4 files changed, 48 insertions, 0 deletions
diff --git a/textproc/p5-Lingua-EN-Fathom/Makefile b/textproc/p5-Lingua-EN-Fathom/Makefile
new file mode 100644
index 000000000000..d35b72ab32fa
--- /dev/null
+++ b/textproc/p5-Lingua-EN-Fathom/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: textproc/p5-Lingua-EN-Fathom
+# Date created: 28 February 2006
+# Whom: Anton Berezin <tobez@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Lingua-EN-Fathom
+PORTVERSION= 1.09
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Lingua
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tobez@FreeBSD.org
+COMMENT= Lingua::EN::Fathom - Measure readability of English text
+
+BUILD_DEPENDS= ${SITE_PERL}/Lingua/EN/Syllable.pm:${PORTSDIR}/textproc/p5-Lingua-EN-Syllable
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Lingua::EN::Fathom.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500600
+IGNORE= requires perl 5.6.0 or later. Install lang/perl5.8 and try again
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/p5-Lingua-EN-Fathom/distinfo b/textproc/p5-Lingua-EN-Fathom/distinfo
new file mode 100644
index 000000000000..9378db305b36
--- /dev/null
+++ b/textproc/p5-Lingua-EN-Fathom/distinfo
@@ -0,0 +1,3 @@
+MD5 (Lingua-EN-Fathom-1.09.tar.gz) = 8de66e7f5665b833a2202626c7ea81d1
+SHA256 (Lingua-EN-Fathom-1.09.tar.gz) = 4a1ba2c6fa21617701617eafaf79347262052801dfea88153abdc9b8c8f5d126
+SIZE (Lingua-EN-Fathom-1.09.tar.gz) = 7630
diff --git a/textproc/p5-Lingua-EN-Fathom/pkg-descr b/textproc/p5-Lingua-EN-Fathom/pkg-descr
new file mode 100644
index 000000000000..5ebea9572b56
--- /dev/null
+++ b/textproc/p5-Lingua-EN-Fathom/pkg-descr
@@ -0,0 +1,5 @@
+This module analyses English text in either a string or file. Totals are
+then calculated for the number of characters, words, sentences, blank
+and non blank (text) lines and paragraphs.
+
+WWW: http://search.cpan.org/dist/Lingua-EN-Fathom/
diff --git a/textproc/p5-Lingua-EN-Fathom/pkg-plist b/textproc/p5-Lingua-EN-Fathom/pkg-plist
new file mode 100644
index 000000000000..29b63d126fec
--- /dev/null
+++ b/textproc/p5-Lingua-EN-Fathom/pkg-plist
@@ -0,0 +1,9 @@
+%%SITE_PERL%%/Lingua/EN/Fathom.pm
+%%SITE_PERL%%/Lingua/EN/demo.pl
+%%SITE_PERL%%/Lingua/EN/demo_recurse.pl
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/EN/Fathom/.packlist
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/EN/Fathom
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua/EN
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Lingua
+@dirrmtry %%SITE_PERL%%/Lingua/EN
+@dirrmtry %%SITE_PERL%%/Lingua