Changes since 2.6.4 * fill-paragraph (M-q) now only affects comments, and correctly handles Haddock commentary. adaptive-fill-mode is turned off, as it was interfering. * Yet more unicode symbols * Better support for unicode encoding of haskell source files * mdo correctly indented * Indentation fixes, fixes to the fixes, and fixes to the fixes to the fixes * New command: M-x haskell-check, calls (by default) hlint on the current file. Also bound to C-c C-v. You can also use the flymake minor mode with this. Changes since 2.5.1 * Parser corrections for haskell-indentation and haskell-decl-scan * haskell-indentation: Pressing tab in the rightmost position now moves to the leftmost, by default with a warning. * Typo fix: One haskell-indentation variable had ended up in the haskell-ntation customize group. * haskell-hoogle aliased to hoogle, haskell-hayoo aliased to hayoo * Courtesy of Alex Ott: - Additional unicode symbols for font-lock-symbols: () == /= >= <= !! && || sqrt - M-x haskell-hayoo search added, opens using browse-url - Bug-fix for inferior-haskell-type * If haskell-indentation errors out, it now fail-safes to inserting a literal newline or deleting one character, for return and backspace respectively. Changes since 2.4: * haskell-indentation, a new minor mode for indentation.
38 lines
1.1 KiB
Makefile
38 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.3 2010/04/13 19:17:53 emil_s Exp $
|
|
#
|
|
DISTNAME= haskell-mode-2.7.0
|
|
PKGNAME= ${EMACS_PKGNAME_PREFIX}${DISTNAME}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://projects.haskell.org/haskellmode-emacs/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.haskell.org/haskell-mode/
|
|
COMMENT= Haskell mode for Emacs
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
|
|
MESSAGE_SUBST+= LISPDIR=${EMACS_LISPPREFIX:Q}
|
|
|
|
SRCS= haskell-c.el haskell-cabal.el haskell-decl-scan.el \
|
|
haskell-doc.el haskell-font-lock.el haskell-ghci.el \
|
|
haskell-hugs.el haskell-indent.el \
|
|
haskell-indentation.el haskell-mode.el \
|
|
haskell-simple-indent.el haskell-site-file.el \
|
|
inf-haskell.el
|
|
|
|
do-build:
|
|
for f in ${SRCS}; do \
|
|
cd ${WRKSRC}; \
|
|
${EMACS_BIN} --no-init-file --no-site-file -batch \
|
|
-l haskell-mode.el -f batch-byte-compile $$f; \
|
|
done
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${EMACS_LISPPREFIX}/haskell-mode
|
|
cd ${WRKSRC}; \
|
|
${INSTALL_DATA} ${SRCS} ${SRCS:.el=.elc} \
|
|
${DESTDIR}${EMACS_LISPPREFIX}/haskell-mode
|
|
|
|
.include "../../editors/emacs/modules.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|