svn commit: r411004 - in head/lang: . haskell-mode.el haskell-mode.el/files
Raphael Kubo da Costa
rakuco at FreeBSD.org
Sun Mar 13 17:21:23 UTC 2016
Author: rakuco
Date: Sun Mar 13 17:21:21 2016
New Revision: 411004
URL: https://svnweb.freebsd.org/changeset/ports/411004
Log:
Readd lang/haskell-mode.el, update to 13.18 and pass maintainership to submitter.
PR: 201170
Submitted by: Klaus Aehlig <aehlig at linta.de>
Added:
head/lang/haskell-mode.el/
- copied from r366902, head/lang/haskell-mode.el/
Modified:
head/lang/Makefile
head/lang/haskell-mode.el/Makefile
head/lang/haskell-mode.el/distinfo
head/lang/haskell-mode.el/files/pkg-message.in
Modified: head/lang/Makefile
==============================================================================
--- head/lang/Makefile Sun Mar 13 17:19:39 2016 (r411003)
+++ head/lang/Makefile Sun Mar 13 17:21:21 2016 (r411004)
@@ -124,6 +124,7 @@
SUBDIR += guile
SUBDIR += guile2
SUBDIR += harbour
+ SUBDIR += haskell-mode.el
SUBDIR += hla
SUBDIR += hope
SUBDIR += hs-brainfuck
Modified: head/lang/haskell-mode.el/Makefile
==============================================================================
--- head/lang/haskell-mode.el/Makefile Mon Sep 1 17:06:47 2014 (r366902)
+++ head/lang/haskell-mode.el/Makefile Sun Mar 13 17:21:21 2016 (r411004)
@@ -2,49 +2,57 @@
# $FreeBSD$
PORTNAME= haskell-mode
-PORTVERSION= 2.9.1
+PORTVERSION= 13.18
+DISTVERSIONPREFIX=v
CATEGORIES= lang elisp
-MAINTAINER= ports at FreeBSD.org
+MAINTAINER= aehlig at linta.de
COMMENT= Emacs lisp mode for editing haskell programs
LICENSE= GPLv3
+USE_EMACS= yes
+
OPTIONS_DEFINE= DOCS
GH_ACCOUNT= haskell
-GH_COMMIT= 166ec39
-GH_TAGNAME= ${PORTVERSION:S/./_/g}
-NO_BUILD= yes
-PORTDOCS= NEWS fontlock.hs indent.hs README.md
+PORTDOCS= NEWS README.md
USE_GITHUB= yes
+USES= gmake
+ALL_TARGET= haskell-mode-autoloads.el
ELISPDIR= ${PREFIX}/${PLIST_DIRS}
-ELISPFILES= ghc-core.el haskell-align-imports.el haskell-c.el \
- haskell-cabal.el haskell-checkers.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-interactive-mode.el haskell-mode.el \
- haskell-move-nested.el haskell-navigate-imports.el \
- haskell-package.el haskell-process.el haskell-session.el \
- haskell-show.el haskell-simple-indent.el haskell-site-file.el \
- haskell-sort-imports.el haskell-string.el inf-haskell.el
+ELISPFILES= ghc-core.el ghci-script-mode.el haskell-align-imports.el \
+ haskell-cabal.el haskell-checkers.el \
+ haskell-collapse.el haskell-commands.el \
+ haskell-compile.el haskell-compat.el \
+ haskell-complete-module.el haskell-completions.el \
+ haskell-customize.el \
+ haskell-debug.el haskell-decl-scan.el \
+ haskell-doc.el haskell-font-lock.el haskell-hoogle.el \
+ haskell-indent.el haskell-indentation.el \
+ haskell-interactive-mode.el haskell-lexeme.el haskell-load.el \
+ haskell-menu.el haskell-mode-pkg.el haskell-mode.el \
+ haskell-mode-autoloads.el haskell-modules.el \
+ haskell-move-nested.el haskell-navigate-imports.el \
+ haskell-package.el haskell-presentation-mode.el \
+ haskell-process.el haskell-repl.el haskell-sandbox.el \
+ haskell-session.el \
+ haskell-sort-imports.el haskell-string.el \
+ haskell-unicode-input-method.el haskell-utils.el \
+ haskell.el highlight-uses-mode.el inf-haskell.el \
+ w3m-haddock.el
PLIST_DIRS= share/emacs/site-lisp/${PORTNAME}/
PLIST_FILES= ${ELISPFILES:C/^| [^ ]/${PLIST_DIRS}/g}
SUB_FILES= pkg-message
-NO_STAGE= yes
-.include <bsd.port.options.mk>
do-install:
- @${MKDIR} ${ELISPDIR}
- @${INSTALL_DATA} ${ELISPFILES:S,^,${WRKSRC}/,} ${ELISPDIR}/
+ @${MKDIR} ${STAGEDIR}${ELISPDIR}
+ ${INSTALL_DATA} ${ELISPFILES:S,^,${WRKSRC}/,} ${STAGEDIR}${ELISPDIR}/
-post-install:
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
-.endif
- @${CAT} ${PKGMESSAGE}
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>
Modified: head/lang/haskell-mode.el/distinfo
==============================================================================
--- head/lang/haskell-mode.el/distinfo Mon Sep 1 17:06:47 2014 (r366902)
+++ head/lang/haskell-mode.el/distinfo Sun Mar 13 17:21:21 2016 (r411004)
@@ -1,2 +1,2 @@
-SHA256 (haskell-mode-2.9.1.tar.gz) = 90dd5590162583f099a900f2f71b06625f5e48cdce1b566fc5fd8d248c6f1242
-SIZE (haskell-mode-2.9.1.tar.gz) = 123603
+SHA256 (haskell-haskell-mode-v13.18_GH0.tar.gz) = 144c39f748b41391918334c29700dc0dc8661070387eee543bf182ed11f10b9c
+SIZE (haskell-haskell-mode-v13.18_GH0.tar.gz) = 555164
Modified: head/lang/haskell-mode.el/files/pkg-message.in
==============================================================================
--- head/lang/haskell-mode.el/files/pkg-message.in Mon Sep 1 17:06:47 2014 (r366902)
+++ head/lang/haskell-mode.el/files/pkg-message.in Sun Mar 13 17:21:21 2016 (r411004)
@@ -1,13 +1,14 @@
To use haskell-mode in Emacs, add the following lines to your ~/.emacs:
-(load "%%PREFIX%%/share/emacs/site-lisp/haskell-mode/haskell-site-file")
+(add-to-list 'load-path "%%PREFIX%%/share/emacs/site-lisp/haskell-mode/")
+(require 'haskell-mode-autoloads)
Add the following lines according to which modules you want to use:
(add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode)
(add-hook 'haskell-mode-hook 'turn-on-haskell-indentation)
(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)
-(add-hook 'haskell-mode-hook 'turn-on-haskell-simple-indent)
+(autoload 'turn-on-haskell-indent "hindent" "Indentation mode for Haskell" t)
(add-hook 'haskell-mode-hook 'font-lock-mode)
Note that the three indentation modules are mutually exclusive - add at
More information about the svn-ports-all
mailing list