summaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-07-11 20:42:43 +0000
committerrafan <rafan@FreeBSD.org>2006-07-11 20:42:43 +0000
commit5ad180438ff0b583b0820018e424345629c5b5c0 (patch)
tree434c6e34843be216b4b87d00c3950b6c4f71b742 /textproc
parenteb81cf2898f541ef4b913b2346cd9588405aaad3 (diff)
downloadFreeBSD-ports-5ad180438ff0b583b0820018e424345629c5b5c0.zip
FreeBSD-ports-5ad180438ff0b583b0820018e424345629c5b5c0.tar.gz
Add p5-Regexp-Common-profanity_us 2.2, provide regexes for U.S.
profanity. PR: ports/100070 Submitted by: Gea-Suan Lin <gslin at gslin.org>
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Regexp-Common-profanity_us/Makefile26
-rw-r--r--textproc/p5-Regexp-Common-profanity_us/distinfo3
-rw-r--r--textproc/p5-Regexp-Common-profanity_us/pkg-descr21
-rw-r--r--textproc/p5-Regexp-Common-profanity_us/pkg-plist10
5 files changed, 61 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index 718f25f..be9fafe 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -415,6 +415,7 @@
SUBDIR += p5-RTF-Writer
SUBDIR += p5-Regex-PreSuf
SUBDIR += p5-Regexp-Common
+ SUBDIR += p5-Regexp-Common-profanity_us
SUBDIR += p5-Regexp-Log
SUBDIR += p5-Regexp-Log-Common
SUBDIR += p5-SGMLSpm
diff --git a/textproc/p5-Regexp-Common-profanity_us/Makefile b/textproc/p5-Regexp-Common-profanity_us/Makefile
new file mode 100644
index 0000000..913b02f
--- /dev/null
+++ b/textproc/p5-Regexp-Common-profanity_us/Makefile
@@ -0,0 +1,26 @@
+# New ports collection makefile for: p5-Regexp-Common-profanity_us
+# Date created: 2006-07-11
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Regexp-Common-profanity_us
+PORTVERSION= 2.2
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Regexp
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gslin@gslin.org
+COMMENT= Provide regexes for U.S. profanity
+
+BUILD_DEPENDS= ${SITE_PERL}/Regexp/Common.pm:${PORTSDIR}/textproc/p5-Regexp-Common
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Regexp::Common::profanity_us.3 \
+ Regexp::Profanity::US.3
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-Regexp-Common-profanity_us/distinfo b/textproc/p5-Regexp-Common-profanity_us/distinfo
new file mode 100644
index 0000000..1cd79c6
--- /dev/null
+++ b/textproc/p5-Regexp-Common-profanity_us/distinfo
@@ -0,0 +1,3 @@
+MD5 (Regexp-Common-profanity_us-2.2.tar.gz) = 863b9847c70d6fd319d3766b9728447d
+SHA256 (Regexp-Common-profanity_us-2.2.tar.gz) = bd8069e7e56569809d69008bc8509c812213d87f6730c03c344e3ec6e1a627ee
+SIZE (Regexp-Common-profanity_us-2.2.tar.gz) = 5912
diff --git a/textproc/p5-Regexp-Common-profanity_us/pkg-descr b/textproc/p5-Regexp-Common-profanity_us/pkg-descr
new file mode 100644
index 0000000..de103e5
--- /dev/null
+++ b/textproc/p5-Regexp-Common-profanity_us/pkg-descr
@@ -0,0 +1,21 @@
+Instead of a dry technical overview, I am going to explain the
+structure of this module based on its history. I consult at a company
+that generates customer leads primarily by having websites that
+attract people (e.g. lowering loan values, selling cars, buying real
+estate, etc.). For some reason we get more than our fair share of
+profane leads. For this reason I was told to write a profanity checker.
+
+For the data that I was dealing with, the profanity was most often in
+the email address or in the first or last name, so I naively started
+filtering profanity with a set of regexps for that sort of data. Note
+that both names and email addresses are unlike what you are reading
+now: they are not whitespace-separated text, but are instead labels.
+
+Therefore full support for profanity checking should work in 2
+entirely different contexts: labels (email, names) and text (what you
+are reading). Because open-source is driven by demand and I have no
+need for detecting profanity in text, only label is implemented at the
+moment. And you know the next sentence: "patches welcome" :)
+
+Author: T. M. Brannon, tbone@cpan.org
+WWW: http://search.cpan.org/dist/Regexp-Common-profanity_us/
diff --git a/textproc/p5-Regexp-Common-profanity_us/pkg-plist b/textproc/p5-Regexp-Common-profanity_us/pkg-plist
new file mode 100644
index 0000000..cc83cf1
--- /dev/null
+++ b/textproc/p5-Regexp-Common-profanity_us/pkg-plist
@@ -0,0 +1,10 @@
+@comment $FreeBSD$
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Regexp/Common/profanity_us/.packlist
+%%SITE_PERL%%/Regexp/Common/profanity_us.pm
+%%SITE_PERL%%/Regexp/Profanity/US.pm
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Regexp/Common/profanity_us
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Regexp/Common
+@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Regexp
+@dirrmtry %%SITE_PERL%%/Regexp/Common
+@dirrmtry %%SITE_PERL%%/Regexp/Profanity
+@dirrmtry %%SITE_PERL%%/Regexp
OpenPOWER on IntegriCloud