[40633] trunk/dports/lang/tclcl/Portfile

jmr at macports.org jmr at macports.org
Wed Oct 8 23:17:50 PDT 2008


Revision: 40633
          http://trac.macports.org/changeset/40633
Author:   jmr at macports.org
Date:     2008-10-08 23:17:49 -0700 (Wed, 08 Oct 2008)
Log Message:
-----------
tclcl: remove use of cd

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

Modified: trunk/dports/lang/tclcl/Portfile
===================================================================
--- trunk/dports/lang/tclcl/Portfile	2008-10-09 06:12:30 UTC (rev 40632)
+++ trunk/dports/lang/tclcl/Portfile	2008-10-09 06:17:49 UTC (rev 40633)
@@ -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} \
@@ -67,8 +66,7 @@
 }
 
 destroot		{
-                        cd ${worksrcpath}
-                        eval xinstall -m 0644 [glob *.h] ${destroot}${prefix}/include
-                        xinstall -m 0755 tcl2c++ ${destroot}${prefix}/bin
-                        xinstall -m 0644 libtclcl.a ${destroot}${prefix}/lib
+                        eval xinstall -m 0644 [glob -directory ${worksrcpath} *.h] ${destroot}${prefix}/include
+                        xinstall -m 0755 ${worksrcpath}/tcl2c++ ${destroot}${prefix}/bin
+                        xinstall -m 0644 ${worksrcpath}/libtclcl.a ${destroot}${prefix}/lib
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081008/8c374bdc/attachment.html 


More information about the macports-changes mailing list