diff options
author | petef <petef@FreeBSD.org> | 2002-06-08 22:33:42 +0000 |
---|---|---|
committer | petef <petef@FreeBSD.org> | 2002-06-08 22:33:42 +0000 |
commit | ffc0026d8208485ec0cdebd187eda7b1c5d72288 (patch) | |
tree | 78a9db045a6456e63292b530de7ed4d7d51ab4de /textproc | |
parent | 1d8ddb583ac3ca8025c1ecd8b55db0621eaf0fd7 (diff) | |
download | FreeBSD-ports-ffc0026d8208485ec0cdebd187eda7b1c5d72288.zip FreeBSD-ports-ffc0026d8208485ec0cdebd187eda7b1c5d72288.tar.gz |
Add p5-Lingua-EN-MatchNames 1.1, smart matching for human names.
PR: 33379
Submitted by: Seamus Venasse <svenasse@polaris.ca>
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/Makefile | 1 | ||||
-rw-r--r-- | textproc/p5-Lingua-EN-MatchNames/Makefile | 29 | ||||
-rw-r--r-- | textproc/p5-Lingua-EN-MatchNames/distinfo | 1 | ||||
-rw-r--r-- | textproc/p5-Lingua-EN-MatchNames/pkg-comment | 1 | ||||
-rw-r--r-- | textproc/p5-Lingua-EN-MatchNames/pkg-descr | 14 | ||||
-rw-r--r-- | textproc/p5-Lingua-EN-MatchNames/pkg-plist | 7 |
6 files changed, 53 insertions, 0 deletions
diff --git a/textproc/Makefile b/textproc/Makefile index c08942c..4858416 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 0000000..11c17f5 --- /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 0000000..35ef53d --- /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 0000000..732cd91 --- /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 0000000..c194a03 --- /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 0000000..328e816 --- /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 |