Changeset 144332


Ignore:
Timestamp:
Jan 6, 2016, 7:01:46 PM (3 years ago)
Author:
mojca@…
Message:

wakeonlan: switch to perl5.22 (#48365)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/net/wakeonlan/Portfile

    r131846 r144332  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
    12# $Id$
    23
    3 PortSystem 1.0
     4PortSystem          1.0
     5PortGroup           perl5 1.0
    46
    57name                wakeonlan
    68version             0.41
    7 revision            1
     9revision            2
    810categories          net
    911maintainers         mww
     
    2224                    sha256  581b1b27a7e810ab72668cce4bd9aa9b3e0cea34b2db24dd1a44c09d63ddda98
    2325
    24 set perl_version    5.16
     26perl5.branches      5.22
    2527
    26 depends_lib         port:perl${perl_version}
     28depends_lib         port:perl${perl5.major}
    2729
    2830installs_libs       no
    2931
    3032patch {
    31     reinplace -locale C "s|/usr/bin/perl -w|${prefix}/bin/perl${perl_version} -w|g" ${worksrcpath}/wakeonlan
     33    reinplace -locale C "s|/usr/bin/perl -w|${perl5.bin} -w|g" ${worksrcpath}/wakeonlan
    3234}
    3335
    3436configure {
    35     system -W ${worksrcpath} "${prefix}/bin/perl${perl_version} Makefile.PL"
     37    system -W ${worksrcpath} "${perl5.bin} Makefile.PL"
    3638}
    3739
Note: See TracChangeset for help on using the changeset viewer.