Ticket #12707: p5-pathtools-3.25.diff

File p5-pathtools-3.25.diff, 1.8 KB (added by nox@…, 17 years ago)
  • Portfile

     
    11# $Id$
     2
    23PortSystem              1.0
     4PortGroup       perl5 1.0
    35
    4 name                    p5-pathtools
    5 version                 3.24
    6 revision                1
    7 categories              perl
     6perl5.setup     PathTools 3.25
     7platforms       darwin
    88maintainers             dluke@geeklair.net
    99description             PathTools contains path building and modification classes.
     10
    1011long_description        $description
    1112
    12 checksums               md5 e592a5d38382c2c1240bc3189367ec61
    13 platforms               darwin
    14 master_sites            http://cpan.perl.org/authors/id/K/KW/KWILLIAMS/
    15 homepage                http://search.cpan.org/dist/pathtools/
    16 distname                PathTools-${version}
    17 dist_subdir             perl5
    18 depends_lib             path:${prefix}/bin/perl:perl5.8
    19 
    20 #- Perl searches vendor location last, so this won't
    21 #- override the older version included with perl
    22 #- if we install it in the vendor location
    23 configure.cmd           ${prefix}/bin/perl
    24 configure.pre_args      Makefile.PL
    25 test.run                yes
    26 destroot.target         pure_install
    27 
    28 post-destroot {
    29                 set perl5.version [lindex [split [exec ${prefix}/bin/perl -V:version] {'}] 1]
    30                 foreach packlist [exec find ${destroot}${prefix}/lib/perl5/${perl5.version} -name .packlist] {
    31                         ui_info "Fixing packlist ${packlist}"
    32                         reinplace "s|${destroot}||" ${packlist}
    33                 }
    34                 ui_msg "You must install or activate this package with '-f' (force) as it needs to overwrite files installed by the perl5.8 port"
    35         }
     13homepage        http://search.cpan.org/dist/${distname}/
     14master_sites    http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/
     15
     16checksums       md5 242b8a6355927625f57048f6c59577ca \
     17                sha1 cbaf1a5aab6f7d50adbd00046010ae7e51e033ba \
     18                rmd160 d14b9bb83b361a91a22560141b4b2753cf5804d0
     19