From e9ac3a4ce28965e27651358d03b06b94203bd7d2 Mon Sep 17 00:00:00 2001 From: Pav Lucistnik Date: Wed, 25 Jan 2006 17:50:07 +0000 Subject: [PATCH] - Update to 2.1 - Drop maintainership PR: ports/91934 Submitted by: Hirohisa Yamaguchi Approved by: Josh Elsasser (maintainer) --- lang/haskell-mode.el/Makefile | 20 ++++++++++++++++---- lang/haskell-mode.el/distinfo | 5 +++-- lang/haskell-mode.el/pkg-message | 3 +-- 3 files changed, 20 insertions(+), 8 deletions(-) diff --git a/lang/haskell-mode.el/Makefile b/lang/haskell-mode.el/Makefile index 64c701627089..58811a51810b 100644 --- a/lang/haskell-mode.el/Makefile +++ b/lang/haskell-mode.el/Makefile @@ -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 diff --git a/lang/haskell-mode.el/distinfo b/lang/haskell-mode.el/distinfo index 2a5c6e706573..73309f9f0b50 100644 --- a/lang/haskell-mode.el/distinfo +++ b/lang/haskell-mode.el/distinfo @@ -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 diff --git a/lang/haskell-mode.el/pkg-message b/lang/haskell-mode.el/pkg-message index 9d51fd3cb213..963d313a24b8 100644 --- a/lang/haskell-mode.el/pkg-message +++ b/lang/haskell-mode.el/pkg-message @@ -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.