the Fink project is an effort to port
popular Unix programs to Mac OS X
Package: tuareg-mode
Description: ML mode for emacs
Version: 1.45.6
Revision: 1
Maintainer: Jesse Alama
License: GPL
DocFiles: COPYING HISTORY LISEZMOI README
Source: http://www-rocq.inria.fr/~acohen/tuareg/mode/%n-%v.tar.gz
Source-MD5: 757406cf481d5eaa1a34099a12231f78
PatchScript: sed 's|@PREFIX@|%p|g' < %a/%n.patch | patch -p1
DescDetail: <<
This package contains emacs code to help editing Caml code, to hilight
important parts of the code, to run a Caml toplevel, and to run the
Caml debugger within GNU Emacs/XEmacs editors. It is designed for
Objective Caml but handles Camllight syntax as well.
<<
DescUsage: <<
By default, the fink package tuareg-mode sets up emacs to enable
tuareg-mode whenver an ML file is encountered, which by definition is
any file whose extension is ".ml", or ".ml" followed by another
non-whitespace character (e.g., ".mli", ".mly", ".mll", etc.). To
enable tuareg-mode manually, issue the command `tuareg-mode'.
Some suggested customizations from the upstream authors:
(add-hook 'tuareg-mode-hook
'(lambda ()
(setq tuareg-lazy-= t) ; indent `=' like a standard keyword
(setq tuareg-lazy-paren t) ; indent [({ like standard keywords
(setq tuareg-in-indent 0) ; no indentation after `in' keywords
(auto-fill-mode 1) ; turn on auto-fill minor mode
))
<<
CompileScript: <<
<<
InstallScript: <<
mkdir -p %i/share/emacs/site-lisp/tuareg
install -m 644 tuareg.el %i/share/emacs/site-lisp/tuareg
install -m 644 camldebug.el %i/share/emacs/site-lisp/tuareg
# Nothing to put here now, but the compilation logs will be put here later
mkdir -p %i/share/doc/tuareg-mode
mkdir -p %i/lib/emacsen-common/packages/install
mkdir -p %i/lib/emacsen-common/packages/remove
install -m 755 fink/emacsen-install %i/lib/emacsen-common/packages/install/%n
install -m 755 fink/emacsen-remove %i/lib/emacsen-common/packages/remove/%n
mkdir -p %i/etc/emacs/site-start.d
install -m 644 fink/50tuareg.el %i/etc/emacs/site-start.d
<<
PostInstScript: %p/lib/emacsen-common/emacs-package-install %n
PreRmScript: %p/lib/emacsen-common/emacs-package-remove %n