[35898] trunk/dports/lang/slime/Portfile
easieste at macports.org
easieste at macports.org
Wed Apr 9 07:31:42 PDT 2008
Revision: 35898
http://trac.macosforge.org/projects/macports/changeset/35898
Author: easieste at macports.org
Date: 2008-04-09 07:31:40 -0700 (Wed, 09 Apr 2008)
Log Message:
-----------
Whitespace changes. lang/slime/Portfile now passes 'port lint'
Modified Paths:
--------------
trunk/dports/lang/slime/Portfile
Modified: trunk/dports/lang/slime/Portfile
===================================================================
--- trunk/dports/lang/slime/Portfile 2008-04-09 14:24:43 UTC (rev 35897)
+++ trunk/dports/lang/slime/Portfile 2008-04-09 14:31:40 UTC (rev 35898)
@@ -1,5 +1,4 @@
-# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
-# $Id$
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 # $Id$
PortSystem 1.0
@@ -20,9 +19,9 @@
`lisp-mode' supports editing Lisp source files, \
`slime-mode' adds support for interacting with a \
running Common Lisp process for compilation,\
- debugging, documentation lookup, and so on.
+ debugging, documentation lookup, and so on.
-homepage http://common-lisp.net/project/slime/
+homepage http://common-lisp.net/project/slime/
master_sites ${homepage}
fetch.type cvs
cvs.root :pserver:anonymous at common-lisp.net:/project/slime/cvsroot
@@ -34,7 +33,7 @@
use_configure no
depends_lib port:emacs
-variant app description "Build SLIME against editors/emacs-app" {
+variant app description "Build SLIME against editors/emacs-app" {
depends_run-append port:emacs-app
depends_run-delete port:emacs
}
@@ -45,29 +44,29 @@
depends_run-append port:sbcl
}
-variant openmcl description "Require lang/openmcl for SLIME" {
+variant openmcl description "Require lang/openmcl for SLIME" {
depends_run-append port:openmcl
}
-variant clisp description "Require lang/clisp for SLIME" {
+variant clisp description "Require lang/clisp for SLIME" {
depends_run-append port:clisp
}
-post-patch {
+post-patch {
reinplace "s|/usr/local|${prefix}/share|g" \
${worksrcpath}/doc/makefile
}
-configure {
+configure {
global slime_emacs_binary
global slime_site_lisp_dest
global slime_site_lisp_contrib
global slime_byte_compile_p
global slime_site_lisp_dest_contrib
if {[ variant_isset app ]} {
- set slime_emacs_binary /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs
+ set slime_emacs_binary /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs
set slime_site_lisp_dest ${destroot}/Applications/MacPorts/Emacs.app/Contents/Resources/site-lisp
- set slime_site_lisp_contrib /Applications/MacPorts/Emacs.app/Contents/Resources/site-lisp
+ set slime_site_lisp_contrib /Applications/MacPorts/Emacs.app/Contents/Resources/site-lisp
} else {
set slime_emacs_binary ${prefix}/bin/emacs
set slime_site_lisp_dest ${destroot}${prefix}/share/emacs/site-lisp/slime
@@ -75,7 +74,7 @@
}
set slime_site_lisp_dest_contrib ${slime_site_lisp_dest}/contrib
-
+
# kludge if 'emacs+carbon' is installed
if {[regexp carbon [join [registry_installed emacs]]]} {
set slime_emacs_binary /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs
@@ -89,8 +88,8 @@
ui_msg "Emacs binary used for byte compilation is ${slime_emacs_binary}."
}
}
-
-build {
+
+build {
cd ${worksrcpath}
upvar #0 slime_emacs_binary emacs_bin
if {${slime_byte_compile_p}} {
@@ -98,7 +97,7 @@
--batch --directory . --funcall batch-byte-compile \
slime.el \
slime-autoloads.el \
- hyperspec.el"
+ hyperspec.el"
cd ${worksrcpath}/contrib
system "${emacs_bin} \
@@ -134,10 +133,10 @@
system "make slime.info"
}
-destroot {
+destroot {
cd ${worksrcpath}
xinstall -m 755 -d ${slime_site_lisp_dest}
-
+
foreach file [glob *.el *.elc *.lisp ChangeLog] {
xinstall -m 644 ${file} ${slime_site_lisp_dest}
}
@@ -147,11 +146,11 @@
foreach file [glob *.el *.elc *.lisp ChangeLog] {
xinstall -m 644 ${file} ${slime_site_lisp_dest_contrib}
}
-
- xinstall -m 644 ${worksrcpath}/doc/slime.info ${destroot}${prefix}/share/info
+
+ xinstall -m 644 ${worksrcpath}/doc/slime.info ${destroot}${prefix}/share/info
}
-post-activate {
+post-activate {
ui_msg "To use SLIME, you need to have a Common Lisp installed with which"
ui_msg "you wish to interact. At the moment, 'openmcl', 'sbcl', and"
ui_msg "'clisp' all work. By default, MacPorts SLIME installs 'sbcl' as a"
@@ -172,7 +171,7 @@
ui_msg "(eval-after-load \"slime\""
ui_msg " \'(slime-setup '(slime-fancy slime-banner)))"
ui_msg ""
- ui_msg "Populate the initialization list in SLIME-LISP-IMPLEMENTATIONS"
+ ui_msg "Populate the initialization list in SLIME-LISP-IMPLEMENTATIONS"
ui_msg "with the correct paths to the Common Lisp exectuables you wish to use."
ui_msg ""
ui_msg "Then, 'M-x slime' from Emacs should connect you to the first"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080409/686ef78e/attachment.html
More information about the macports-changes
mailing list