[64743] trunk/dports/perl/p5-error/Portfile

nox at macports.org nox at macports.org
Mon Mar 15 06:15:03 PDT 2010


Revision: 64743
          http://trac.macports.org/changeset/64743
Author:   nox at macports.org
Date:     2010-03-15 06:15:02 -0700 (Mon, 15 Mar 2010)
Log Message:
-----------
Update p5-error to 0.17016 (#23398)

> Dec 19 2009 <shlomif at iglu.org.il> (Shlomi Fish)
>
>   Error.pm #0.17016
>   - Mentioned the lack of compatibility of "use Error qw(:try)" with Moose.
>     Fixed: https://rt.cpan.org/Ticket/Display.html?id=46364
>   - Added TryCatch and Try::Tiny to the "SEE ALSO".
>   - Add the WARNING that this module is no longer recommended.

Modified Paths:
--------------
    trunk/dports/perl/p5-error/Portfile

Modified: trunk/dports/perl/p5-error/Portfile
===================================================================
--- trunk/dports/perl/p5-error/Portfile	2010-03-15 13:14:51 UTC (rev 64742)
+++ trunk/dports/perl/p5-error/Portfile	2010-03-15 13:15:02 UTC (rev 64743)
@@ -3,8 +3,7 @@
 PortSystem          1.0
 PortGroup           perl5 1.0
 
-perl5.setup         Error 0.17015
-revision            0
+perl5.setup         Error 0.17016
 maintainers         email.arc.nasa.gov:sal
 description         Error/exception handling in an OO-ish way
 long_description    The Error package provides two interfaces.  Firstly \
@@ -13,6 +12,17 @@
                     errors/exeptions that can either be thrown, for \
                     subsequent catch, or can simply be recorded.
 platforms           darwin
-checksums           md5     203bc410ae5040e7b647a52aa0fabafe \
-                    sha1    0dde379f26f2d4eb91441ed613a411c534588ba3
 
+checksums           md5     eedcd3c6970568dd32092b5334328eff \
+                    sha1    c861ad15e8533bbbfc6dfb8a984c80c346072bd2 \
+                    rmd160  c19b2a20bd4b8c333c7a91c6444d47538246f3ea
+
+post-destroot {
+    set docdir ${prefix}/share/doc/${name}
+    xinstall -d ${destroot}${docdir}
+    xinstall -m 644 -W ${worksrcpath} ChangeLog README ${destroot}${docdir}
+
+    set examplesdir ${prefix}/share/examples/${name}
+    xinstall -d ${destroot}[file dirname ${examplesdir}]
+    copy ${worksrcpath}/examples ${destroot}${examplesdir}
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100315/6aece745/attachment.html>


More information about the macports-changes mailing list