[40595] trunk/dports/lang/otcl/Portfile

jmr at macports.org jmr at macports.org
Tue Oct 7 23:11:14 PDT 2008


Revision: 40595
          http://trac.macports.org/changeset/40595
Author:   jmr at macports.org
Date:     2008-10-07 23:11:13 -0700 (Tue, 07 Oct 2008)
Log Message:
-----------
otcl: remove use of cd

Modified Paths:
--------------
    trunk/dports/lang/otcl/Portfile

Modified: trunk/dports/lang/otcl/Portfile
===================================================================
--- trunk/dports/lang/otcl/Portfile	2008-10-08 06:07:27 UTC (rev 40594)
+++ trunk/dports/lang/otcl/Portfile	2008-10-08 06:11:13 UTC (rev 40595)
@@ -32,8 +32,7 @@
 			conf_configure.in.Tcl.patch
 
 pre-configure		{
-			cd ${worksrcpath}
-			system "${prefix}/bin/aclocal && ${prefix}/bin/autoconf"
+			system "cd ${worksrcpath} && ${prefix}/bin/aclocal && ${prefix}/bin/autoconf"
 }
 
 configure.args		--with-Tcl=${prefix} --with-Tcl-ver=${tclmaj} \
@@ -57,8 +56,7 @@
 }
 
 destroot		{
-			cd ${worksrcpath}
-			xinstall -m 0755 owish otclsh ${destroot}${prefix}/bin
-			xinstall -m 0644 libotcl.a ${destroot}${prefix}/lib
-			xinstall -m 0644 otcl.h ${destroot}${prefix}/include
+			xinstall -m 0755 -W ${worksrcpath} owish otclsh ${destroot}${prefix}/bin
+			xinstall -m 0644 ${worksrcpath}/libotcl.a ${destroot}${prefix}/lib
+			xinstall -m 0644 ${worksrcpath}/otcl.h ${destroot}${prefix}/include
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081007/ceb31a8a/attachment.html 


More information about the macports-changes mailing list