source: trunk/dports/lang/sml-mode.el/Portfile

Last change on this file was 145298, checked in by mcalhoun@…, 20 months ago

sml-mode.el: update version 4.1->5.0

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
2# $Id: Portfile 145298 2016-01-31 04:47:31Z ryandesign@macports.org $
3
4PortSystem 1.0
5PortGroup          elisp 1.0
6
7name               sml-mode.el
8version            5.0
9categories         lang editors
10license            GPL-3+
11maintainers        mcalhoun openmaintainer
12description        An EMACS major mode for editing Standard ML
13long_description   ${description}
14homepage           http://www.iro.umontreal.ca/~monnier/elisp/
15platforms          darwin
16distname           sml-mode-${version}
17master_sites       http://www.iro.umontreal.ca/~monnier/elisp/
18checksums          rmd160  cc6b8896348ce2c0023adc9edda114379ac7e99e \
19                   sha256  8891ae8215175186f7575ae5a581e06e083f231d3e50731a587e19830653774f
20
21supported_archs    noarch
22
23depends_lib-append path:${emacs_binary}:${emacs_binary_provider}
24
25use_configure      no
26build.target       elcfiles EMACS=${emacs_binary}
27destroot.target    install_elc install_el prefix=${destroot}${prefix}
28
29variant docs description {Install extra documentation} {
30        depends_build-append    path:${prefix}/texi2dvi:texinfo \
31        path:${prefix}/makeinfo:texinfo \
32        path:${prefix}/texi2dvi:texinfo \
33        path:${prefix}/bin/dvips:texlive-basic
34
35    build.target-append info dvi postscript
36
37    destroot.target-append \
38        install_info install_dvi \
39        infodir=${destroot}${prefix}/share/info \
40        docdir=${destroot}${prefix}/share/doc/${name}
41
42    post-destroot {
43                xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${name}
44                eval xinstall -m 0644 [glob ${worksrcpath}/*.ps] ${destroot}${prefix}/share/doc/${name}
45        }
46}
47
48notes "To use this, put the following into your ~/.emacs:
49(load \"${prefix}/share/emacs/site-lisp/sml-mode/sml-mode-startup\")"
50
51livecheck.type  regex
52livecheck.regex sml-mode-(\\d+(?:\\.\\d+)*)${extract.suffix}
Note: See TracBrowser for help on using the repository browser.