Initial import of new "haskell-mode" package:

Haskell mode for Emacs
This commit is contained in:
jtb 2000-11-30 02:29:27 +00:00
parent 9e9a7015d6
commit c31e950d92
6 changed files with 69 additions and 0 deletions

View file

@ -0,0 +1,27 @@
# $NetBSD: Makefile,v 1.1.1.1 2000/11/30 02:29:27 jtb Exp $
DISTNAME= haskell-mode-20001129
CATEGORIES= devel editors
MASTER_SITES= ${MASTER_SITE_LOCAL}
MAINTAINER= jtb@netbsd.org
HOMEPAGE= http://www.haskell.org/haskell-mode/
DEPENDS+= emacs-[0-9]*:../../editors/emacs
SRCS= haskell-doc.el haskell-mode.el haskell-font-lock.el \
haskell-simple-indent.el haskell-hugs.el haskell-decl-scan.el \
haskell-indent.el
do-build:
@for f in ${SRCS} ; do \
emacs -batch -f batch-byte-compile ${WRKSRC}/$$f 2>/dev/null ; \
${ECHO} "byte-compiled file" $$f ; done
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/emacs/site-lisp/haskell-mode
@for f in ${SRCS} ${SRCS:.el=.elc} ; do \
${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/share/emacs/site-lisp/haskell-mode ; \
done
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,3 @@
$NetBSD: md5,v 1.1.1.1 2000/11/30 02:29:27 jtb Exp $
MD5 (haskell-mode-20001129.tar.gz) = cd414f75a40a6da6a865228a5b2351b7

View file

@ -0,0 +1 @@
Haskell mode for Emacs

View file

@ -0,0 +1,3 @@
This is a major mode for editing Haskell source code under GNU Emacs or
XEmacs. It also supports running and interacting with the Hugs
interpreter as an inferior process in an Emacs buffer.

View file

@ -0,0 +1,19 @@
=============================================================================
You will need to add something like the following to your .emacs.el (or
default.el) file to autoload Haskell mode for Emacs.
(setq auto-mode-alist
(append auto-mode-alist
'(("\\.[hg]s$" . haskell-mode)
("\\.hi$" . haskell-mode)
("\\.l[hg]s$" . literate-haskell-mode))))
(autoload 'haskell-mode "haskell-mode"
"Major mode for editing Haskell scripts." t)
(autoload 'literate-haskell-mode "haskell-mode"
"Major mode for editing literate Haskell scripts." t)
This is taken from the haskell-mode.el file (in the 'site-lisp/haskell-mode/'
directory) which you should consult for details of further customizations.
=============================================================================

View file

@ -0,0 +1,16 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2000/11/30 02:29:27 jtb Exp $
share/emacs/site-lisp/haskell-mode/haskell-decl-scan.el
share/emacs/site-lisp/haskell-mode/haskell-decl-scan.elc
share/emacs/site-lisp/haskell-mode/haskell-doc.el
share/emacs/site-lisp/haskell-mode/haskell-doc.elc
share/emacs/site-lisp/haskell-mode/haskell-font-lock.el
share/emacs/site-lisp/haskell-mode/haskell-font-lock.elc
share/emacs/site-lisp/haskell-mode/haskell-hugs.el
share/emacs/site-lisp/haskell-mode/haskell-hugs.elc
share/emacs/site-lisp/haskell-mode/haskell-indent.el
share/emacs/site-lisp/haskell-mode/haskell-indent.elc
share/emacs/site-lisp/haskell-mode/haskell-mode.el
share/emacs/site-lisp/haskell-mode/haskell-mode.elc
share/emacs/site-lisp/haskell-mode/haskell-simple-indent.el
share/emacs/site-lisp/haskell-mode/haskell-simple-indent.elc
@dirrm share/emacs/site-lisp/haskell-mode