1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Drag from attic

- Update to 1.45.6
- Bump portepoch
- Pass maintainership to submitter

  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.

PR:             ports/120494
Submitted by:   Michael Grunewald <michael.grunewald@laposte.net> (maintainer)
This commit is contained in:
Beech Rintoul 2008-02-20 23:22:14 +00:00
parent b876553249
commit 44293853a0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=207676
5 changed files with 87 additions and 0 deletions

View File

@ -328,6 +328,7 @@
SUBDIR += tolua++
SUBDIR += tolua4
SUBDIR += treecc
SUBDIR += tuareg-mode.el
SUBDIR += twelf
SUBDIR += vala
SUBDIR += visualworks

View File

@ -0,0 +1,55 @@
# New ports collection makefile for: tuareg-mode
# Date created: 28 October 2004
# Whom: dd
#
# $FreeBSD$
#
PORTNAME= tuareg-mode
PORTVERSION= 1.45.6
PORTEPOCH= 1
CATEGORIES= lang elisp
MASTER_SITES= http://www-rocq.inria.fr/~acohen/tuareg/mode/
MAINTAINER= michael.grunewald@laposte.net
COMMENT= Emacs major mode for editing Caml code
USE_EMACS= yes
USE_BZIP2= yes
DOC_FILES= README HISTORY append-tuareg.el custom-tuareg.el
DOC_DIR= share/doc/tuareg-mode
ELISP_FILES= camldebug.el tuareg.el
PLIST_FILES= ${ELISP_FILES:S/^/${EMACS_SITE_LISPDIR}\//} \
${ELISP_FILES:S/^/${EMACS_SITE_LISPDIR}\//S/$/c/} \
${DOC_FILES:S/^/${DOC_DIR}\//}
PLIST_DIRS= ${DOC_DIR}
# Note: append-tuareg.el and custom-tuareg.el are example files,
# they are thus considered part of the documentation.
#
# Operations
#
# We do provide our own build and install procedures, instead of using
# mainstream author's one.
do-build:
.for tuareg_mode_f in ${ELISP_FILES}
cd ${WRKSRC} &&\
${EMACS_CMD} -batch -q -l ${SCRIPTDIR}/batch-compile.el ${tuareg_mode_f}
.endfor
do-install:
.for tuareg_mode_f in ${ELISP_FILES}
${INSTALL_DATA} ${WRKSRC}/${tuareg_mode_f} ${WRKSRC}/${tuareg_mode_f}c \
${PREFIX}/${EMACS_SITE_LISPDIR}
.endfor
${MKDIR} ${PREFIX}/${DOC_DIR}
.for tuareg_mode_f in ${DOC_FILES}
${INSTALL_DATA} ${WRKSRC}/${tuareg_mode_f} ${PREFIX}/${DOC_DIR}
.endfor
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (tuareg-mode-1.45.6.tar.bz2) = 75df362cba2d32e9828eebe80716009f
SHA256 (tuareg-mode-1.45.6.tar.bz2) = 2f22834259a6b0c065a6528a519eda3d0164a9bf2de8a5f7c041d6a91777261b
SIZE (tuareg-mode-1.45.6.tar.bz2) = 46822

View 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/

View File

@ -0,0 +1,11 @@
(setq load-path (cons "." load-path))
(batch-byte-compile)
END-of-tuareg-mode.el/scripts/batch-compile.el
echo x - tuareg-mode.el/distinfo
sed 's/^X//' >tuareg-mode.el/distinfo << 'END-of-tuareg-mode.el/distinfo'
MD5 (tuareg-mode-1.45.6.tar.bz2) =3D 75df362cba2d32e9828eebe80716009f
SHA256 (tuareg-mode-1.45.6.tar.bz2) =3D 2f22834259a6b0c065a6528a519eda3d01=
64a9bf2de8a5f7c041d6a91777261b
SIZE (tuareg-mode-1.45.6.tar.bz2) =3D 46822
END-of-tuareg-mode.el/distinfo
exit