mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-20 20:09:11 +00:00
- Update to 2.1
- Drop maintainership PR: ports/91934 Submitted by: Hirohisa Yamaguchi <umq@ueo.co.jp> Approved by: Josh Elsasser <joshe@vineyard.net> (maintainer)
This commit is contained in:
parent
423e721390
commit
e9ac3a4ce2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=154441
@ -6,11 +6,11 @@
|
||||
#
|
||||
|
||||
PORTNAME= haskell-mode
|
||||
PORTVERSION= 1.44
|
||||
PORTVERSION= 2.1
|
||||
CATEGORIES= lang elisp
|
||||
MASTER_SITES= http://www.haskell.org/haskell-mode/
|
||||
MASTER_SITES= http://www.iro.umontreal.ca/~monnier/elisp/
|
||||
|
||||
MAINTAINER= jre@vineyard.net
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= An Emacs lisp mode for editing haskell programs
|
||||
|
||||
NO_BUILD= yes
|
||||
@ -18,11 +18,17 @@ NO_BUILD= yes
|
||||
ELISPDIR= ${PREFIX}/${PLIST_DIRS}
|
||||
ELISPFILES= haskell-decl-scan.el haskell-doc.el haskell-font-lock.el \
|
||||
haskell-ghci.el haskell-hugs.el haskell-indent.el \
|
||||
haskell-mode.el haskell-simple-indent.el
|
||||
haskell-mode.el haskell-simple-indent.el haskell-site-file.el \
|
||||
inf-haskell.el
|
||||
|
||||
PLIST_DIRS= share/emacs/site-lisp/${PORTNAME}/
|
||||
PLIST_FILES= ${ELISPFILES:C/^| [^ ]/${PLIST_DIRS}/g}
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
PORTDOCS= ChangeLog NEWS fontlock.hs indent.hs \
|
||||
index.html installation-guide.html
|
||||
.endif
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${ELISPDIR}
|
||||
.for i in ${ELISPFILES}
|
||||
@ -30,6 +36,12 @@ do-install:
|
||||
.endfor
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
. for i in ${PORTDOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
||||
. endfor
|
||||
.endif
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,3 +1,4 @@
|
||||
MD5 (haskell-mode-1.44.tar.gz) = 8317d8bf8588e254e753977e48ad3bf6
|
||||
SHA256 (haskell-mode-1.44.tar.gz) = 7950445082f7b5cc2e25477367e6dde1746a4799edfa54a45591029730a34712
|
||||
MD5 (haskell-mode-2.1.tar.gz) = df6c6d62777c2ea6cdd5455a0010e7e2
|
||||
SHA256 (haskell-mode-2.1.tar.gz) = 51c7529b217aafdf3cef843e0fc25b3735bebb259effd9c8bc6e8f72a4b65046
|
||||
SIZE (haskell-mode-2.1.tar.gz) = 73855
|
||||
SIZE (haskell-mode-1.44.tar.gz) = 58601
|
||||
|
@ -12,12 +12,11 @@ To use haskell-mode in Emacs, add the following lines to your ~/.emacs:
|
||||
|
||||
Add the following lines according to which modules you want to use:
|
||||
|
||||
(add-hook 'haskell-mode-hook 'turn-on-haskell-font-lock)
|
||||
(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-indent)
|
||||
;(add-hook 'haskell-mode-hook 'turn-on-haskell-simple-indent)
|
||||
(add-hook 'haskell-mode-hook 'turn-on-haskell-hugs)
|
||||
(add-hook 'haskell-mode-hook 'turn-on-font-lock)
|
||||
|
||||
Note that the two indentation modules are mutually exclusive - add at
|
||||
most one.
|
||||
|
Loading…
Reference in New Issue
Block a user