Ticket #45250: wakeonlan.diff
File wakeonlan.diff, 1.0 KB (added by ryandesign (Ryan Carsten Schmidt), 10 years ago) |
---|
-
Portfile
4 4 5 5 name wakeonlan 6 6 version 0.41 7 revision 1 7 8 categories net 8 9 maintainers mww 9 10 platforms darwin freebsd … … 20 21 rmd160 ddbc2af097bb46bd8afd2c37007c5ed5291ee0e7 \ 21 22 sha256 581b1b27a7e810ab72668cce4bd9aa9b3e0cea34b2db24dd1a44c09d63ddda98 22 23 23 depends_lib path:bin/perl:perl5 24 set perl_version 5.16 24 25 26 depends_lib port:perl${perl_version} 27 25 28 installs_libs no 26 29 27 30 patch { 28 reinplace -locale C "s|/usr/bin/perl -w|${prefix}/bin/perl -w|g" ${worksrcpath}/wakeonlan31 reinplace -locale C "s|/usr/bin/perl -w|${prefix}/bin/perl${perl_version} -w|g" ${worksrcpath}/wakeonlan 29 32 } 30 33 31 34 configure { 32 system -W ${worksrcpath} " perlMakefile.PL"35 system -W ${worksrcpath} "${prefix}/bin/perl${perl_version} Makefile.PL" 33 36 } 34 37 35 38 destroot {