[39997] trunk/dports/lang/slime/Portfile
easieste at macports.org
easieste at macports.org
Tue Sep 16 07:42:08 PDT 2008
Revision: 39997
http://trac.macports.org/changeset/39997
Author: easieste at macports.org
Date: 2008-09-16 07:42:07 -0700 (Tue, 16 Sep 2008)
Log Message:
-----------
Removed used of 'cd' TCL primitive.
Modified Paths:
--------------
trunk/dports/lang/slime/Portfile
Modified: trunk/dports/lang/slime/Portfile
===================================================================
--- trunk/dports/lang/slime/Portfile 2008-09-16 13:22:34 UTC (rev 39996)
+++ trunk/dports/lang/slime/Portfile 2008-09-16 14:42:07 UTC (rev 39997)
@@ -6,10 +6,10 @@
name slime
version 20080901
epoch 20080901
-revision 2
+revision 3
categories lang
platforms darwin
-maintainers evenson at panix.com
+maintainers easieste at macports.org
description An Emacs mode for unifying Common Lisp development
@@ -99,39 +99,34 @@
}
build {
- cd ${worksrcpath}
-
if { ${slime_byte_compile_p} } {
- system "${slime_emacs_binary} \
+ system "cd ${worksrcpath} && ${slime_emacs_binary} \
--batch \
--directory ${worksrcpath} \
--directory ${worksrcpath}/contrib \
--funcall batch-byte-compile \
contrib/*.el"
- system "${slime_emacs_binary} \
+ system "cd ${worksrcpath} && ${slime_emacs_binary} \
--batch \
--directory ${worksrcpath} \
--directory ${worksrcpath}/contrib \
--funcall batch-byte-compile \
*.el"
}
-
- cd ${worksrcpath}/doc
- system "make slime.info"
+ system "cd ${worksrcpath}/doc && make slime.info"
}
destroot {
- cd ${worksrcpath}
- xinstall -m 755 -d ${slime_site_lisp_dir}
+ xinstall -W ${worksrcpath} -m 755 -d ${slime_site_lisp_dir}
foreach file [glob *.el *.elc *.lisp ChangeLog] {
- xinstall -m 644 ${file} ${slime_site_lisp_dir}
+ xinstall -W ${worksrcpath} -m 644 ${file} ${slime_site_lisp_dir}
}
- cd ${worksrcpath}/contrib
- xinstall -m 755 -d ${slime_site_lisp_contrib_dir}
+ xinstall -W ${worksrcpath}/contrib -m 755 -d ${slime_site_lisp_contrib_dir}
+
foreach file [glob *.el *.elc *.lisp ChangeLog] {
- xinstall -m 644 ${file} ${slime_site_lisp_contrib_dir}
+ xinstall -W ${worksrcpath}/contrib -m 644 ${file} ${slime_site_lisp_contrib_dir}
}
xinstall -m 644 ${worksrcpath}/doc/slime.info ${destroot}${prefix}/share/info
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080916/8a94d14b/attachment.html
More information about the macports-changes
mailing list