[34040] trunk/dports/devel/ice-java/Portfile

blair at macports.org blair at macports.org
Sun Feb 10 18:56:54 PST 2008


Revision: 34040
          http://trac.macosforge.org/projects/macports/changeset/34040
Author:   blair at macports.org
Date:     2008-02-10 18:56:53 -0800 (Sun, 10 Feb 2008)

Log Message:
-----------
Remove the use of the cd command in Tcl code.

Modified Paths:
--------------
    trunk/dports/devel/ice-java/Portfile

Modified: trunk/dports/devel/ice-java/Portfile
===================================================================
--- trunk/dports/devel/ice-java/Portfile	2008-02-11 02:51:11 UTC (rev 34039)
+++ trunk/dports/devel/ice-java/Portfile	2008-02-11 02:56:53 UTC (rev 34040)
@@ -51,27 +51,25 @@
 test.target	test
 
 destroot {
+	set ice-java2 ${workpath}/IceJ-${version}-java2
+	set ice-java5 ${workpath}/IceJ-${version}-java5
 	set javadir ${destroot}${prefix}/share/java
 	set docdir ${destroot}${prefix}/share/doc/${name}
 
 	xinstall -d -m 755 ${javadir}
 	xinstall -d -m 755 ${docdir}
 
-	cd ${workpath}/IceJ-${version}-java2
+	file copy ${ice-java2}/lib/IceGridGUI.jar ${javadir}/
+	file copy ${ice-java2}/ant ${javadir}/ice-ant
+	file copy ${ice-java2}/resources/IceGridAdmin ${docdir}/
 
-	file copy lib/IceGridGUI.jar ${javadir}/
-	file copy ant ${javadir}/ice-ant
-	file copy resources/IceGridAdmin ${docdir}/
-
-	cd ${workpath}/IceJ-${version}-java5
-
-	file copy lib/Ice.jar ${javadir}
+	file copy ${ice-java5}/lib/Ice.jar ${javadir}
 	foreach f {CHANGES ICE_LICENSE INSTALL LICENSE README} {
-		file copy ${f} ${docdir}/
+		file copy ${ice-java5}/${f} ${docdir}/
 	}
 
 	if {[variant_isset demo_source_code]} {
-		file copy demo ${docdir}/
+		file copy ${ice-java5}/demo ${docdir}/
 	}
 }
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080210/18ba8ad5/attachment-0001.html


More information about the macports-changes mailing list