aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2002-06-08 22:33:42 +0000
committerPete Fritchman <petef@FreeBSD.org>2002-06-08 22:33:42 +0000
commit330c9e4d7391069b3473df507418f5b2e874d41a (patch)
treecf7c1407d9b3af53e45f54f5d80d354b077b2bdc
parent02e74a11f278bda4249040bf6fefdad66e524791 (diff)
downloadports-330c9e4d7391069b3473df507418f5b2e874d41a.tar.gz
ports-330c9e4d7391069b3473df507418f5b2e874d41a.zip
Add p5-Lingua-EN-MatchNames 1.1, smart matching for human names.
PR: 33379 Submitted by: Seamus Venasse <svenasse@polaris.ca>
Notes
Notes: svn path=/head/; revision=60916
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/p5-Lingua-EN-MatchNames/Makefile29
-rw-r--r--textproc/p5-Lingua-EN-MatchNames/distinfo1
-rw-r--r--textproc/p5-Lingua-EN-MatchNames/pkg-comment1
-rw-r--r--textproc/p5-Lingua-EN-MatchNames/pkg-descr14
-rw-r--r--textproc/p5-Lingua-EN-MatchNames/pkg-plist7
6 files changed, 53 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index c08942cb78df..4858416c1e66 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -129,6 +129,7 @@
SUBDIR += p5-Lingua-EN-Gender
SUBDIR += p5-Lingua-EN-Infinitive
SUBDIR += p5-Lingua-EN-Inflect
+ SUBDIR += p5-Lingua-EN-MatchNames
SUBDIR += p5-Lingua-EN-NameCase
SUBDIR += p5-Lingua-EN-NameParse
SUBDIR += p5-Lingua-EN-Nickname
diff --git a/textproc/p5-Lingua-EN-MatchNames/Makefile b/textproc/p5-Lingua-EN-MatchNames/Makefile
new file mode 100644
index 000000000000..11c17f59349f
--- /dev/null
+++ b/textproc/p5-Lingua-EN-MatchNames/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: Lingua::EN::MatchNames
+# Date created: 30 Dec 2001
+# Whom: Seamus Venasse <svenasse@polaris.ca>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Lingua-EN-MatchNames
+PORTVERSION= 1.1
+CATEGORIES= textproc perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Lingua
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= svenasse@polaris.ca
+
+BUILD_DEPENDS= ${SITE_PERL}/Lingua/EN/NameParse.pm:${PORTSDIR}/textproc/p5-Lingua-EN-NameParse \
+ ${SITE_PERL}/Lingua/EN/Nickname.pm:${PORTSDIR}/textproc/p5-Lingua-EN-Nickname \
+ ${SITE_PERL}/${PERL_ARCH}/String/Approx.pm:${PORTSDIR}/devel/p5-String-Approx \
+ ${SITE_PERL}/${PERL_ARCH}/Text/Metaphone.pm:${PORTSDIR}/textproc/p5-Text-Metaphone
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+SITE_PERL= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
+PERL_CONFIGURE= yes
+
+MAN3= Lingua::EN::MatchNames.3
+MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
+
+.include <bsd.port.mk>
diff --git a/textproc/p5-Lingua-EN-MatchNames/distinfo b/textproc/p5-Lingua-EN-MatchNames/distinfo
new file mode 100644
index 000000000000..35ef53d0b8b3
--- /dev/null
+++ b/textproc/p5-Lingua-EN-MatchNames/distinfo
@@ -0,0 +1 @@
+MD5 (Lingua-EN-MatchNames-1.1.tar.gz) = 9c41dcb7d359cc8875a63a850ce0143f
diff --git a/textproc/p5-Lingua-EN-MatchNames/pkg-comment b/textproc/p5-Lingua-EN-MatchNames/pkg-comment
new file mode 100644
index 000000000000..732cd915510f
--- /dev/null
+++ b/textproc/p5-Lingua-EN-MatchNames/pkg-comment
@@ -0,0 +1 @@
+Smart matching for human names
diff --git a/textproc/p5-Lingua-EN-MatchNames/pkg-descr b/textproc/p5-Lingua-EN-MatchNames/pkg-descr
new file mode 100644
index 000000000000..c194a0335635
--- /dev/null
+++ b/textproc/p5-Lingua-EN-MatchNames/pkg-descr
@@ -0,0 +1,14 @@
+You have two databases of person records that need to be synchronized
+or matched up, but they use different keys--maybe one uses SSN and
+the other uses employee id. The only fields you have to match on
+are first and last name.
+
+That's what this module is for.
+
+Just feed the first and last names to the name_eq() function, and
+it returns undef for no possible match, and a percentage of certainty
+(rank) otherwise.
+
+WWW: http://search.cpan.org/search?dist=Lingua-EN-MatchNames
+
+Seamus Venasse <svenasse@polaris.ca>
diff --git a/textproc/p5-Lingua-EN-MatchNames/pkg-plist b/textproc/p5-Lingua-EN-MatchNames/pkg-plist
new file mode 100644
index 000000000000..328e816d86e6
--- /dev/null
+++ b/textproc/p5-Lingua-EN-MatchNames/pkg-plist
@@ -0,0 +1,7 @@
+lib/perl5/site_perl/%%PERL_VER%%/Lingua/EN/MatchNames.pm
+lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Lingua/EN/MatchNames/.packlist
+@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Lingua/EN/MatchNames
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Lingua/EN 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Lingua 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Lingua/EN 2>/dev/null || true
+@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Lingua 2>/dev/null || true