pkgsrc/www/p5-Test-WWW-Mechanize/Makefile
seb 417af3bac9 Update from version 1.22 to version 1.24.
Upstream changes:
1.24    Sat Jan 17 13:26:47 CST 2009
------------------------------------
Tests run on port 13432 instead of 8080.  It should really be a
random open port, but for now, something other than 8080 will do.


1.23_01 Mon Dec 22 17:43:46 CST 2008
------------------------------------
[FIXED]
Tests would fail because we weren't unsetting http_proxy.

Fixed many failed tests.  Overhauled the test server setup.


[ENHANCEMENTS]
Added autolinting capability, so you can do this:

    my $mech = Test::WWW::Mechanize->new( autolint => 1 );
    $mech->get_ok( $url );

and the get_ok() will fail if the page is fetched, but the resultant HTML
(if it is indeed text/html) does not pass HTML::Lint.

Added $mech->click_ok().

The user agent is now "Test-WWW-Mechanize/version" by default.
2009-01-19 22:25:32 +00:00

26 lines
899 B
Makefile

# $NetBSD: Makefile,v 1.8 2009/01/19 22:25:32 seb Exp $
#
DISTNAME= Test-WWW-Mechanize-1.24
PKGNAME= p5-${DISTNAME}
SVR4_PKGNAME= p5twm
CATEGORIES= www perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Test/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://search.cpan.org/dist/Test-WWW-Mechanize/
COMMENT= Perl5 module providing testing-specific WWW::Mechanize subclass
PKG_DESTDIR_SUPPORT= user-destdir
PERL5_PACKLIST= auto/Test/WWW/Mechanize/.packlist
DEPENDS+= p5-Carp-Assert-More-[0-9]*:../../devel/p5-Carp-Assert-More
DEPENDS+= p5-Carp-Assert-[0-9]*:../../devel/p5-Carp-Assert
DEPENDS+= p5-HTTP-Server-Simple>=0.07:../../www/p5-HTTP-Server-Simple
DEPENDS+= p5-Test-LongString>=0.09nb1:../../devel/p5-Test-LongString
DEPENDS+= p5-URI-[0-9]*:../../www/p5-URI
DEPENDS+= p5-WWW-Mechanize>=1.24:../../www/p5-WWW-Mechanize
.include "../../lang/perl5/module.mk"
.include "../../mk/bsd.pkg.mk"