[42542] trunk/dports/devel/slib-guile16/Portfile

blb at macports.org blb at macports.org
Sun Nov 23 17:16:06 PST 2008


Revision: 42542
          http://trac.macports.org/changeset/42542
Author:   blb at macports.org
Date:     2008-11-23 17:16:06 -0800 (Sun, 23 Nov 2008)
Log Message:
-----------
devel/slib-guile16 - switch to using internal commands consistently and use
${destroot} instead of ${workpath}/destroot (no change in what's installed)

Modified Paths:
--------------
    trunk/dports/devel/slib-guile16/Portfile

Modified: trunk/dports/devel/slib-guile16/Portfile
===================================================================
--- trunk/dports/devel/slib-guile16/Portfile	2008-11-24 01:01:54 UTC (rev 42541)
+++ trunk/dports/devel/slib-guile16/Portfile	2008-11-24 01:16:06 UTC (rev 42542)
@@ -22,10 +22,10 @@
 
 destroot {
 	set guile-branch [join [lrange [split [exec ${guile-config} info guileversion] .] 0 1] .]
-	system "mkdir -p ${workpath}/destroot${prefix}/share/guile"
-	system "mkdir -p ${workpath}/destroot${prefix}/share/guile/${guile-branch}"
-	system "ln -s ${prefix}/lib/slib ${workpath}/destroot${prefix}/share/guile/${guile-branch}/slib"
-	file link -s ${workpath}/destroot${prefix}/share/guile/slib ${prefix}/lib/slib
+	xinstall -m 755 -d ${destroot}${prefix}/share/guile/${guile-branch}
+	ln -s ${prefix}/lib/slib \
+		${destroot}${prefix}/share/guile/${guile-branch}/slib
+	ln -s ${prefix}/lib/slib ${destroot}${prefix}/share/guile/slib
 }
 
 post-activate {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081123/5114a7b9/attachment.html>


More information about the macports-changes mailing list