Modified: trunk/dports/graphics/icoutils/Portfile (119613 => 119614)
--- trunk/dports/graphics/icoutils/Portfile 2014-05-02 13:49:16 UTC (rev 119613)
+++ trunk/dports/graphics/icoutils/Portfile 2014-05-02 13:56:45 UTC (rev 119614)
@@ -5,7 +5,7 @@
name icoutils
version 0.31.0
-revision 1
+revision 2
categories graphics
platforms darwin
license GPL-3
@@ -28,8 +28,8 @@
depends_lib port:libpng
depends_run port:perl5.16
-pre-configure {
- reinplace "s|/usr/bin/perl|/usr/bin/perl5.16|" ${worksrcpath}/extresso/extresso.in
- reinplace "s|/usr/bin/perl|/usr/bin/perl5.16|" ${worksrcpath}/extresso/genresscript.in
+post-patch {
+ reinplace "s|/usr/bin/perl|${prefix}/bin/perl5.16|" ${worksrcpath}/extresso/extresso.in
+ reinplace "s|/usr/bin/perl|${prefix}/bin/perl5.16|" ${worksrcpath}/extresso/genresscript.in
}