From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Mar 5 11:10:01 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9989D16A4CE for ; Fri, 5 Mar 2004 11:10:01 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DDCC43D41 for ; Fri, 5 Mar 2004 11:10:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i25JA1bv000670 for ; Fri, 5 Mar 2004 11:10:01 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i25JA1tZ000669; Fri, 5 Mar 2004 11:10:01 -0800 (PST) (envelope-from gnats) Resent-Date: Fri, 5 Mar 2004 11:10:01 -0800 (PST) Resent-Message-Id: <200403051910.i25JA1tZ000669@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Josh Elsasser" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3487E16A4CE for ; Fri, 5 Mar 2004 11:08:51 -0800 (PST) Received: from mail.vineyard.net (k1.vineyard.net [204.17.195.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE5AD43D1D for ; Fri, 5 Mar 2004 11:08:50 -0800 (PST) (envelope-from jre@vineyard.net) Received: from localhost (loopback [127.0.0.1]) by mail.vineyard.net (Postfix) with ESMTP id 20E0197FDB for ; Fri, 5 Mar 2004 14:08:50 -0500 (EST) Received: from mail.vineyard.net ([127.0.0.1]) by localhost (king1.vineyard.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 88473-06 for ; Fri, 5 Mar 2004 14:08:49 -0500 (EST) Received: from jade.elsasser.org (loopback [127.0.0.1]) by mail.vineyard.net (Postfix) with ESMTP id 0CEBE97D9D for ; Fri, 5 Mar 2004 14:08:49 -0500 (EST) Received: from jade.elsasser.org (localhost [127.0.0.1]) by jade.elsasser.org (Postfix) with ESMTP id 0E85393 for ; Fri, 5 Mar 2004 14:08:47 -0500 (EST) Message-Id: <1078513727.0@jade.elsasser.org> Date: Fri, 5 Mar 2004 14:08:47 -0500 From: "Josh Elsasser" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.3.3 Subject: ports/63813: New port: lang/haskell-mode.el X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Mar 2004 19:10:01 -0000 >Number: 63813 >Category: ports >Synopsis: New port: lang/haskell-mode.el >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Mar 05 11:10:01 PST 2004 >Closed-Date: >Last-Modified: >Originator: Josh Elsasser >Release: FreeBSD 5.2-CURRENT i386 >Organization: >Environment: System: FreeBSD 5.2-CURRENT #11: Sat Feb 7 15:09:05 EST 2004 joshe@jade.elsasser.org:/usr/local/obj/usr/src/sys/JADE >Description: An emacs lisp mode for editing haskell programs. >How-To-Repeat: >Fix: --- haskell-mode.el.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # haskell-mode.el # haskell-mode.el/Makefile # haskell-mode.el/distinfo # haskell-mode.el/pkg-descr # haskell-mode.el/pkg-plist # haskell-mode.el/pkg-message # echo c - haskell-mode.el mkdir -p haskell-mode.el > /dev/null 2>&1 echo x - haskell-mode.el/Makefile sed 's/^X//' >haskell-mode.el/Makefile << 'END-of-haskell-mode.el/Makefile' X# New ports collection makefile for: haskell-mode.el X# Date created: 5 March 2004 X# Whom: Josh Elsasser X# X# $FreeBSD$ X# X XPORTNAME= haskell-mode XPORTVERSION= 1.44 XCATEGORIES= lang elisp XMASTER_SITES= http://www.haskell.org/haskell-mode/ X XMAINTAINER= jre@vineyard.net XCOMMENT= An Emacs lisp mode for editing haskell programs X XNO_BUILD= yes X XELISPDIR= ${PREFIX}/share/emacs/site-lisp/${PORTNAME}/ XELISPFILES= haskell-decl-scan.el haskell-doc.el haskell-font-lock.el \ X haskell-ghci.el haskell-hugs.el haskell-indent.el \ X haskell-mode.el haskell-simple-indent.el X Xdo-install: X ${MKDIR} ${ELISPDIR} X.for i in ${ELISPFILES} X ${INSTALL_DATA} ${WRKSRC}/${i} ${ELISPDIR} X.endfor X Xpost-install: X @${CAT} ${PKGMESSAGE} X X.include END-of-haskell-mode.el/Makefile echo x - haskell-mode.el/distinfo sed 's/^X//' >haskell-mode.el/distinfo << 'END-of-haskell-mode.el/distinfo' XMD5 (haskell-mode-1.44.tar.gz) = 8317d8bf8588e254e753977e48ad3bf6 XSIZE (haskell-mode-1.44.tar.gz) = 58601 END-of-haskell-mode.el/distinfo echo x - haskell-mode.el/pkg-descr sed 's/^X//' >haskell-mode.el/pkg-descr << 'END-of-haskell-mode.el/pkg-descr' XAn Emacs lisp mode for editing haskell programs which is very basic, Xbut provides a base on which to build modules. The currently Xsupported modules are: X X * Font Locking: Colours keywords, comments, strings, etc. X * Declaration Scanning: Scans declarations and places them in a X menu. X * Documentation: Echoes types of functions or syntax of keywords X when the cursor is idle. X * Indentation: Provides semi-automatic intelligent indentation. X * Simple Indentation: Provides simple indentation. X * Hugs Interaction: Allows interaction with the Hugs interpreter. X * GHCi Interaction: Allows interaction with the GHCi interpreter. X XNote that if you want to use haskell-mode under XEmacs, you should Xinstall editors/xemacs-packages instead. X XWWW: http://www.haskell.org/haskell-mode/ END-of-haskell-mode.el/pkg-descr echo x - haskell-mode.el/pkg-plist sed 's/^X//' >haskell-mode.el/pkg-plist << 'END-of-haskell-mode.el/pkg-plist' Xshare/emacs/site-lisp/haskell-mode/haskell-decl-scan.el Xshare/emacs/site-lisp/haskell-mode/haskell-doc.el Xshare/emacs/site-lisp/haskell-mode/haskell-font-lock.el Xshare/emacs/site-lisp/haskell-mode/haskell-ghci.el Xshare/emacs/site-lisp/haskell-mode/haskell-hugs.el Xshare/emacs/site-lisp/haskell-mode/haskell-indent.el Xshare/emacs/site-lisp/haskell-mode/haskell-mode.el Xshare/emacs/site-lisp/haskell-mode/haskell-simple-indent.el X@dirrm share/emacs/site-lisp/haskell-mode END-of-haskell-mode.el/pkg-plist echo x - haskell-mode.el/pkg-message sed 's/^X//' >haskell-mode.el/pkg-message << 'END-of-haskell-mode.el/pkg-message' XTo use haskell-mode in Emacs, add the following lines to your ~/.emacs: X X(setq auto-mode-alist X (append auto-mode-alist X '(("\\.[hg]s$" . haskell-mode) X ("\\.hi$" . haskell-mode) X ("\\.l[hg]s$" . literate-haskell-mode)))) X(autoload 'haskell-mode "haskell-mode" X "Major mode for editing Haskell scripts." t) X(autoload 'literate-haskell-mode "haskell-mode" X "Major mode for editing literate Haskell scripts." t) X XAdd the following lines according to which modules you want to use: X X(add-hook 'haskell-mode-hook 'turn-on-haskell-font-lock) X(add-hook 'haskell-mode-hook 'turn-on-haskell-decl-scan) X(add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode) X(add-hook 'haskell-mode-hook 'turn-on-haskell-indent) X;(add-hook 'haskell-mode-hook 'turn-on-haskell-simple-indent) X(add-hook 'haskell-mode-hook 'turn-on-haskell-hugs) X XNote that the two indentation modules are mutually exclusive - add at Xmost one. END-of-haskell-mode.el/pkg-message exit --- haskell-mode.el.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: