View | Details | Raw Unified | Return to bug 201170 | Differences between
and this patch

Collapse All | Expand All

(-)haskell-mode.el/Makefile (-25 / +33 lines)
Lines 2-50 Link Here
2
# $FreeBSD: head/lang/haskell-mode.el/Makefile 362717 2014-07-23 17:30:45Z bapt $
2
# $FreeBSD: head/lang/haskell-mode.el/Makefile 362717 2014-07-23 17:30:45Z bapt $
3
3
4
PORTNAME=	haskell-mode
4
PORTNAME=	haskell-mode
5
PORTVERSION=	2.9.1
5
PORTVERSION=	13.18
6
CATEGORIES=	lang elisp
6
CATEGORIES=	lang elisp
7
7
8
MAINTAINER=	ports@FreeBSD.org
8
MAINTAINER=	aehlig@linta.de
9
COMMENT=	Emacs lisp mode for editing haskell programs
9
COMMENT=	Emacs lisp mode for editing haskell programs
10
10
11
LICENSE=	GPLv3
11
LICENSE=	GPLv3
12
12
13
USE_EMACS=	yes
14
13
OPTIONS_DEFINE=	DOCS
15
OPTIONS_DEFINE=	DOCS
14
16
15
GH_ACCOUNT=	haskell
17
GH_ACCOUNT=	haskell
16
GH_COMMIT=	166ec39
18
DISTVERSIONPREFIX=v
17
GH_TAGNAME=	${PORTVERSION:S/./_/g}
19
PORTDOCS=	NEWS README.md
18
NO_BUILD=	yes
19
PORTDOCS=	NEWS fontlock.hs indent.hs README.md
20
USE_GITHUB=	yes
20
USE_GITHUB=	yes
21
USES=		gmake
22
ALL_TARGET=	haskell-mode-autoloads.el
21
23
22
ELISPDIR=	${PREFIX}/${PLIST_DIRS}
24
ELISPDIR=	${PREFIX}/${PLIST_DIRS}
23
ELISPFILES=	ghc-core.el haskell-align-imports.el haskell-c.el \
25
ELISPFILES=	ghc-core.el ghci-script-mode.el haskell-align-imports.el \
24
		haskell-cabal.el haskell-checkers.el haskell-decl-scan.el \
26
		haskell-cabal.el haskell-checkers.el \
25
		haskell-doc.el haskell-font-lock.el haskell-ghci.el \
27
		haskell-collapse.el haskell-commands.el \
26
		haskell-hugs.el haskell-indent.el haskell-indentation.el \
28
		haskell-compile.el haskell-compat.el \
27
		haskell-interactive-mode.el haskell-mode.el \
29
		haskell-complete-module.el haskell-completions.el \
28
		haskell-move-nested.el  haskell-navigate-imports.el \
30
	 	haskell-customize.el \
29
		haskell-package.el haskell-process.el haskell-session.el \
31
		haskell-debug.el haskell-decl-scan.el \
30
		haskell-show.el haskell-simple-indent.el haskell-site-file.el \
32
		haskell-doc.el haskell-font-lock.el haskell-hoogle.el \
31
		haskell-sort-imports.el haskell-string.el inf-haskell.el
33
		haskell-indent.el haskell-indentation.el \
34
		haskell-interactive-mode.el haskell-lexeme.el haskell-load.el \
35
		haskell-menu.el haskell-mode-pkg.el haskell-mode.el \
36
		haskell-mode-autoloads.el haskell-modules.el \
37
		haskell-move-nested.el haskell-navigate-imports.el \
38
		haskell-package.el haskell-presentation-mode.el \
39
		haskell-process.el haskell-repl.el haskell-sandbox.el \
40
		haskell-session.el \
41
		haskell-sort-imports.el haskell-string.el \
42
		haskell-unicode-input-method.el haskell-utils.el \
43
		haskell.el highlight-uses-mode.el inf-haskell.el \
44
		w3m-haddock.el
32
45
33
PLIST_DIRS=	share/emacs/site-lisp/${PORTNAME}/
46
PLIST_DIRS=	share/emacs/site-lisp/${PORTNAME}/
34
PLIST_FILES=	${ELISPFILES:C/^| [^ ]/${PLIST_DIRS}/g}
47
PLIST_FILES=	${ELISPFILES:C/^| [^ ]/${PLIST_DIRS}/g}
35
SUB_FILES=	pkg-message
48
SUB_FILES=	pkg-message
36
49
37
NO_STAGE=	yes
38
.include <bsd.port.options.mk>
39
do-install:
50
do-install:
40
	@${MKDIR} ${ELISPDIR}
51
	@${MKDIR} ${STAGEDIR}${ELISPDIR}
41
	@${INSTALL_DATA} ${ELISPFILES:S,^,${WRKSRC}/,} ${ELISPDIR}/
52
	${INSTALL_DATA} ${ELISPFILES:S,^,${WRKSRC}/,} ${STAGEDIR}${ELISPDIR}/
42
53
43
post-install:
54
post-install-DOCS-on:
44
.if ${PORT_OPTIONS:MDOCS}
55
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
45
	@${MKDIR} ${DOCSDIR}
56
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
46
	@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
47
.endif
48
	@${CAT} ${PKGMESSAGE}
49
57
50
.include <bsd.port.mk>
58
.include <bsd.port.mk>
(-)haskell-mode.el/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (haskell-mode-2.9.1.tar.gz) = 90dd5590162583f099a900f2f71b06625f5e48cdce1b566fc5fd8d248c6f1242
1
SHA256 (haskell-haskell-mode-v13.18_GH0.tar.gz) = 144c39f748b41391918334c29700dc0dc8661070387eee543bf182ed11f10b9c
2
SIZE (haskell-mode-2.9.1.tar.gz) = 123603
2
SIZE (haskell-haskell-mode-v13.18_GH0.tar.gz) = 555164
(-)haskell-mode.el/files/pkg-message.in (-2 / +3 lines)
Lines 1-13 Link Here
1
To use haskell-mode in Emacs, add the following lines to your ~/.emacs:
1
To use haskell-mode in Emacs, add the following lines to your ~/.emacs:
2
2
3
(load "%%PREFIX%%/share/emacs/site-lisp/haskell-mode/haskell-site-file")
3
(add-to-list 'load-path "%%PREFIX%%/share/emacs/site-lisp/haskell-mode/")
4
(require 'haskell-mode-autoloads)
4
5
5
Add the following lines according to which modules you want to use:
6
Add the following lines according to which modules you want to use:
6
7
7
(add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode)
8
(add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode)
8
(add-hook 'haskell-mode-hook 'turn-on-haskell-indentation)
9
(add-hook 'haskell-mode-hook 'turn-on-haskell-indentation)
9
(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)
10
(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)
10
(add-hook 'haskell-mode-hook 'turn-on-haskell-simple-indent)
11
(autoload 'turn-on-haskell-indent "hindent" "Indentation mode for Haskell" t)
11
(add-hook 'haskell-mode-hook 'font-lock-mode)
12
(add-hook 'haskell-mode-hook 'font-lock-mode)
12
13
13
Note that the three indentation modules are mutually exclusive - add at
14
Note that the three indentation modules are mutually exclusive - add at

Return to bug 201170