From clsung@dragon2.net  Sat Dec 27 00:59:37 2003
Return-Path: <clsung@dragon2.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 428C716A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 27 Dec 2003 00:59:37 -0800 (PST)
Received: from mail.dragon2.net (sungsung.csie.nctu.edu.tw [140.113.215.201])
	by mx1.FreeBSD.org (Postfix) with ESMTP id BA7C043D39
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 27 Dec 2003 00:59:35 -0800 (PST)
	(envelope-from clsung@dragon2.net)
Received: from localhost (localhost.csie.nctu.edu.tw [127.0.0.1])
	by mail.dragon2.net (Postfix) with ESMTP
	id C26661562A; Sat, 27 Dec 2003 17:00:45 +0800 (CST)
Received: from mail.dragon2.net ([127.0.0.1])
 by localhost (sungsung.csie.nctu.edu.tw [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 49674-02; Sat, 27 Dec 2003 17:00:45 +0800 (CST)
Received: by mail.dragon2.net (Postfix, from userid 1022)
	id 3E4F615607; Sat, 27 Dec 2003 17:00:45 +0800 (CST)
Message-Id: <20031227090045.3E4F615607@mail.dragon2.net>
Date: Sat, 27 Dec 2003 17:00:45 +0800 (CST)
From: Cheng-Lung Sung <clsung@dragon2.net>
Reply-To: Cheng-Lung Sung <clsung@dragon2.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc: clsung@tiger2.net
Subject: New port: textproc/p5-Text-Ngrams 1.0
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         60607
>Category:       ports
>Synopsis:       New port: textproc/p5-Text-Ngrams 1.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 27 01:00:36 PST 2003
>Closed-Date:    Sat Dec 27 16:13:30 PST 2003
>Last-Modified:  Sat Dec 27 16:13:30 PST 2003
>Originator:     Cheng-Lung Sung
>Release:        FreeBSD 4.9-RELEASE i386
>Organization:
FreeBSD @ Taiwan
>Environment:
System: FreeBSD sungsung.csie.nctu.edu.tw 4.9-RELEASE FreeBSD 4.9-RELEASE #5: Wed Oct 29 20:13:25 CST 2003 root@sungsung.csie.nctu.edu.tw:/usr/obj/usr/src/sys/SUNGSUNG i386

>Description:
- New port: Perl5 modules for Flexible Ngram analysis
- synopsis:
    use Text::Ngrams;
    my $ng3 = Text::Ngrams->new;
    ng3->process_text('abcdefg1235678hijklmnop');
    print ng3->to_string;
>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-Text-Ngrams/
#	p5-Text-Ngrams/Makefile
#	p5-Text-Ngrams/distinfo
#	p5-Text-Ngrams/pkg-descr
#	p5-Text-Ngrams/pkg-plist
#
echo c - p5-Text-Ngrams/
mkdir -p p5-Text-Ngrams/ > /dev/null 2>&1
echo x - p5-Text-Ngrams/Makefile
sed 's/^X//' >p5-Text-Ngrams/Makefile << 'END-of-p5-Text-Ngrams/Makefile'
X# New ports collection makefile for:	p5-Text-Ngrams
X# Date created:				Dec 27 2003
X# Whom:					Cheng-Lung Sung <clsung@dragon2.net>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	Text-Ngrams
XPORTVERSION=	1.0
XCATEGORIES=	textproc perl5
XMASTER_SITES=	${MASTER_SITE_PERL_CPAN}
XMASTER_SITE_SUBDIR=	Text
XPKGNAMEPREFIX=	p5-
X
XMAINTAINER=	clsung@dragon2.net
XCOMMENT=	Perl5 modules for Flexible Ngram analysis
X
XPERL_CONFIGURE=	yes
X
XMAN1=		ngrams.pl.1
XMAN3=		Text::Ngrams.3
X
X.include <bsd.port.pre.mk>
X
X.if ${PERL_LEVEL} < 500601
XIGNORE=		This port requires perl 5.6.x or later. Install lang/perl5 then try again
X.endif
X
X.include <bsd.port.post.mk>
END-of-p5-Text-Ngrams/Makefile
echo x - p5-Text-Ngrams/distinfo
sed 's/^X//' >p5-Text-Ngrams/distinfo << 'END-of-p5-Text-Ngrams/distinfo'
XMD5 (Text-Ngrams-1.0.tar.gz) = 95e19fc6c1def9cf5e271036b4843010
END-of-p5-Text-Ngrams/distinfo
echo x - p5-Text-Ngrams/pkg-descr
sed 's/^X//' >p5-Text-Ngrams/pkg-descr << 'END-of-p5-Text-Ngrams/pkg-descr'
XText::Ngrams - Flexible Ngram analysis (for characters, words, and more)
X
XThis module implement text n-gram analysis, supporting several types of 
Xanalysis, including character and word n-grams.
X
XThe module can be used from the command line through the script ngrams.pl 
Xprovided with the package.
X
XWWW: http://search.cpan.org/dist/Text-Ngrams/
X
XAuthor: Vlado Keselj <vlado@cpan.org>
END-of-p5-Text-Ngrams/pkg-descr
echo x - p5-Text-Ngrams/pkg-plist
sed 's/^X//' >p5-Text-Ngrams/pkg-plist << 'END-of-p5-Text-Ngrams/pkg-plist'
Xbin/ngrams.pl
X%%SITE_PERL%%/Text/Ngrams.pm
X%%SITE_PERL%%/Text/ngrams.pl
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Ngrams/.packlist
X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/Ngrams
X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text 2>/dev/null || true
X@unexec rmdir %D/%%SITE_PERL%%/Text 2>/dev/null || true
END-of-p5-Text-Ngrams/pkg-plist
exit
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: krion 
State-Changed-When: Sat Dec 27 16:13:21 PST 2003 
State-Changed-Why:  
New port added, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=60607 
>Unformatted:
