- Update to 2.4
- Makefile cleanup - Update pkg-message. PR: ports/120279 Submitted by: Felippe de Meirelles Motta <lippemail@gmail.com> Approved by: Hirohisa Yamaguchi (maintainer)
This commit is contained in:
parent
f1ec98aef5
commit
ee7b1b4270
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=206738
3 changed files with 17 additions and 22 deletions
|
@ -6,7 +6,7 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= haskell-mode
|
PORTNAME= haskell-mode
|
||||||
PORTVERSION= 2.3
|
PORTVERSION= 2.4
|
||||||
CATEGORIES= lang elisp
|
CATEGORIES= lang elisp
|
||||||
MASTER_SITES= http://www.iro.umontreal.ca/~monnier/elisp/
|
MASTER_SITES= http://www.iro.umontreal.ca/~monnier/elisp/
|
||||||
|
|
||||||
|
@ -15,32 +15,25 @@ COMMENT= An Emacs lisp mode for editing haskell programs
|
||||||
|
|
||||||
NO_BUILD= yes
|
NO_BUILD= yes
|
||||||
|
|
||||||
|
PORTDOCS= ChangeLog NEWS fontlock.hs indent.hs README
|
||||||
|
|
||||||
ELISPDIR= ${PREFIX}/${PLIST_DIRS}
|
ELISPDIR= ${PREFIX}/${PLIST_DIRS}
|
||||||
ELISPFILES= haskell-cabal.el haskell-decl-scan.el haskell-doc.el \
|
ELISPFILES= haskell-c.el haskell-cabal.el haskell-decl-scan.el \
|
||||||
haskell-font-lock.el haskell-ghci.el haskell-hugs.el \
|
haskell-doc.el haskell-font-lock.el haskell-ghci.el \
|
||||||
haskell-indent.el haskell-mode.el haskell-simple-indent.el \
|
haskell-hugs.el haskell-indent.el haskell-mode.el \
|
||||||
haskell-site-file.el inf-haskell.el
|
haskell-simple-indent.el haskell-site-file.el inf-haskell.el
|
||||||
|
|
||||||
PLIST_DIRS= share/emacs/site-lisp/${PORTNAME}/
|
PLIST_DIRS= share/emacs/site-lisp/${PORTNAME}/
|
||||||
PLIST_FILES= ${ELISPFILES:C/^| [^ ]/${PLIST_DIRS}/g}
|
PLIST_FILES= ${ELISPFILES:C/^| [^ ]/${PLIST_DIRS}/g}
|
||||||
|
|
||||||
.if !defined(NOPORTDOCS)
|
|
||||||
PORTDOCS= ChangeLog NEWS fontlock.hs indent.hs \
|
|
||||||
README
|
|
||||||
.endif
|
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${MKDIR} ${ELISPDIR}
|
@${MKDIR} ${ELISPDIR}
|
||||||
.for i in ${ELISPFILES}
|
@${INSTALL_DATA} ${ELISPFILES:S,^,${WRKSRC}/,} ${ELISPDIR}/
|
||||||
${INSTALL_DATA} ${WRKSRC}/${i} ${ELISPDIR}
|
|
||||||
.endfor
|
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
.if !defined(NOPORTDOCS)
|
.if !defined(NOPORTDOCS)
|
||||||
${MKDIR} ${DOCSDIR}
|
@${MKDIR} ${DOCSDIR}
|
||||||
. for i in ${PORTDOCS}
|
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
|
||||||
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
||||||
. endfor
|
|
||||||
.endif
|
.endif
|
||||||
@${CAT} ${PKGMESSAGE}
|
@${CAT} ${PKGMESSAGE}
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
MD5 (haskell-mode-2.3.tar.gz) = 83b966f84e00f593f490680c5302021d
|
MD5 (haskell-mode-2.4.tar.gz) = de5ff32478154a39bea3adb3b7ce0e94
|
||||||
SHA256 (haskell-mode-2.3.tar.gz) = 9261eaebc49f9629184f2cb9f247fa268b69d7b45194e8646b8bb61932649d89
|
SHA256 (haskell-mode-2.4.tar.gz) = 8549e4d3540ae105b151e18f963d420c117a06e97d0ff20f5618544e19684de8
|
||||||
SIZE (haskell-mode-2.3.tar.gz) = 77903
|
SIZE (haskell-mode-2.4.tar.gz) = 89256
|
||||||
|
|
|
@ -14,8 +14,10 @@ Add the following lines according to which modules you want to use:
|
||||||
|
|
||||||
(add-hook 'haskell-mode-hook 'turn-on-haskell-decl-scan)
|
(add-hook 'haskell-mode-hook 'turn-on-haskell-decl-scan)
|
||||||
(add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode)
|
(add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode)
|
||||||
|
(add-hook 'haskell-mode-hook 'turn-on-haskell-ghci)
|
||||||
|
(add-hook 'haskell-mode-hook 'turn-on-haskell-hugs)
|
||||||
(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)
|
(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)
|
||||||
;(add-hook 'haskell-mode-hook 'turn-on-haskell-simple-indent)
|
(add-hook 'haskell-mode-hook 'turn-on-haskell-simple-indent)
|
||||||
(add-hook 'haskell-mode-hook 'turn-on-font-lock)
|
(add-hook 'haskell-mode-hook 'turn-on-font-lock)
|
||||||
|
|
||||||
Note that the two indentation modules are mutually exclusive - add at
|
Note that the two indentation modules are mutually exclusive - add at
|
||||||
|
|
Loading…
Reference in a new issue