mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
Add p5-Lingua-EN-MatchNames 1.1, smart matching for human names.
PR: 33379 Submitted by: Seamus Venasse <svenasse@polaris.ca>
This commit is contained in:
parent
02e74a11f2
commit
330c9e4d73
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=60916
@ -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
|
||||
|
29
textproc/p5-Lingua-EN-MatchNames/Makefile
Normal file
29
textproc/p5-Lingua-EN-MatchNames/Makefile
Normal file
@ -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>
|
1
textproc/p5-Lingua-EN-MatchNames/distinfo
Normal file
1
textproc/p5-Lingua-EN-MatchNames/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (Lingua-EN-MatchNames-1.1.tar.gz) = 9c41dcb7d359cc8875a63a850ce0143f
|
1
textproc/p5-Lingua-EN-MatchNames/pkg-comment
Normal file
1
textproc/p5-Lingua-EN-MatchNames/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Smart matching for human names
|
14
textproc/p5-Lingua-EN-MatchNames/pkg-descr
Normal file
14
textproc/p5-Lingua-EN-MatchNames/pkg-descr
Normal file
@ -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>
|
7
textproc/p5-Lingua-EN-MatchNames/pkg-plist
Normal file
7
textproc/p5-Lingua-EN-MatchNames/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user