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-io-stringy/Portfile

    r5776 r6133  
    1 # $Id: Portfile,v 1.1 2004/03/12 05:44:32 rshaw Exp $
     1# $Id: Portfile,v 1.2 2004/03/31 18:09:44 rshaw Exp $
    22PortSystem 1.0
     3PortGroup perl5 1.0
    34
    4 name                    p5-io-stringy
    5 version                 2.109
    6 categories              perl
     5perl5.setup             IO-stringy 2.109
     6revision                1
    77maintainers             rshaw@opendarwin.org
    88description             I/O on in-core objects like strings and arrays
     
    1212                                        particular, IO::Scalar, IO::ScalarArray, and \
    1313                                        IO::Lines.
    14 set perl_module IO-stringy
    15 homepage                http://search.cpan.org/dist/${perl_module}/
    16 master_sites    perl_cpan:IO
    17 distname                ${perl_module}-${version}
    18 dist_subdir             perl5
    1914checksums               md5 fb8fbb8037bcc2aa0b9abec675231544
    2015platforms               darwin
    2116
    22 # Use Perl from DarwinPorts explicitly
    23 set perl                ${prefix}/bin/perl
    24 set perllib             [lindex [glob -nocomplain ${prefix}/lib/perl5/5.8*] end]
    25 if {[catch {set perlarch [lindex [split [exec ${perl} -V:archname] {'}] 1]}]} {
    26         set perlarch    ${os.platform}
    27 }
    28 set perlarchlib ${perllib}/${perlarch}
    29 
    30 depends_build   path:${perl}:perl5.8
    31 
    32 # Depends on these Perl modules
    33 # none
    34 
    35 configure.cmd           ${perl}
    36 configure.pre_args      Makefile.PL
    37 configure.args          INSTALLDIRS=perl
    38 
    39 test.run                        yes
    40 
    41 destroot.target         pure_install
    42 post-destroot {
    43         foreach packlist [exec find ${destroot}${perllib} -name .packlist] {
    44                 ui_info "Fixing packlist ${packlist}"
    45                 reinplace "s|${destroot}||" ${packlist}
    46         }
    47 }
    48 
Note: See TracChangeset for help on using the changeset viewer.