Revision: 144279 https://trac.macports.org/changeset/144279 Author: mojca@macports.org Date: 2016-01-05 14:28:09 -0800 (Tue, 05 Jan 2016) Log Message: ----------- icoutils: use the perl5 portgroup (#48365) Modified Paths: -------------- trunk/dports/graphics/icoutils/Portfile Modified: trunk/dports/graphics/icoutils/Portfile =================================================================== --- trunk/dports/graphics/icoutils/Portfile 2016-01-05 22:01:13 UTC (rev 144278) +++ trunk/dports/graphics/icoutils/Portfile 2016-01-05 22:28:09 UTC (rev 144279) @@ -3,10 +3,12 @@ PortSystem 1.0 PortGroup muniversal 1.0 +PortGroup perl5 1.0 name icoutils version 0.31.0 revision 5 +perl5.branches 5.22 categories graphics platforms darwin license GPL-3 @@ -30,12 +32,12 @@ patch-lib-error.c.diff depends_lib port:libpng -depends_run port:perl5.22 \ - port:p5.22-libwww-perl +depends_run port:perl${perl5.major} \ + port:p${perl5.major}-libwww-perl post-patch { - reinplace "s|/usr/bin/perl|${prefix}/bin/perl5.22|" ${worksrcpath}/extresso/extresso.in - reinplace "s|/usr/bin/perl|${prefix}/bin/perl5.22|" ${worksrcpath}/extresso/genresscript.in + reinplace "s|/usr/bin/perl|${perl5.bin}|" ${worksrcpath}/extresso/extresso.in + reinplace "s|/usr/bin/perl|${perl5.bin}|" ${worksrcpath}/extresso/genresscript.in } livecheck.type regex