[32837] trunk/dports/editors/elvis/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Jan 13 21:17:40 PST 2008


Revision: 32837
          http://trac.macosforge.org/projects/macports/changeset/32837
Author:   ryandesign at macports.org
Date:     2008-01-13 21:17:39 -0800 (Sun, 13 Jan 2008)

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

Modified Paths:
--------------
    trunk/dports/editors/elvis/Portfile

Modified: trunk/dports/editors/elvis/Portfile
===================================================================
--- trunk/dports/editors/elvis/Portfile	2008-01-14 05:14:25 UTC (rev 32836)
+++ trunk/dports/editors/elvis/Portfile	2008-01-14 05:17:39 UTC (rev 32837)
@@ -20,13 +20,12 @@
                        configure.args-delete --without-x
                        configure.args-append --with-x }
 pre-destroot {
-               reinplace "s|${prefix}|${destroot}${prefix}|g" Makefile
-               reinplace "s|sh instman.sh|MANPATH=${destroot}${prefix}/share/man sh instman.sh|" Makefile
-               reinplace "s|MAN/manl MAN/man1|MAN/man1|" instman.sh
+               reinplace "s|${prefix}|${destroot}${prefix}|g" ${worksrcpath}/Makefile
+               reinplace "s|sh instman.sh|MANPATH=${destroot}${prefix}/share/man sh instman.sh|" ${worksrcpath}/Makefile
+               reinplace "s|MAN/manl MAN/man1|MAN/man1|" ${worksrcpath}/instman.sh
                xinstall -d 0755 ${destroot}${prefix}/share/man/cat1
              }
-post-configure { cd ${worksrcpath}
-                reinplace "s|/etc|${prefix}/etc|g" Makefile
+post-configure { reinplace "s|/etc|${prefix}/etc|g" ${worksrcpath}/Makefile
 }
 long_description   \
 Elvis is a very powerful vi/ex clone providing \

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


More information about the macports-changes mailing list