Skip site navigation (1)Skip section navigation (2)
Date:      31 Dec 2001 06:56:04 -0000
From:      Seamus Venasse <svenasse@polaris.ca>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/33379: New port: Smart matching for human names
Message-ID:  <20011231065604.30218.qmail@pris.polaris.ca>

next in thread | raw e-mail | index | archive | help

>Number:         33379
>Category:       ports
>Synopsis:       New port: Smart matching for human names
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 30 23:10:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Seamus Venasse
>Release:        FreeBSD 4.4-STABLE i386
>Organization:
Polaris Computing
>Environment:
System: FreeBSD pitou.polaris.ca 4.4-STABLE FreeBSD 4.4-STABLE #1: Wed Nov 7 01:23:05 PST 2001 root@pitou.polaris.ca:/usr/obj/usr/src/sys/PITOU i386


	
>Description:
	
>How-To-Repeat:
	
>Fix:


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	p5-Lingua-EN-MatchNames
#	p5-Lingua-EN-MatchNames/Makefile
#	p5-Lingua-EN-MatchNames/distinfo
#	p5-Lingua-EN-MatchNames/pkg-comment
#	p5-Lingua-EN-MatchNames/pkg-descr
#	p5-Lingua-EN-MatchNames/pkg-plist
#
echo c - p5-Lingua-EN-MatchNames
mkdir -p p5-Lingua-EN-MatchNames > /dev/null 2>&1
echo x - p5-Lingua-EN-MatchNames/Makefile
sed 's/^X//' >p5-Lingua-EN-MatchNames/Makefile << 'END-of-p5-Lingua-EN-MatchNames/Makefile'
X# New ports collection makefile for:	Lingua::EN::MatchNames
X# Date created:				30 Dec 2001
X# Whom:					Seamus Venasse <svenasse@polaris.ca>
X#
X# $FreeBSD$
X#
X
XPORTNAME=		Lingua-EN-MatchNames
XPORTVERSION=		1.1
XCATEGORIES=		textproc perl5
XMASTER_SITES=		${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Lingua
XPKGNAMEPREFIX=		p5-
X
XMAINTAINER=		svenasse@polaris.ca
X
XBUILD_DEPENDS=		${SITE_PERL}/Lingua/EN/NameParse.pm:${PORTSDIR}/textproc/p5-Lingua-EN-NameParse \
X			${SITE_PERL}/Lingua/EN/Nickname.pm:${PORTSDIR}/textproc/p5-Lingua-EN-Nickname \
X			${SITE_PERL}/${PERL_ARCH}/String/Approx.pm:${PORTSDIR}/devel/p5-String-Approx \
X			${SITE_PERL}/${PERL_ARCH}/Text/Metaphone.pm:${PORTSDIR}/textproc/p5-Text-Metaphone
XRUN_DEPENDS=		${BUILD_DEPENDS}
X
XSITE_PERL=		${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}
XPERL_CONFIGURE=		yes
X
XMAN3=			Lingua::EN::MatchNames.3
XMANPREFIX=		${PREFIX}/lib/perl5/${PERL_VERSION}
X
X.include <bsd.port.mk>
END-of-p5-Lingua-EN-MatchNames/Makefile
echo x - p5-Lingua-EN-MatchNames/distinfo
sed 's/^X//' >p5-Lingua-EN-MatchNames/distinfo << 'END-of-p5-Lingua-EN-MatchNames/distinfo'
XMD5 (Lingua-EN-MatchNames-1.1.tar.gz) = 9c41dcb7d359cc8875a63a850ce0143f
END-of-p5-Lingua-EN-MatchNames/distinfo
echo x - p5-Lingua-EN-MatchNames/pkg-comment
sed 's/^X//' >p5-Lingua-EN-MatchNames/pkg-comment << 'END-of-p5-Lingua-EN-MatchNames/pkg-comment'
XSmart matching for human names
END-of-p5-Lingua-EN-MatchNames/pkg-comment
echo x - p5-Lingua-EN-MatchNames/pkg-descr
sed 's/^X//' >p5-Lingua-EN-MatchNames/pkg-descr << 'END-of-p5-Lingua-EN-MatchNames/pkg-descr'
XYou have two databases of person records that need to be synchronized
Xor matched up, but they use different keys--maybe one uses SSN and
Xthe other uses employee id. The only fields you have to match on
Xare first and last name.
X
XThat's what this module is for. 
X
XJust feed the first and last names to the name_eq() function, and
Xit returns undef for no possible match, and a percentage of certainty
X(rank) otherwise.
X
XWWW: http://search.cpan.org/search?dist=Lingua-EN-MatchNames
X
XSeamus Venasse <svenasse@polaris.ca>
END-of-p5-Lingua-EN-MatchNames/pkg-descr
echo x - p5-Lingua-EN-MatchNames/pkg-plist
sed 's/^X//' >p5-Lingua-EN-MatchNames/pkg-plist << 'END-of-p5-Lingua-EN-MatchNames/pkg-plist'
Xlib/perl5/site_perl/%%PERL_VER%%/Lingua/EN/MatchNames.pm
Xlib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Lingua/EN/MatchNames/.packlist
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/Lingua/EN
X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Lingua 2>/dev/null || true
X@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Lingua/EN/MatchNames
X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Lingua/EN 2>/dev/null || true
X@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Lingua 2>/dev/null || true
END-of-p5-Lingua-EN-MatchNames/pkg-plist
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011231065604.30218.qmail>