From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Sep 30 08:50:24 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 81E6216A4CE for ; Thu, 30 Sep 2004 08:50:24 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5DD6B43D39 for ; Thu, 30 Sep 2004 08:50:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i8U8oOgb022233 for ; Thu, 30 Sep 2004 08:50:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i8U8oOkK022231; Thu, 30 Sep 2004 08:50:24 GMT (envelope-from gnats) Resent-Date: Thu, 30 Sep 2004 08:50:24 GMT Resent-Message-Id: <200409300850.i8U8oOkK022231@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Cheng-Lung Sung Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4D86A16A4CE for ; Thu, 30 Sep 2004 08:41:48 +0000 (GMT) Received: from FreeBSD.csie.NCTU.edu.tw (freebsd.csie.nctu.edu.tw [140.113.17.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD48943D1F for ; Thu, 30 Sep 2004 08:41:47 +0000 (GMT) (envelope-from clsung@FreeBSD.csie.NCTU.edu.tw) Received: from localhost (localhost.csie.nctu.edu.tw [127.0.0.1]) by FreeBSD.csie.NCTU.edu.tw (Postfix) with ESMTP id 5D467106C88 for ; Thu, 30 Sep 2004 16:41:39 +0800 (CST) Received: from FreeBSD.csie.NCTU.edu.tw ([127.0.0.1]) by localhost (FreeBSD.csie.NCTU.edu.tw [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 91600-10 for ; Thu, 30 Sep 2004 16:41:38 +0800 (CST) Received: by FreeBSD.csie.NCTU.edu.tw (Postfix, from userid 1038) id ED8DC106C86; Thu, 30 Sep 2004 16:41:37 +0800 (CST) Message-Id: <20040930084137.ED8DC106C86@FreeBSD.csie.NCTU.edu.tw> Date: Thu, 30 Sep 2004 16:41:37 +0800 (CST) From: Cheng-Lung Sung To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/72190: [NEW PORT] textproc/p5-Text-NSP: Perl5 modules for Ngram Statistics Package X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Sep 2004 08:50:24 -0000 >Number: 72190 >Category: ports >Synopsis: [NEW PORT] textproc/p5-Text-NSP: Perl5 modules for Ngram Statistics Package >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Sep 30 08:50:23 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Cheng-Lung Sung >Release: FreeBSD 4.10-STABLE i386 >Organization: FreeBSD @ Taiwan >Environment: System: FreeBSD FreeBSD.csie.NCTU.edu.tw 4.10-STABLE FreeBSD 4.10-STABLE #0: Sat May 29 08:18:00 CST 2004 >Description: Text::NSP - The Ngram Statistic Package allows a user to count sequences of Ngrams in large corpora of text, and measure their association. The module NSP.pm is a stub that doesn't have any real functionality. The real work is done by five programs: count.pl statistic.pl rank.pl combig.pl kocos.pl These are not modules, and are run from the command line. WWW: http://search.cpan.org/dist/p5-Text-NSP/ - Cheng-Lung Sung Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- p5-Text-NSP-0.71.shar begins here --- # 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-NSP # p5-Text-NSP/Makefile # p5-Text-NSP/pkg-message # p5-Text-NSP/pkg-descr # p5-Text-NSP/pkg-plist # p5-Text-NSP/distinfo # p5-Text-NSP/files # p5-Text-NSP/files/patch-Makefile.PL # echo c - p5-Text-NSP mkdir -p p5-Text-NSP > /dev/null 2>&1 echo x - p5-Text-NSP/Makefile sed 's/^X//' >p5-Text-NSP/Makefile << 'END-of-p5-Text-NSP/Makefile' X# New ports collection makefile for: p5-Text-NSP X# Date created: Sep 30 2004 X# Whom: Cheng-Lung Sung X# X# $FreeBSD$ X# X XPORTNAME= Text-NSP XPORTVERSION= 0.71 XCATEGORIES= textproc perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= Text XPKGNAMEPREFIX= p5- X XMAINTAINER= clsung@FreeBSD.org XCOMMENT= Perl5 modules for Ngram Statistics Package X XPERL_CONFIGURE= yes XDOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} X XMAN1= combig.pl.1 count.pl.1 \ X huge-combine.pl.1 huge-count.pl.1 \ X kocos.pl.1 rank.pl.1 \ X sort-bigrams.pl.1 split-data.pl.1 statistic.pl.1 XMAN3= pmi.3 rightFisher.3 measure3d.3 \ X tmi.3 leftFisher.3 measure2d.3 \ X odds.3 ll.3 ll3.3 dice.3 x2.3 \ X phi.3 tscore.3 tmi3.3 X Xpost-patch: X @${REINPLACE_CMD} -e \ X 's,$(SITEPREFIX)/doc,$(SITEPREFIX)/share/doc/${PKGNAMEPREFIX}${PORTNAME},' \ X ${WRKSRC}/Makefile.PL X @${FIND} ${WRKSRC} -name "*.pl" |${XARGS} \ X ${REINPLACE_CMD} -e 's|/usr/local/bin/perl|/usr/bin/env perl|' X @${FIND} ${WRKSRC} -name "*.p[lm]" |${XARGS} \ X ${REINPLACE_CMD} -e 's|split.*(/:/, $$ENV{PATH})|@INC|' X Xpost-install: X @${CAT} ${PKGMESSAGE} | ${SED} -e "s:%%DOCSDIR%%:${DOCSDIR}:g" X X.if defined(NOPORTDOCS) Xpre-patch: X @${REINPLACE_CMD} -e \ X "s,'html',''," ${WRKSRC}/Makefile.PL X.endif X.include X X.if ${PERL_LEVEL} < 500800 XIGNORE= This port requires perl 5.8.0 or later. Install lang/perl5.8 then try again X.endif X X.include END-of-p5-Text-NSP/Makefile echo x - p5-Text-NSP/pkg-message sed 's/^X//' >p5-Text-NSP/pkg-message << 'END-of-p5-Text-NSP/pkg-message' X************************************************************ XAll scripts have extensive command help and documentation Xin %%DOCSDIR%%/. X XSee %%DOCSDIR%%/pod/README.pod for an extensive description. X X************************************************************ END-of-p5-Text-NSP/pkg-message echo x - p5-Text-NSP/pkg-descr sed 's/^X//' >p5-Text-NSP/pkg-descr << 'END-of-p5-Text-NSP/pkg-descr' XText::NSP - The Ngram Statistic Package allows a user to count Xsequences of Ngrams in large corpora of text, and measure their Xassociation. X XThe module NSP.pm is a stub that doesn't have any real functionality. XThe real work is done by five programs: X Xcount.pl statistic.pl rank.pl combig.pl kocos.pl X XThese are not modules, and are run from the command line. X XWWW: http://search.cpan.org/dist/p5-Text-NSP/ X X- Cheng-Lung Sung END-of-p5-Text-NSP/pkg-descr echo x - p5-Text-NSP/pkg-plist sed 's/^X//' >p5-Text-NSP/pkg-plist << 'END-of-p5-Text-NSP/pkg-plist' Xbin/statistic.pl Xbin/split-data.pl Xbin/combig-script.sh Xbin/huge-count.pl Xbin/rank-script.sh Xbin/kocos.pl Xbin/huge-combine.pl Xbin/count.pl Xbin/rank.pl Xbin/kocos-script.sh Xbin/combig.pl Xbin/sort-bigrams.pl X%%SITE_PERL%%/auto/Text/NSP/autosplit.ix X%%SITE_PERL%%/pmi.pm X%%SITE_PERL%%/rightFisher.pm X%%SITE_PERL%%/tmi3.pm X%%SITE_PERL%%/measure3d.pm X%%SITE_PERL%%/odds.pm X%%SITE_PERL%%/ll3.pm X%%SITE_PERL%%/ll.pm X%%SITE_PERL%%/dice.pm X%%SITE_PERL%%/x2.pm X%%SITE_PERL%%/measure2d.pm X%%SITE_PERL%%/leftFisher.pm X%%SITE_PERL%%/phi.pm X%%SITE_PERL%%/tmi.pm X%%SITE_PERL%%/tscore.pm X%%SITE_PERL%%/Text/NSP.pm X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/NSP/.packlist X%%PORTDOCS%%%%DOCSDIR%%/html/dice.html X%%PORTDOCS%%%%DOCSDIR%%/html/ll.html X%%PORTDOCS%%%%DOCSDIR%%/html/ll3.html X%%PORTDOCS%%%%DOCSDIR%%/html/odds.html X%%PORTDOCS%%%%DOCSDIR%%/html/phi.html X%%PORTDOCS%%%%DOCSDIR%%/html/tmi.html X%%PORTDOCS%%%%DOCSDIR%%/html/pmi.html X%%PORTDOCS%%%%DOCSDIR%%/html/tscore.html X%%PORTDOCS%%%%DOCSDIR%%/html/x2.html X%%PORTDOCS%%%%DOCSDIR%%/html/leftFisher.html X%%PORTDOCS%%%%DOCSDIR%%/html/rightFisher.html X%%PORTDOCS%%%%DOCSDIR%%/html/measure2d.html X%%PORTDOCS%%%%DOCSDIR%%/html/measure3d.html X%%PORTDOCS%%%%DOCSDIR%%/html/count.html X%%PORTDOCS%%%%DOCSDIR%%/html/statistic.html X%%PORTDOCS%%%%DOCSDIR%%/html/rank.html X%%PORTDOCS%%%%DOCSDIR%%/html/kocos.html X%%PORTDOCS%%%%DOCSDIR%%/html/combig.html X%%PORTDOCS%%%%DOCSDIR%%/html/huge-count.html X%%PORTDOCS%%%%DOCSDIR%%/html/huge-combine.html X%%PORTDOCS%%%%DOCSDIR%%/html/sort-bigrams.html X%%PORTDOCS%%%%DOCSDIR%%/html/split-data.html X%%PORTDOCS%%%%DOCSDIR%%/html/FAQ.html X%%PORTDOCS%%%%DOCSDIR%%/html/NewStats.html X%%PORTDOCS%%%%DOCSDIR%%/html/Measures.html X%%PORTDOCS%%%%DOCSDIR%%/html/README.html X%%PORTDOCS%%%%DOCSDIR%%/html/Todo.html X%%PORTDOCS%%%%DOCSDIR%%/html/Usage.html X%%PORTDOCS%%%%DOCSDIR%%/pod/FAQ.pod X%%PORTDOCS%%%%DOCSDIR%%/pod/NewStats.pod X%%PORTDOCS%%%%DOCSDIR%%/pod/Measures.pod X%%PORTDOCS%%%%DOCSDIR%%/pod/README.pod X%%PORTDOCS%%%%DOCSDIR%%/pod/Todo.pod X%%PORTDOCS%%%%DOCSDIR%%/pod/Usage.pod X%%PORTDOCS%%@dirrm %%DOCSDIR%%/html X%%PORTDOCS%%@dirrm %%DOCSDIR%%/pod X%%PORTDOCS%%@dirrm %%DOCSDIR%% X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Text/NSP X@dirrm %%SITE_PERL%%/auto/Text/NSP X@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Text 2>/dev/null || true X@unexec rmdir %D/%%SITE_PERL%%/auto/Text 2>/dev/null || true X@unexec rmdir %D/%%SITE_PERL%%/Text 2>/dev/null || true END-of-p5-Text-NSP/pkg-plist echo x - p5-Text-NSP/distinfo sed 's/^X//' >p5-Text-NSP/distinfo << 'END-of-p5-Text-NSP/distinfo' XMD5 (Text-NSP-0.71.tar.gz) = ac1a9d2bfd035a2fedd64cf0fa11ebd0 XSIZE (Text-NSP-0.71.tar.gz) = 603295 END-of-p5-Text-NSP/distinfo echo c - p5-Text-NSP/files mkdir -p p5-Text-NSP/files > /dev/null 2>&1 echo x - p5-Text-NSP/files/patch-Makefile.PL sed 's/^X//' >p5-Text-NSP/files/patch-Makefile.PL << 'END-of-p5-Text-NSP/files/patch-Makefile.PL' X--- Makefile.PL.orig Fri Jun 18 06:18:30 2004 X+++ Makefile.PL Thu Sep 30 10:39:29 2004 X@@ -240,19 +240,6 @@ X @pod2html --outfile=$(SITEPREFIX)/doc/html/Todo.html --infile=Docs/Todo.pod --title="NSP Todo" X @pod2html --outfile=$(SITEPREFIX)/doc/html/Usage.html --infile=Docs/Usage.pod --title="NSP Usage" X X-# general documentation to man/man3 X- X- @$(MKPATH) $(SITEPREFIX)/man/man3 X- X- @echo "Installing man page documentation in $(SITEPREFIX)/man/man3" X- X- @pod2man Docs/FAQ.pod $(SITEPREFIX)/man/man3/FAQ.$(MAN3EXT) X- @pod2man Docs/NewStats.pod $(SITEPREFIX)/man/man3/NewStats.$(MAN3EXT) X- @pod2man Docs/Measures.pod $(SITEPREFIX)/man/man3/Measures.$(MAN3EXT) X- @pod2man Docs/README.pod $(SITEPREFIX)/man/man3/README.$(MAN3EXT) X- @pod2man Docs/Todo.pod $(SITEPREFIX)/man/man3/Todo.$(MAN3EXT) X- @pod2man Docs/Usage.pod $(SITEPREFIX)/man/man3/Usage.$(MAN3EXT) X- X # general documentation to doc/pod X X @echo "Installing pod documentation in $(SITEPREFIX)/doc/pod" END-of-p5-Text-NSP/files/patch-Makefile.PL exit --- p5-Text-NSP-0.71.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: