[32795] trunk/dports/textproc/latex2man/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Jan 13 04:48:44 PST 2008


Revision: 32795
          http://trac.macosforge.org/projects/macports/changeset/32795
Author:   ryandesign at macports.org
Date:     2008-01-13 04:48:33 -0800 (Sun, 13 Jan 2008)

Log Message:
-----------
latex2man: no longer use the deprecated 'cd' command

Modified Paths:
--------------
    trunk/dports/textproc/latex2man/Portfile

Modified: trunk/dports/textproc/latex2man/Portfile
===================================================================
--- trunk/dports/textproc/latex2man/Portfile	2008-01-13 12:47:01 UTC (rev 32794)
+++ trunk/dports/textproc/latex2man/Portfile	2008-01-13 12:48:33 UTC (rev 32795)
@@ -25,13 +25,12 @@
 worksrcdir      ${name}
 
 configure       {
-                cd ${worksrcpath}
-                reinplace "s|\$(HOME)/man|${destroot}${prefix}/share/man|g" Makefile
-                reinplace "s|\$(HOME)/info|${destroot}${prefix}/share/info|g" Makefile
-                reinplace "s|\$(HOME)/public_html|${destroot}${prefix}/share/doc/latex2man|g" Makefile
-                reinplace "s|\$(HOME)/tex/inputs|${destroot}${prefix}/share/texmf-local/tex/latex/latex2man|g" Makefile
-                reinplace "s|\$(HOME)|${destroot}${prefix}|g" Makefile
-                reinplace "s|/usr/local/bin/perl|${prefix}/bin/perl|" latex2man
+                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 "s|/usr/local/bin/perl|${prefix}/bin/perl|" ${worksrcpath}/latex2man
 }
 
 pre-destroot    {

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080113/a662c7b3/attachment.html


More information about the macports-changes mailing list