Ignore:
Timestamp:
Mar 31, 2004, 6:09:48 PM (16 years ago)
Author:
rshaw
Message:

Converted all p5 ports to use new PortGroup code.
All modules now install using "vendor" mode and get installed in:

${prefix}/lib/perl5/5.8.3/vendor_perl/...

per discussions with Bryan on darwinports@.
Bumped revision on all ports.

Submitted by: rshaw

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/perl/p5-digest-nilsimsa/Portfile

    r5776 r6133  
    1 # $Id: Portfile,v 1.1 2004/03/12 05:44:31 rshaw Exp $
     1# $Id: Portfile,v 1.2 2004/03/31 18:09:43 rshaw Exp $
    22PortSystem 1.0
     3PortGroup perl5 1.0
    34
    4 name                    p5-digest-nilsimsa
    5 version                 0.06
    6 categories              perl
     5perl5.setup             Digest-Nilsimsa 0.06
     6revision                1
    77maintainers             rshaw@opendarwin.org
    88description             Perl version of Nilsimsa code
    99long_description        ${description}
    10 set perl_module Digest-Nilsimsa
    11 homepage                http://search.cpan.org/dist/${perl_module}/
    12 master_sites    perl_cpan:Digest
    13 distname                ${perl_module}-${version}
    14 dist_subdir             perl5
    1510checksums               md5 08e940bd7f5d1167ef3fd1aa7ce234d7
    1611platforms               darwin
    1712
    18 # Use Perl from DarwinPorts explicitly
    19 set perl                ${prefix}/bin/perl
    20 set perllib             [lindex [glob -nocomplain ${prefix}/lib/perl5/5.8*] end]
    21 if {[catch {set perlarch [lindex [split [exec ${perl} -V:archname] {'}] 1]}]} {
    22         set perlarch    ${os.platform}
    23 }
    24 set perlarchlib ${perllib}/${perlarch}
    25 
    26 depends_build   path:${perl}:perl5.8
    27 
    28 # Depends on these Perl modules
    29 # none
    30 
    31 configure.cmd           ${perl}
    32 configure.pre_args      Makefile.PL
    33 configure.args          INSTALLDIRS=perl
    34 
    35 test.run                        yes
    36 
    37 destroot.target         pure_install
    38 post-destroot {
    39         foreach packlist [exec find ${destroot}${perllib} -name .packlist] {
    40                 ui_info "Fixing packlist ${packlist}"
    41                 reinplace "s|${destroot}||" ${packlist}
    42         }
    43 }
    44 
Note: See TracChangeset for help on using the changeset viewer.