diff options
author | dd <dd@FreeBSD.org> | 2004-10-28 12:27:32 +0000 |
---|---|---|
committer | dd <dd@FreeBSD.org> | 2004-10-28 12:27:32 +0000 |
commit | 13544fd30655d351cca110dc222d1c3276c6bd53 (patch) | |
tree | 1506a1d6cb18a33958aa203b83a364867e423b59 | |
parent | b60aa6dc59ecb6636e68cbe40cb5bab7d06ff7ca (diff) | |
download | FreeBSD-ports-13544fd30655d351cca110dc222d1c3276c6bd53.zip FreeBSD-ports-13544fd30655d351cca110dc222d1c3276c6bd53.tar.gz |
Add tuareg-mode, an Emacs major mode for editing Caml code
-rw-r--r-- | lang/Makefile | 1 | ||||
-rw-r--r-- | lang/tuareg-mode.el/Makefile | 45 | ||||
-rw-r--r-- | lang/tuareg-mode.el/distinfo | 2 | ||||
-rw-r--r-- | lang/tuareg-mode.el/pkg-descr | 17 |
4 files changed, 65 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile index 50914a3..3313d60 100644 --- a/lang/Makefile +++ b/lang/Makefile @@ -274,6 +274,7 @@ SUBDIR += tensile SUBDIR += tinycobol SUBDIR += treecc + SUBDIR += tuareg-mode.el SUBDIR += visualworks SUBDIR += wamcc SUBDIR += xsb diff --git a/lang/tuareg-mode.el/Makefile b/lang/tuareg-mode.el/Makefile new file mode 100644 index 0000000..e3d88e2 --- /dev/null +++ b/lang/tuareg-mode.el/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: tuareg-mode +# Date created: 28 October 2004 +# Whom: dd +# +# $FreeBSD$ +# + +PORTNAME= tuareg-mode +PORTVERSION= 1.41.5 +CATEGORIES= lang elisp +MASTER_SITES= http://www-rocq.inria.fr/~acohen/tuareg/mode/ + +MAINTAINER= dd@FreeBSD.org +COMMENT= Emacs major mode for editing Caml code + +RUN_DEPENDS= emacs:${PORTSDIR}/editors/emacs20 + +DOC_FILES= README HISTORY append-tuareg.el custom-tuareg.el +DOC_DIR= share/doc/tuareg-mode +ELISP_FILES= camldebug.el tuareg.el +ELISP_DIR= share/emacs/site-lisp + +PLIST_FILES= ${ELISP_FILES:S/^/${ELISP_DIR}\//} \ + ${ELISP_FILES:S/^/${ELISP_DIR}\//S/$/c/} \ + ${DOC_FILES:S/^/${DOC_DIR}\//} +PLIST_DIRS= ${DOC_DIR} + +do-build: +.for __f in ${ELISP_FILES} + cd ${WRKSRC} && echo '(setq load-path (cons "." load-path)) \ + (batch-byte-compile)' | \ + emacs -batch -q -l /dev/stdin ${__f} 2> /dev/null +.endfor + +do-install: +.for __f in ${ELISP_FILES} + ${INSTALL_DATA} ${WRKSRC}/${__f} ${WRKSRC}/${__f}c \ + ${PREFIX}/${ELISP_DIR} +.endfor + ${MKDIR} ${PREFIX}/share/doc/tuareg-mode +.for __f in ${DOC_FILES} + ${INSTALL_DATA} ${WRKSRC}/${__f} ${PREFIX}/share/doc/tuareg-mode +.endfor + +.include <bsd.port.mk> diff --git a/lang/tuareg-mode.el/distinfo b/lang/tuareg-mode.el/distinfo new file mode 100644 index 0000000..a7b09b6 --- /dev/null +++ b/lang/tuareg-mode.el/distinfo @@ -0,0 +1,2 @@ +MD5 (tuareg-mode-1.41.5.tar.gz) = b43d32bcdb5521709b53f86d3e1c3ae7 +SIZE (tuareg-mode-1.41.5.tar.gz) = 51105 diff --git a/lang/tuareg-mode.el/pkg-descr b/lang/tuareg-mode.el/pkg-descr new file mode 100644 index 0000000..330de29 --- /dev/null +++ b/lang/tuareg-mode.el/pkg-descr @@ -0,0 +1,17 @@ +From the web site: + + Tuareg is a Caml mode for GNU Emacs and XEmacs. It handles automatic + indentation of Objective Caml and Camllight codes. Key parts of the + code are hilighted using Font-Lock. Support to run an interactive + Caml toplevel and debbuger is provided. + + This mode attempts to give better results than the one provided in + the standard distribution OCaml 3.x. Indentation rules are slightly + different but closer to classical functional languages. + + There is no relation with the Tuareg People, except their reputation + of great CAMeL riders and breeders. + +Documentation is installed into share/doc/tuareg-mode + +WWW: http://www-rocq.inria.fr/~acohen/tuareg/ |