Date: Sun, 18 Apr 2004 15:00:47 +0200 From: Lars Eggert <lars.eggert@gmx.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/65709: [NEW PORT] www/p5-HTML-TokeParser-Simple: Subclass of HTML::TokeParser with easy-to-remember method calls Message-ID: <20040418130551.8B747F674@ftp.ccrle.nec.de> Resent-Message-ID: <200404181310.i3IDAGAQ047957@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 65709 >Category: ports >Synopsis: [NEW PORT] www/p5-HTML-TokeParser-Simple: Subclass of HTML::TokeParser with easy-to-remember method calls >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: Sun Apr 18 06:10:16 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Lars Eggert >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD localhost 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Fri Apr 9 11:20:56 PDT >Description: HTML::TokeParser::Simple is a subclass of HTML::TokeParser that uses easy-to-remember method calls to work with the tokens. Rather than try to remember a bunch of array indices or try to write a bunch of constants for them, you can now do something like: $token->is_start_tag( 'form' ) Instead of $token->[0] eq 'S' and $token->[1] eq 'form' Generated with FreeBSD Port Tools 0.50 >How-To-Repeat: >Fix: --- p5-HTML-TokeParser-Simple-2.2.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-HTML-TokeParser-Simple # p5-HTML-TokeParser-Simple/Makefile # p5-HTML-TokeParser-Simple/distinfo # p5-HTML-TokeParser-Simple/pkg-descr # p5-HTML-TokeParser-Simple/pkg-plist # echo c - p5-HTML-TokeParser-Simple mkdir -p p5-HTML-TokeParser-Simple > /dev/null 2>&1 echo x - p5-HTML-TokeParser-Simple/Makefile sed 's/^X//' >p5-HTML-TokeParser-Simple/Makefile << 'END-of-p5-HTML-TokeParser-Simple/Makefile' X# New ports collection makefile for: HTML-TokeParser-Simple X# Date created: 18 April 2004 X# Whom: Lars Eggert <lars.eggert@gmx.net> X# X# $FreeBSD$ X# X XPORTNAME= HTML-TokeParser-Simple XPORTVERSION= 2.2 XCATEGORIES= www perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= HTML XPKGNAMEPREFIX= p5- X XMAINTAINER= lars.eggert@gmx.net XCOMMENT= Subclass of HTML::TokeParser with easy-to-remember method calls X XBUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/HTML/HeadParser.pm:${PORTSDIR}/www/p5-HTML-Parser XRUN_DEPENDS= ${BUILD_DEPENDS} X XPERL_CONFIGURE= yes X XMAN3= HTML::TokeParser::Simple.3 X X.include <bsd.port.mk> END-of-p5-HTML-TokeParser-Simple/Makefile echo x - p5-HTML-TokeParser-Simple/distinfo sed 's/^X//' >p5-HTML-TokeParser-Simple/distinfo << 'END-of-p5-HTML-TokeParser-Simple/distinfo' XMD5 (HTML-TokeParser-Simple-2.2.tar.gz) = 65b1974178b129c8b0efd1d2dcd91efb XSIZE (HTML-TokeParser-Simple-2.2.tar.gz) = 9990 END-of-p5-HTML-TokeParser-Simple/distinfo echo x - p5-HTML-TokeParser-Simple/pkg-descr sed 's/^X//' >p5-HTML-TokeParser-Simple/pkg-descr << 'END-of-p5-HTML-TokeParser-Simple/pkg-descr' XHTML::TokeParser::Simple is a subclass of HTML::TokeParser that uses Xeasy-to-remember method calls to work with the tokens. Rather than Xtry to remember a bunch of array indices or try to write a bunch of Xconstants for them, you can now do something like: X X $token->is_start_tag( 'form' ) X XInstead of X X $token->[0] eq 'S' and $token->[1] eq 'form' END-of-p5-HTML-TokeParser-Simple/pkg-descr echo x - p5-HTML-TokeParser-Simple/pkg-plist sed 's/^X//' >p5-HTML-TokeParser-Simple/pkg-plist << 'END-of-p5-HTML-TokeParser-Simple/pkg-plist' X%%SITE_PERL%%/HTML/TokeParser/Simple.pm X%%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/TokeParser/Simple/.packlist X@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/HTML/TokeParser/Simple END-of-p5-HTML-TokeParser-Simple/pkg-plist exit --- p5-HTML-TokeParser-Simple-2.2.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040418130551.8B747F674>