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' WWW: http://search.cpan.org/dist/HTML-TokeParser-Simple/
19 lines
673 B
Makefile
19 lines
673 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2006/03/09 17:58:09 kuli0020 Exp $
|
|
|
|
DISTNAME= HTML-TokeParser-Simple-3.14
|
|
PKGNAME= p5-${DISTNAME}
|
|
CATEGORIES= www perl5
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=HTML/}
|
|
|
|
MAINTAINER= kuli0020@umn.edu
|
|
HOMEPAGE= http://search.cpan.org/dist/HTML-TokeParser-Simple/
|
|
COMMENT= Subclass of HTML::TokeParser with easy-to-remember method calls
|
|
|
|
DEPENDS+= p5-HTML-Parser>=3.25:../../www/p5-HTML-Parser
|
|
DEPENDS+= p5-Sub-Override>=0:../../wip/p5-Sub-Override
|
|
BUILD_DEPENDS+= {perl>=5.7.3,p5-Test-Simple>=0}:../../devel/p5-Test-Simple
|
|
|
|
PERL5_PACKLIST= auto/HTML/TokeParser/Simple/.packlist
|
|
|
|
.include "../../lang/perl5/module.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|