Date: Sat, 27 Dec 2003 17:00:45 +0800 (CST) From: Cheng-Lung Sung <clsung@dragon2.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: clsung@tiger2.net Subject: ports/60607: New port: textproc/p5-Text-Ngrams 1.0 Message-ID: <20031227090045.3E4F615607@mail.dragon2.net> Resent-Message-ID: <200312270900.hBR90ajV042018@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat Dec 27 01:00:36 PST 2003 >Closed-Date: >Last-Modified: >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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031227090045.3E4F615607>