<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/53219de7778830b25315ffaed97f37cfe260c691">https://github.com/macports/macports-ports/commit/53219de7778830b25315ffaed97f37cfe260c691</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 53219de prolog-mode.el: Add modeline and adjust whitespace
</span>53219de is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 53219de7778830b25315ffaed97f37cfe260c691
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Mon Jan 27 02:05:48 2020 -0600
<span style='display:block; white-space:pre;color:#404040;'> prolog-mode.el: Add modeline and adjust whitespace
</span>---
lang/prolog-mode.el/Portfile | 77 +++++++++++++++++++++++---------------------
1 file changed, 41 insertions(+), 36 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/prolog-mode.el/Portfile b/lang/prolog-mode.el/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a88de02..34bb709 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/prolog-mode.el/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/prolog-mode.el/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,52 +1,57 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-name prolog-mode.el
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name prolog-mode.el
</span> version 1.27
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span> checksums rmd160 b3f4aeb59789f3aa8e2d66dc91abfcf9a8fe1a9c \
sha256 5d919a2699d760ebe1619be901b3705d8ebd6e293db50c7e03d79518eb03541e \
size 159743
<span style='display:block; white-space:pre;background:#ffe0e0;'>-categories lang editors
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license GPL-2+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-supported_archs noarch
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-description An emacs major mode for editing prolog programs.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- So the Prolog mode that comes with Emacs sucks. \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Well, here is a better alternative, with all the \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- features you would expect, including syntax \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- highlighting, auto indent, and full interaction with \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- an inferior Prolog process. \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- This mode supports in principle any Prolog system, \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- though it is primarily maintained with SWI Prolog \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- in mind. It also has some special tweaks for SICStus \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- Prolog, and explicitly supports Prolog's close \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- relatives Eclipse and Mercury.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname prolog.el
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-dist_subdir ${name}/${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories lang editors
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-2+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description An emacs major mode for editing prolog programs.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description So the Prolog mode that comes with Emacs sucks. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Well, here is a better alternative, with all the \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ features you would expect, including syntax \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ highlighting, auto indent, and full interaction with \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ an inferior Prolog process. \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ This mode supports in principle any Prolog system, \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ though it is primarily maintained with SWI Prolog \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ in mind. It also has some special tweaks for SICStus \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Prolog, and explicitly supports Prolog's close \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ relatives Eclipse and Mercury.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+distname prolog.el
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+dist_subdir ${name}/${version}
</span> extract.suffix
homepage https://bruda.ca/emacs/prolog_mode_for_emacs
master_sites https://bruda.ca/_media/emacs/
<span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib path:bin/emacs:emacs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_run bin:swipl:swi-prolog
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_lib path:bin/emacs:emacs
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-extract { file mkdir ${workpath}/${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file copy ${distpath}/${distfiles} ${workpath}/${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_run bin:swipl:swi-prolog
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-use_configure no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot { file mkdir ${destroot}${prefix}/share/emacs/site-lisp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file copy ${workpath}/${name}/${distname} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${prefix}/share/emacs/site-lisp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+extract {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mkdir ${workpath}/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy ${distpath}/${distfiles} ${workpath}/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file mkdir ${destroot}${prefix}/share/emacs/site-lisp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy ${workpath}/${name}/${distname} ${destroot}${prefix}/share/emacs/site-lisp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
notes {
To use this, put the following into your ~/.emacs:
</pre><pre style='margin:0'>
</pre>