aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Berezin <tobez@FreeBSD.org>2006-03-28 11:48:30 +0000
committerAnton Berezin <tobez@FreeBSD.org>2006-03-28 11:48:30 +0000
commit090b0675d0d7e47adc85b53c6e94b8f609512499 (patch)
tree958ca24c78746c27bda2b669aac8e5ec7d72b8fb
parentfd1b1498dbef6ebaf992ee54db211459d4708e66 (diff)
downloadports-090b0675d0d7e47adc85b53c6e94b8f609512499.tar.gz
ports-090b0675d0d7e47adc85b53c6e94b8f609512499.zip
Add textproc/p5-Lingua-EN-Fathom 1.09, a Perl module that measures
readability of English text.
Notes
Notes: svn path=/head/; revision=158312
-rw-r--r--textproc/Makefile1
-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
5 files changed, 49 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 840926207c43..28898804aabc 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -321,6 +321,7 @@
SUBDIR += p5-LJ-SpellCheck
SUBDIR += p5-Lingua-Conjunction
SUBDIR += p5-Lingua-EN-AddressParse
+ SUBDIR += p5-Lingua-EN-Fathom
SUBDIR += p5-Lingua-EN-Gender
SUBDIR += p5-Lingua-EN-Infinitive
SUBDIR += p5-Lingua-EN-Inflect
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