mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
Add tuareg-mode, an Emacs major mode for editing Caml code
This commit is contained in:
parent
7264ee8b24
commit
9cc8e73a28
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=120384
@ -274,6 +274,7 @@
|
||||
SUBDIR += tensile
|
||||
SUBDIR += tinycobol
|
||||
SUBDIR += treecc
|
||||
SUBDIR += tuareg-mode.el
|
||||
SUBDIR += visualworks
|
||||
SUBDIR += wamcc
|
||||
SUBDIR += xsb
|
||||
|
45
lang/tuareg-mode.el/Makefile
Normal file
45
lang/tuareg-mode.el/Makefile
Normal file
@ -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>
|
2
lang/tuareg-mode.el/distinfo
Normal file
2
lang/tuareg-mode.el/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
MD5 (tuareg-mode-1.41.5.tar.gz) = b43d32bcdb5521709b53f86d3e1c3ae7
|
||||
SIZE (tuareg-mode-1.41.5.tar.gz) = 51105
|
17
lang/tuareg-mode.el/pkg-descr
Normal file
17
lang/tuareg-mode.el/pkg-descr
Normal file
@ -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/
|
Loading…
Reference in New Issue
Block a user