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 | | } |
| 13 | homepage http://search.cpan.org/dist/${distname}/ |
| 14 | master_sites http://search.cpan.org/CPAN/authors/id/K/KW/KWILLIAMS/ |
| 15 | |
| 16 | checksums md5 242b8a6355927625f57048f6c59577ca \ |
| 17 | sha1 cbaf1a5aab6f7d50adbd00046010ae7e51e033ba \ |
| 18 | rmd160 d14b9bb83b361a91a22560141b4b2753cf5804d0 |
| 19 | |