[72140] trunk/dports/devel
jmr at macports.org
jmr at macports.org
Mon Oct 4 18:21:02 PDT 2010
Revision: 72140
http://trac.macports.org/changeset/72140
Author: jmr at macports.org
Date: 2010-10-04 18:21:00 -0700 (Mon, 04 Oct 2010)
Log Message:
-----------
slib-guile: clean up, use tcl commands instead of shelling out where possible
Modified Paths:
--------------
trunk/dports/devel/slib-guile/Portfile
trunk/dports/devel/slib-guile16/Portfile
Modified: trunk/dports/devel/slib-guile/Portfile
===================================================================
--- trunk/dports/devel/slib-guile/Portfile 2010-10-05 01:17:31 UTC (rev 72139)
+++ trunk/dports/devel/slib-guile/Portfile 2010-10-05 01:21:00 UTC (rev 72140)
@@ -1,6 +1,7 @@
# $Id$
PortSystem 1.0
+
name slib-guile
version 1.0
revision 2
@@ -19,10 +20,10 @@
build {}
destroot {
- system "mkdir -p ${workpath}/destroot${prefix}/share/guile"
- system "mkdir -p ${workpath}/destroot${prefix}/share/guile/`guile-config info guileversion | cut -d . -f 1-2`"
- system "ln -s ${prefix}/lib/slib ${workpath}/destroot${prefix}/share/guile/`guile-config info guileversion | cut -d . -f 1-2`/slib"
- file link -s ${workpath}/destroot${prefix}/share/guile/slib ${prefix}/lib/slib
+ set guileversion [exec ${prefix}/bin/guile-config info guileversion | cut -d . -f 1-2]
+ file mkdir "${destroot}${prefix}/share/guile/${guileversion}"
+ ln -s "${prefix}/lib/slib" "${destroot}${prefix}/share/guile/${guileversion}/slib"
+ ln -s "${prefix}/lib/slib" "${destroot}${prefix}/share/guile/slib"
}
post-activate {
Modified: trunk/dports/devel/slib-guile16/Portfile
===================================================================
--- trunk/dports/devel/slib-guile16/Portfile 2010-10-05 01:17:31 UTC (rev 72139)
+++ trunk/dports/devel/slib-guile16/Portfile 2010-10-05 01:21:00 UTC (rev 72140)
@@ -1,6 +1,7 @@
# $Id$
PortSystem 1.0
+
name slib-guile16
version 1.0
revision 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101004/156ac0b2/attachment.html>
More information about the macports-changes
mailing list