[90917] trunk/dports/perl

Ryan Schmidt ryandesign at macports.org
Sun Mar 18 02:38:38 PDT 2012


On Mar 18, 2012, at 04:22, dports at macports.org wrote:

> Revision: 90917
>          https://trac.macports.org/changeset/90917
> Author:   dports at macports.org
> Date:     2012-03-18 02:22:35 -0700 (Sun, 18 Mar 2012)
> Log Message:
> -----------
> p5-www-mechanize-sleepy: new port, v0.7 (#30775)
> 
> Added Paths:
> -----------
>    trunk/dports/perl/p5-www-mechanize-sleepy/
>    trunk/dports/perl/p5-www-mechanize-sleepy/Portfile
> 
> Added: trunk/dports/perl/p5-www-mechanize-sleepy/Portfile
> ===================================================================
> --- trunk/dports/perl/p5-www-mechanize-sleepy/Portfile	                        (rev 0)
> +++ trunk/dports/perl/p5-www-mechanize-sleepy/Portfile	2012-03-18 09:22:35 UTC (rev 90917)
> @@ -0,0 +1,29 @@
> +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
> +# $Id$
> +
> +PortSystem          1.0
> +PortGroup           perl5 1.0
> +
> +perl5.setup         WWW-Mechanize-Sleepy 0.7
> +platforms           darwin
> +maintainers         nomaintainer
> +license             {Artistic-1 GPL}
> +supported_archs     noarch
> +
> +description         A Sleepy Mechanize Agent
> +
> +long_description \
> +  Sometimes when testing the behavior of a webserver it is important  \
> +  to be able to space out your requests in order to simulate a person \
> +  reading, thinking (or sleeping) at the keyboard.                    \
> +  WWW::Mechanize::Sleepy subclasses WWW::Mechanize to provide pauses  \
> +  between your server requests. Use it just like you would use        \
> +  WWW::Mechanize.
> +
> +checksums           sha256 490c4ffca395fb523633d9981472d91f5fd2aa671dbbbab0de509c910b7e13bf \
> +                    rmd160 4f3a6936ad9dbf267135cb752a54f0f2b4248869
> +
> +if {$subport != $name} {
> +    depends_lib-append  port:p5-www-mechanize

You should depend on the specific subport of p5-www-mechanize that will be used, not on the stub port.




More information about the macports-dev mailing list