# $Id$ PortSystem 1.0 name sml-mode.el version 4.0 revision 0 categories lang editors maintainers marcuscalhounlopez@mac.com description An EMACS major mode for editing Standard ML long_description ${description} homepage http://www.iro.umontreal.ca/~monnier/elisp/ platforms darwin distname sml-mode-${version} master_sites http://www.iro.umontreal.ca/~monnier/elisp/ checksums md5 dddcadd1ee488a5f70e875e6d20f69fc #depends_lib path:${prefix}/bin/emacs:emacs use_configure no build.target elcfiles destroot.target install_elc install_el prefix=${destroot}${prefix} variant docs description {Install extra documentation} { depends_run-append port:teTeX build.target-append info dvi postscript destroot.target-append install_info install_dvi \ infodir=${destroot}${prefix}/share/info \ docdir=${destroot}${prefix}/share/doc/${name}-${version} post-destroot { xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${name}-${version} eval xinstall -m 0644 [glob ${worksrcpath}/*.ps] ${destroot}${prefix}/share/doc/${name}-${version} } } post-activate { ui_msg "To use this, put the following into your ~/.emacs:" ui_msg "(load \"${prefix}/share/emacs/site-lisp/sml-mode/sml-mode-startup\")" } livecheck.check regex livecheck.regex sml-mode-(\\d+(?:\\.\\d+)*)${extract.suffix}