# $Id$ PortSystem 1.0 name prolog-mode.el version 1.24 revision 0 categories lang editors license GPL-2+ maintainers nomaintainer platforms darwin supported_archs noarch description An emacs major mode for editing prolog programs. long_description \ So the Prolog mode that comes with Emacs sucks. \ Well, here is a better alternative, with all the \ features you would expect, including syntax \ highlighting, auto indent, and full interaction with \ an inferior Prolog process. \ \ This mode supports in principle any Prolog system, \ though it is primarily maintained with SWI Prolog \ in mind. It also has some special tweaks for SICStus \ Prolog, and explicitly supports Prolog's close \ relatives Eclipse and Mercury. distname prolog.el dist_subdir ${name}/${version} extract.suffix homepage http://bruda.ca/emacs/prolog_mode_for_emacs master_sites http://bruda.ca/_media/emacs checksums md5 f871429f5a7803254cdbeaeea947285a \ sha1 cddd5b727f4badcc4dcdef461838c8e02478d573 \ rmd160 6818a7f3248fbe9f45f6a513e1e1b27f92da988d depends_lib path:bin/emacs:emacs depends_run bin:swipl:swi-prolog extract { file mkdir ${workpath}/${name} file copy ${distpath}/${distfiles} ${workpath}/${name} } use_configure no build {} destroot { file mkdir ${destroot}${prefix}/share/emacs/site-lisp file copy ${workpath}/${name}/${distname} \ ${destroot}${prefix}/share/emacs/site-lisp } post-activate { ui_msg "To use this, put the following into your ~/.emacs:" ui_msg "(autoload 'run-prolog \"prolog\" \"Start a Prolog sub-process.\" t)" ui_msg "(autoload 'prolog-mode \"prolog\" \"Major mode for editing Prolog programs.\" t)" ui_msg "(autoload 'mercury-mode \"prolog\" \"Major mode for editing Mercury programs.\" t)" ui_msg "(setq prolog-system 'swi)" ui_msg "(setq auto-mode-alist (append '((\"\\.pl$\" . prolog-mode)" ui_msg " (\"\\.m$\" . mercury-mode))" ui_msg " auto-mode-alist))" } livecheck.url "http://bruda.ca/_media/emacs/prolog.el" livecheck.regex "Version ((\\d+(\\.)*)+)"