[30802] trunk/dports/textproc/ispell/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Wed Nov 7 01:50:20 PST 2007


Revision: 30802
          http://trac.macosforge.org/projects/macports/changeset/30802
Author:   ryandesign at macports.org
Date:     2007-11-07 01:50:20 -0800 (Wed, 07 Nov 2007)

Log Message:
-----------
ispell: don't use 'cd' command since it doesn't exist anymore in MacPorts trunk

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

Modified: trunk/dports/textproc/ispell/Portfile
===================================================================
--- trunk/dports/textproc/ispell/Portfile	2007-11-07 09:46:12 UTC (rev 30801)
+++ trunk/dports/textproc/ispell/Portfile	2007-11-07 09:50:20 UTC (rev 30802)
@@ -12,15 +12,13 @@
 build.env       TMPDIR=${workpath}
 
 configure {
-            cd ${workpath}/${worksrcdir}
-            xinstall -c -m 0744 local.h.macos local.h
-            reinplace s|/usr/local|${prefix}|g local.h
-            reinplace s|/man/|/share/man/|g local.h
+            xinstall -c -m 0744 -W ${worksrcpath} local.h.macos local.h
+            reinplace s|/usr/local|${prefix}|g ${worksrcpath}/local.h
+            reinplace s|/man/|/share/man/|g ${worksrcpath}/local.h
 }
 pre-destroot {
             xinstall -d ${destroot}${prefix}/bin
                         xinstall -d ${destroot}${prefix}/lib
                         xinstall -d ${destroot}${prefix}/share/man
-                        cd ${workpath}/${worksrcdir}
-                        reinplace "s|${prefix}|${destroot}${prefix}|g" config.sh}
+                        reinplace "s|${prefix}|${destroot}${prefix}|g" ${worksrcpath}/config.sh}
 destroot.destdir    {}

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


More information about the macports-changes mailing list