View | Details | Raw Unified | Return to bug 152726
Collapse All | Expand All

(-)Makefile (-5 / +8 lines)
Lines 6-30 Link Here
6
#
6
#
7
7
8
PORTNAME=	haskell-mode
8
PORTNAME=	haskell-mode
9
PORTVERSION=	2.4
9
PORTVERSION=	2.8.0
10
CATEGORIES=	lang elisp
10
CATEGORIES=	lang elisp
11
MASTER_SITES=	http://www.iro.umontreal.ca/~monnier/elisp/
11
MASTER_SITES=	http://projects.haskell.org/haskellmode-emacs/
12
12
13
MAINTAINER=	umq@ueo.co.jp
13
MAINTAINER=	umq@ueo.co.jp
14
COMMENT=	An Emacs lisp mode for editing haskell programs
14
COMMENT=	An Emacs lisp mode for editing haskell programs
15
15
16
NO_BUILD=	yes
16
NO_BUILD=	yes
17
17
18
LICENSE=	GPLv3
18
PORTDOCS=	ChangeLog NEWS fontlock.hs indent.hs README
19
PORTDOCS=	ChangeLog NEWS fontlock.hs indent.hs README
19
20
20
ELISPDIR=	${PREFIX}/${PLIST_DIRS}
21
ELISPDIR=	${PREFIX}/${PLIST_DIRS}
21
ELISPFILES=	haskell-c.el haskell-cabal.el haskell-decl-scan.el \
22
ELISPFILES=	ghc-core.el haskell-c.el haskell-cabal.el haskell-decl-scan.el \
22
		haskell-doc.el haskell-font-lock.el haskell-ghci.el \
23
		haskell-doc.el haskell-font-lock.el haskell-ghci.el \
23
		haskell-hugs.el haskell-indent.el haskell-mode.el \
24
		haskell-hugs.el haskell-indent.el haskell-indentation.el \
24
		haskell-simple-indent.el haskell-site-file.el inf-haskell.el
25
		haskell-mode.el haskell-simple-indent.el haskell-site-file.el \
26
		inf-haskell.el
25
27
26
PLIST_DIRS=	share/emacs/site-lisp/${PORTNAME}/
28
PLIST_DIRS=	share/emacs/site-lisp/${PORTNAME}/
27
PLIST_FILES=	${ELISPFILES:C/^| [^ ]/${PLIST_DIRS}/g}
29
PLIST_FILES=	${ELISPFILES:C/^| [^ ]/${PLIST_DIRS}/g}
30
SUB_FILES=	pkg-message
28
31
29
do-install:
32
do-install:
30
	@${MKDIR} ${ELISPDIR}
33
	@${MKDIR} ${ELISPDIR}
(-)distinfo (-3 / +2 lines)
Lines 1-3 Link Here
1
MD5 (haskell-mode-2.4.tar.gz) = de5ff32478154a39bea3adb3b7ce0e94
1
SHA256 (haskell-mode-2.8.0.tar.gz) = 614dc82977fe5f1b3ecc85a34897409ad6218bee0e1a88611747b1e13b79c580
2
SHA256 (haskell-mode-2.4.tar.gz) = 8549e4d3540ae105b151e18f963d420c117a06e97d0ff20f5618544e19684de8
2
SIZE (haskell-mode-2.8.0.tar.gz) = 107284
3
SIZE (haskell-mode-2.4.tar.gz) = 89256
(-)pkg-descr (-14 / +5 lines)
Lines 1-18 Link Here
1
An Emacs lisp mode for editing haskell programs which is very basic,
1
Haskell-mode is a major Emacs mode for editing Haskell source code. It
2
but provides a base on which to build modules.  The currently
2
provides syntax highlighting and automatic indentation and comes with
3
supported modules are:
3
inf-haskell which allows interaction with an inferior Haskell interactive
4
4
loop such as the one of Hugs or GHCi.
5
    * Font Locking: Colours keywords, comments, strings, etc.
6
    * Declaration Scanning: Scans declarations and places them in a
7
      menu.
8
    * Documentation: Echoes types of functions or syntax of keywords
9
      when the cursor is idle.
10
    * Indentation: Provides semi-automatic intelligent indentation.
11
    * Simple Indentation: Provides simple indentation.
12
    * Hugs Interaction: Allows interaction with the Hugs interpreter.
13
    * GHCi Interaction: Allows interaction with the GHCi interpreter.
14
5
15
Note that if you want to use haskell-mode under XEmacs, you should
6
Note that if you want to use haskell-mode under XEmacs, you should
16
install editors/xemacs-packages instead.
7
install editors/xemacs-packages instead.
17
8
18
WWW: http://www.haskell.org/haskell-mode/
9
WWW: http://projects.haskell.org/haskellmode-emacs/
(-)pkg-message (-24 lines)
Removed Link Here
1
To use haskell-mode in Emacs, add the following lines to your ~/.emacs:
2
3
(setq auto-mode-alist
4
      (append auto-mode-alist
5
              '(("\\.[hg]s$"  . haskell-mode)
6
                ("\\.hi$"     . haskell-mode)
7
                ("\\.l[hg]s$" . literate-haskell-mode))))
8
(autoload 'haskell-mode "haskell-mode"
9
   "Major mode for editing Haskell scripts." t)
10
(autoload 'literate-haskell-mode "haskell-mode"
11
   "Major mode for editing literate Haskell scripts." t)
12
13
Add the following lines according to which modules you want to use:
14
15
(add-hook 'haskell-mode-hook 'turn-on-haskell-decl-scan)
16
(add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode)
17
(add-hook 'haskell-mode-hook 'turn-on-haskell-ghci)
18
(add-hook 'haskell-mode-hook 'turn-on-haskell-hugs)
19
(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)
20
(add-hook 'haskell-mode-hook 'turn-on-haskell-simple-indent)
21
(add-hook 'haskell-mode-hook 'turn-on-font-lock)
22
23
Note that the two indentation modules are mutually exclusive - add at
24
most one.
(-)files/pkg-message.in (+15 lines)
Added Link Here
1
To use haskell-mode in Emacs, add the following lines to your ~/.emacs:
2
3
(load "%%PREFIX%%/share/emacs/site-lisp/haskell-mode/haskell-site-file")
4
5
Add the following lines according to which modules you want to use:
6
7
(add-hook 'haskell-mode-hook 'turn-on-haskell-decl-scan)
8
(add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode)
9
(add-hook 'haskell-mode-hook 'turn-on-haskell-indentation)
10
(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)
11
(add-hook 'haskell-mode-hook 'turn-on-haskell-simple-indent)
12
(add-hook 'haskell-mode-hook 'turn-on-font-lock)
13
14
Note that the three indentation modules are mutually exclusive - add at
15
most one.

Return to bug 152726