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

(-)Makefile (-18 / +11 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	haskell-mode
8
PORTNAME=	haskell-mode
9
PORTVERSION=	2.3
9
PORTVERSION=	2.4
10
CATEGORIES=	lang elisp
10
CATEGORIES=	lang elisp
11
MASTER_SITES=	http://www.iro.umontreal.ca/~monnier/elisp/
11
MASTER_SITES=	http://www.iro.umontreal.ca/~monnier/elisp/
12
12
Lines 15-46 Link Here
15
15
16
NO_BUILD=	yes
16
NO_BUILD=	yes
17
17
18
PORTDOCS=	ChangeLog NEWS fontlock.hs indent.hs README
19
18
ELISPDIR=	${PREFIX}/${PLIST_DIRS}
20
ELISPDIR=	${PREFIX}/${PLIST_DIRS}
19
ELISPFILES=	haskell-cabal.el haskell-decl-scan.el haskell-doc.el \
21
ELISPFILES=	haskell-c.el haskell-cabal.el haskell-decl-scan.el \
20
		haskell-font-lock.el haskell-ghci.el haskell-hugs.el \
22
		haskell-doc.el haskell-font-lock.el haskell-ghci.el \
21
		haskell-indent.el haskell-mode.el haskell-simple-indent.el \
23
		haskell-hugs.el haskell-indent.el haskell-mode.el \
22
		haskell-site-file.el inf-haskell.el
24
		haskell-simple-indent.el haskell-site-file.el inf-haskell.el
23
25
24
PLIST_DIRS=	share/emacs/site-lisp/${PORTNAME}/
26
PLIST_DIRS=	share/emacs/site-lisp/${PORTNAME}/
25
PLIST_FILES=	${ELISPFILES:C/^| [^ ]/${PLIST_DIRS}/g}
27
PLIST_FILES=	${ELISPFILES:C/^| [^ ]/${PLIST_DIRS}/g}
26
28
27
.if !defined(NOPORTDOCS)
28
PORTDOCS=	ChangeLog NEWS fontlock.hs indent.hs \
29
		README
30
.endif
31
32
do-install:
29
do-install:
33
	${MKDIR} ${ELISPDIR}
30
	@${MKDIR} ${ELISPDIR}
34
.for i in ${ELISPFILES}
31
	@${INSTALL_DATA} ${ELISPFILES:S,^,${WRKSRC}/,} ${ELISPDIR}/
35
	${INSTALL_DATA} ${WRKSRC}/${i} ${ELISPDIR}
36
.endfor
37
32
38
post-install:
33
post-install:
39
.if !defined(NOPORTDOCS)
34
.if !defined(NOPORTDOCS)
40
	${MKDIR} ${DOCSDIR}
35
	@${MKDIR} ${DOCSDIR}
41
.  for i in ${PORTDOCS}
36
	@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
42
	${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
43
.  endfor
44
.endif
37
.endif
45
	@${CAT} ${PKGMESSAGE}
38
	@${CAT} ${PKGMESSAGE}
46
39
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (haskell-mode-2.3.tar.gz) = 83b966f84e00f593f490680c5302021d
1
MD5 (haskell-mode-2.4.tar.gz) = de5ff32478154a39bea3adb3b7ce0e94
2
SHA256 (haskell-mode-2.3.tar.gz) = 9261eaebc49f9629184f2cb9f247fa268b69d7b45194e8646b8bb61932649d89
2
SHA256 (haskell-mode-2.4.tar.gz) = 8549e4d3540ae105b151e18f963d420c117a06e97d0ff20f5618544e19684de8
3
SIZE (haskell-mode-2.3.tar.gz) = 77903
3
SIZE (haskell-mode-2.4.tar.gz) = 89256
(-)pkg-message (-1 / +3 lines)
Lines 14-21 Link Here
14
14
15
(add-hook 'haskell-mode-hook 'turn-on-haskell-decl-scan)
15
(add-hook 'haskell-mode-hook 'turn-on-haskell-decl-scan)
16
(add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode)
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)
17
(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)
19
(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)
18
;(add-hook 'haskell-mode-hook 'turn-on-haskell-simple-indent)
20
(add-hook 'haskell-mode-hook 'turn-on-haskell-simple-indent)
19
(add-hook 'haskell-mode-hook 'turn-on-font-lock)
21
(add-hook 'haskell-mode-hook 'turn-on-font-lock)
20
22
21
Note that the two indentation modules are mutually exclusive - add at
23
Note that the two indentation modules are mutually exclusive - add at

Return to bug 120279