1 | # $Id: |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name sml-mode.el |
---|
5 | version 4.0 |
---|
6 | revision 0 |
---|
7 | categories lang editors |
---|
8 | maintainers marcuscalhounlopez@mac.com |
---|
9 | description An EMACS major mode for editing Standard ML |
---|
10 | long_description ${description} |
---|
11 | homepage http://www.iro.umontreal.ca/~monnier/elisp/ |
---|
12 | platforms darwin |
---|
13 | distname sml-mode-${version} |
---|
14 | master_sites http://www.iro.umontreal.ca/~monnier/elisp/ |
---|
15 | checksums md5 dddcadd1ee488a5f70e875e6d20f69fc |
---|
16 | |
---|
17 | depends_lib path:${prefix}/bin/emacs:emacs |
---|
18 | |
---|
19 | use_configure no |
---|
20 | |
---|
21 | build.target elcfiles |
---|
22 | destroot.target install_elc install_el prefix=${destroot}${prefix} |
---|
23 | |
---|
24 | variant docs description {Install extra documentation} { |
---|
25 | depends_run-append port:teTeX |
---|
26 | build.target-append info dvi postscript |
---|
27 | destroot.target-append install_info install_dvi \ |
---|
28 | infodir=${destroot}${prefix}/share/info \ |
---|
29 | docdir=${destroot}${prefix}/share/doc/${name}-${version} |
---|
30 | |
---|
31 | post-destroot { |
---|
32 | xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${name}-${version} |
---|
33 | eval xinstall -m 0644 [glob ${worksrcpath}/*.ps] ${destroot}${prefix}/share/doc/${name}-${version} |
---|
34 | } |
---|
35 | } |
---|
36 | |
---|
37 | post-activate { |
---|
38 | ui_msg "To use this, put the following into your ~/.emacs:" |
---|
39 | ui_msg "(load \"${prefix}/share/emacs/site-lisp/sml-mode/sml-mode-startup\")" |
---|
40 | } |
---|
41 | |
---|
42 | livecheck.check regex |
---|
43 | livecheck.regex sml-mode-(\\d+(?:\\.\\d+)*)${extract.suffix} |
---|