[32262] trunk/dports/lang/logtalk/Portfile

ryandesign at macports.org ryandesign at macports.org
Sun Dec 23 03:12:24 PST 2007


Revision: 32262
          http://trac.macosforge.org/projects/macports/changeset/32262
Author:   ryandesign at 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:
--------------
    trunk/dports/lang/logtalk/Portfile

Modified: trunk/dports/lang/logtalk/Portfile
===================================================================
--- 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 {

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071223/1ac9678a/attachment.html


More information about the macports-changes mailing list