Revision
32262
Author
ryandesign@macports.org
Date
2007-12-23 03:12:24 -0800 (Sun, 23 Dec 2007)

Log Message

logtalk:

 * no longer use deprecated `cd` command
 * use ${worksrcpath} instead of ${workpath}/${worksrcdir} since they're equivalent
 * use ${destroot}${prefix} instead of ${destroot}/${prefix} since ${prefix} already begins with a slash

See #13692

Modified Paths

Diff

Modified: trunk/dports/lang/logtalk/Portfile (32261 => 32262)


--- trunk/dports/lang/logtalk/Portfile	2007-12-23 11:07:59 UTC (rev 32261)
+++ trunk/dports/lang/logtalk/Portfile	2007-12-23 11:12:24 UTC (rev 32262)
@@ -31,8 +31,7 @@
 build		{}
 
 destroot	{
-	cd ${workpath}/${worksrcdir}/scripts
-	system "./install.sh ${destroot}/${prefix}"
+	system "cd ${worksrcpath}/scripts && ./install.sh ${destroot}${prefix}"
 }
 
 post-pkg {