[144332] trunk/dports/net/wakeonlan/Portfile

mojca at macports.org mojca at macports.org
Wed Jan 6 11:01:46 PST 2016


Revision: 144332
          https://trac.macports.org/changeset/144332
Author:   mojca at macports.org
Date:     2016-01-06 11:01:46 -0800 (Wed, 06 Jan 2016)
Log Message:
-----------
wakeonlan: switch to perl5.22 (#48365)

Modified Paths:
--------------
    trunk/dports/net/wakeonlan/Portfile

Modified: trunk/dports/net/wakeonlan/Portfile
===================================================================
--- trunk/dports/net/wakeonlan/Portfile	2016-01-06 18:59:20 UTC (rev 144331)
+++ trunk/dports/net/wakeonlan/Portfile	2016-01-06 19:01:46 UTC (rev 144332)
@@ -1,10 +1,12 @@
+# -*- 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
 # $Id$
 
-PortSystem 1.0
+PortSystem          1.0
+PortGroup           perl5 1.0
 
 name                wakeonlan
 version             0.41
-revision            1
+revision            2
 categories          net
 maintainers         mww
 platforms           darwin freebsd
@@ -21,18 +23,18 @@
                     rmd160  ddbc2af097bb46bd8afd2c37007c5ed5291ee0e7 \
                     sha256  581b1b27a7e810ab72668cce4bd9aa9b3e0cea34b2db24dd1a44c09d63ddda98
 
-set perl_version    5.16
+perl5.branches      5.22
 
-depends_lib         port:perl${perl_version}
+depends_lib         port:perl${perl5.major}
 
 installs_libs       no
 
 patch {
-    reinplace -locale C "s|/usr/bin/perl -w|${prefix}/bin/perl${perl_version} -w|g" ${worksrcpath}/wakeonlan
+    reinplace -locale C "s|/usr/bin/perl -w|${perl5.bin} -w|g" ${worksrcpath}/wakeonlan
 }
 
 configure {
-    system -W ${worksrcpath} "${prefix}/bin/perl${perl_version} Makefile.PL"
+    system -W ${worksrcpath} "${perl5.bin} Makefile.PL"
 }
 
 destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160106/68630c4d/attachment.html>


More information about the macports-changes mailing list