[34228] trunk/dports/lang/scala/Portfile
blair at macports.org
blair at macports.org
Mon Feb 18 09:52:42 PST 2008
Revision: 34228
http://trac.macosforge.org/projects/macports/changeset/34228
Author: blair at macports.org
Date: 2008-02-18 09:52:42 -0800 (Mon, 18 Feb 2008)
Log Message:
-----------
Use the ln Tcl extension instead of shelling out to ln.
Modified Paths:
--------------
trunk/dports/lang/scala/Portfile
Modified: trunk/dports/lang/scala/Portfile
===================================================================
--- trunk/dports/lang/scala/Portfile 2008-02-18 17:43:39 UTC (rev 34227)
+++ trunk/dports/lang/scala/Portfile 2008-02-18 17:52:42 UTC (rev 34228)
@@ -35,7 +35,7 @@
file copy ${worksrcpath} ${scaladir}
foreach app {fsc sbaz sbaz-setup scala scalac scaladoc scalap} {
- system "ln -s ../share/scala/bin/$app ${destroot}${prefix}/bin/$app"
+ ln -s ../share/scala/bin/$app ${destroot}${prefix}/bin/${app}
}
file delete ${sharedir}/man/man1
@@ -57,6 +57,6 @@
xinstall -d -m 755 ${sharedir}/java
foreach f {sbaz-tests.jar sbaz.jar scala-compiler.jar scala-dbc.jar scala-decoder.jar scala-library.jar} {
- system "ln -s ../scala/lib/${f} ${sharedir}/java/${f}"
+ ln -s ../scala/lib/${f} ${sharedir}/java/${f}
}
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080218/371b565f/attachment.html
More information about the macports-changes
mailing list