Revision
111782
Author
jmr@macports.org
Date
2013-10-01 10:10:39 -0700 (Tue, 01 Oct 2013)

Log Message

latex2man: set locale for Makefile reinplaces

Modified Paths

Diff

Modified: trunk/dports/textproc/latex2man/Portfile (111781 => 111782)


--- trunk/dports/textproc/latex2man/Portfile	2013-10-01 16:53:20 UTC (rev 111781)
+++ trunk/dports/textproc/latex2man/Portfile	2013-10-01 17:10:39 UTC (rev 111782)
@@ -30,11 +30,11 @@
 patchfiles      patch-Makefile.diff
 
 configure       {
-                reinplace "s|\$(HOME)/man|${destroot}${prefix}/share/man|g" ${worksrcpath}/Makefile
-                reinplace "s|\$(HOME)/info|${destroot}${prefix}/share/info|g" ${worksrcpath}/Makefile
-                reinplace "s|\$(HOME)/public_html|${destroot}${prefix}/share/doc/latex2man|g" ${worksrcpath}/Makefile
-                reinplace "s|\$(HOME)/tex/inputs|${destroot}${prefix}/share/texmf-local/tex/latex/latex2man|g" ${worksrcpath}/Makefile
-                reinplace "s|\$(HOME)|${destroot}${prefix}|g" ${worksrcpath}/Makefile
+                reinplace -locale en_US.ISO8859-1 "s|\$(HOME)/man|${destroot}${prefix}/share/man|g" ${worksrcpath}/Makefile
+                reinplace -locale en_US.ISO8859-1 "s|\$(HOME)/info|${destroot}${prefix}/share/info|g" ${worksrcpath}/Makefile
+                reinplace -locale en_US.ISO8859-1 "s|\$(HOME)/public_html|${destroot}${prefix}/share/doc/latex2man|g" ${worksrcpath}/Makefile
+                reinplace -locale en_US.ISO8859-1 "s|\$(HOME)/tex/inputs|${destroot}${prefix}/share/texmf-local/tex/latex/latex2man|g" ${worksrcpath}/Makefile
+                reinplace -locale en_US.ISO8859-1 "s|\$(HOME)|${destroot}${prefix}|g" ${worksrcpath}/Makefile
                 reinplace "s|/usr/bin/env perl|${prefix}/bin/perl|" ${worksrcpath}/latex2man
 }