Ticket #23398: p5-error-0.17016.diff

File p5-error-0.17016.diff, 1.4 KB (added by nox@…, 14 years ago)
  • dports/perl/p5-error/Portfile

    diff --git a/dports/perl/p5-error/Portfile b/dports/perl/p5-error/Portfile
    index d053d01..1a3d3bf 100644
    a b  
    33PortSystem          1.0
    44PortGroup           perl5 1.0
    55
    6 perl5.setup         Error 0.17015
    7 revision            0
     6perl5.setup         Error 0.17016
    87maintainers         email.arc.nasa.gov:sal
    98description         Error/exception handling in an OO-ish way
    109long_description    The Error package provides two interfaces.  Firstly \
    long_description The Error package provides two interfaces. Firstly \ 
    1312                    errors/exeptions that can either be thrown, for \
    1413                    subsequent catch, or can simply be recorded.
    1514platforms           darwin
    16 checksums           md5     203bc410ae5040e7b647a52aa0fabafe \
    17                     sha1    0dde379f26f2d4eb91441ed613a411c534588ba3
    1815
     16checksums           md5     eedcd3c6970568dd32092b5334328eff \
     17                    sha1    c861ad15e8533bbbfc6dfb8a984c80c346072bd2 \
     18                    rmd160  c19b2a20bd4b8c333c7a91c6444d47538246f3ea
     19
     20post-destroot {
     21    set docdir ${prefix}/share/doc/${name}
     22    xinstall -d ${destroot}${docdir}
     23    xinstall -m 644 -W ${worksrcpath} ChangeLog README ${destroot}${docdir}
     24
     25    set examplesdir ${prefix}/share/examples/${name}
     26    xinstall -d ${destroot}[file dirname ${examplesdir}]
     27    copy ${worksrcpath}/examples ${destroot}${examplesdir}
     28}