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

Last change on this file was 112407, checked in by jmr@…, 4 years ago

haskell-mode.el: license, noarch

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 112407 2013-10-22 10:12:54Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name            haskell-mode.el
6version         2.4
7categories      lang editors
8license         GPL-3+
9maintainers     nomaintainer
10platforms       darwin
11supported_archs noarch
12
13description     An emacs major mode for editing haskell programs.
14long_description        \
15                Haskell-mode is a major Emacs mode for editing          \
16                Haskell source code. It provides syntax highlighting    \
17                and automatic indentation and comes with inf-haskell    \
18                which allows interaction with an inferior Haskell       \
19                interactive loop such as the one of Hugs  or GHCi.
20
21distname        haskell-mode-${version}
22
23homepage        http://www.iro.umontreal.ca/~monnier/elisp/
24master_sites    ${homepage}
25
26checksums       md5 de5ff32478154a39bea3adb3b7ce0e94
27
28depends_lib     port:emacs
29depends_run     port:ghc
30
31worksrcdir      ${distname}
32
33post-patch      { reinplace s|ghci-program-path|${prefix}/bin/ghci|g ${worksrcpath}/inf-haskell.el }
34
35use_configure   no
36build           {}
37destroot        { file mkdir ${destroot}${prefix}/share/emacs/site-lisp
38                  file copy  ${workpath}/${worksrcdir}  \
39                             ${destroot}${prefix}/share/emacs/site-lisp
40                }
41
42post-activate   { ui_msg "To use this, put the following into your ~/.emacs:"
43                  ui_msg "(load \"${prefix}/share/emacs/site-lisp/${distname}/haskell-site-file\")"
44                  ui_msg "(add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode)"
45                  ui_msg "(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)"
46                  ui_msg "(add-hook 'haskell-mode-hook 'font-lock-mode)"
47                  ui_msg "(add-hook 'haskell-mode-hook 'imenu-add-menubar-index)"
48                  ui_msg " "
49}
Note: See TracBrowser for help on using the repository browser.