aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>2001-10-23 17:06:17 +0800
committerjkoshy <jkoshy@FreeBSD.org>2001-10-23 17:06:17 +0800
commit37b3d24918625127e7cb2752f4c80d1dcb3e5100 (patch)
tree7e90804703b3a2f3b8454c751d6546fb58398b33 /lang
parentc09852e7f642fd0247ac44489daa5b0153682d50 (diff)
downloadfreebsd-ports-graphics-37b3d24918625127e7cb2752f4c80d1dcb3e5100.tar.gz
freebsd-ports-graphics-37b3d24918625127e7cb2752f4c80d1dcb3e5100.tar.zst
freebsd-ports-graphics-37b3d24918625127e7cb2752f4c80d1dcb3e5100.zip
An Emacs mode for editing Objective CAML programs.
Diffstat (limited to 'lang')
-rw-r--r--lang/Makefile1
-rw-r--r--lang/ocaml-mode.el/Makefile32
-rw-r--r--lang/ocaml-mode.el/distinfo1
-rw-r--r--lang/ocaml-mode.el/files/patch-aa11
-rw-r--r--lang/ocaml-mode.el/pkg-comment1
-rw-r--r--lang/ocaml-mode.el/pkg-descr13
-rw-r--r--lang/ocaml-mode.el/pkg-plist11
7 files changed, 70 insertions, 0 deletions
diff --git a/lang/Makefile b/lang/Makefile
index b9d289318d8..f983e9fe111 100644
--- a/lang/Makefile
+++ b/lang/Makefile
@@ -91,6 +91,7 @@
SUBDIR += o2c
SUBDIR += objc
SUBDIR += ocaml
+ SUBDIR += ocaml-mode.el
SUBDIR += onyx
SUBDIR += oo2c
SUBDIR += otcl
diff --git a/lang/ocaml-mode.el/Makefile b/lang/ocaml-mode.el/Makefile
new file mode 100644
index 00000000000..ea740fbb627
--- /dev/null
+++ b/lang/ocaml-mode.el/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: caml-mode.el
+# Date created: 23 October 2001
+# Whom: J Koshy <jkoshy@freebsd.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= caml-mode
+PORTVERSION= 3.01
+CATEGORIES= lang elisp
+MASTER_SITES= http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/ \
+ ${MASTER_SITE_LOCAL}
+MASTER_SITE_SUBDIR= jkoshy
+DISTNAME= ocaml-mode-3.01
+
+MAINTAINER= jkoshy@FreeBSD.org
+
+NO_BUILD= yes
+
+#
+# Install configuration
+#
+
+ELISP_SUBDIR= ${PREFIX}/share/emacs/site-lisp/
+CAMLMODE_ELISPDIR= ${ELISP_SUBDIR}/caml-mode
+CAMLMODE_DOCDIR= share/doc/caml-mode
+CAMLMODE_DIR_ENTRY=* Caml-mode: (caml-mode). A mode for editing CAML programs.
+
+INSTALL_TARGET= install install-ocamltags
+MAKE_ENV+= EMACSDIR=${CAMLMODE_ELISPDIR}
+
+.include <bsd.port.mk>
diff --git a/lang/ocaml-mode.el/distinfo b/lang/ocaml-mode.el/distinfo
new file mode 100644
index 00000000000..773b4650d17
--- /dev/null
+++ b/lang/ocaml-mode.el/distinfo
@@ -0,0 +1 @@
+MD5 (ocaml-mode-3.01.tar.gz) = ef5a3509ebf4b2538122ee1ef2e86a5e
diff --git a/lang/ocaml-mode.el/files/patch-aa b/lang/ocaml-mode.el/files/patch-aa
new file mode 100644
index 00000000000..1451606d079
--- /dev/null
+++ b/lang/ocaml-mode.el/files/patch-aa
@@ -0,0 +1,11 @@
+--- Makefile-- Tue Mar 27 09:10:46 2001
++++ Makefile Tue Oct 23 11:57:10 2001
+@@ -11,7 +11,7 @@
+ EMACS=emacs
+
+ # Where to install ocamltags script
+-SCRIPTDIR = /usr/local/bin
++SCRIPTDIR = ${PREFIX}/bin
+
+ # Command for byte-compiling the files
+ COMPILECMD=(progn \
diff --git a/lang/ocaml-mode.el/pkg-comment b/lang/ocaml-mode.el/pkg-comment
new file mode 100644
index 00000000000..d30ccfdaada
--- /dev/null
+++ b/lang/ocaml-mode.el/pkg-comment
@@ -0,0 +1 @@
+An EMACS mode for editing OCaml programs
diff --git a/lang/ocaml-mode.el/pkg-descr b/lang/ocaml-mode.el/pkg-descr
new file mode 100644
index 00000000000..ca6244a99bc
--- /dev/null
+++ b/lang/ocaml-mode.el/pkg-descr
@@ -0,0 +1,13 @@
+An EMACS major mode for editing O'Caml programs.
+
+To use this, put the following into your ~/.emacs:
+
+ (setq auto-mode-alist
+ (cons '("\\.ml[iylp]?$" . caml-mode) auto-mode-alist))
+ (autoload 'caml-mode "caml" "Major mode for editing Caml code." t)
+ (autoload 'run-caml "inf-caml" "Run an inferior Caml process." t)
+
+- Koshy
+ jkoshy@freebsd.org
+
+WWW: http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/ocaml.html
diff --git a/lang/ocaml-mode.el/pkg-plist b/lang/ocaml-mode.el/pkg-plist
new file mode 100644
index 00000000000..529a7cdfd8b
--- /dev/null
+++ b/lang/ocaml-mode.el/pkg-plist
@@ -0,0 +1,11 @@
+share/emacs/site-lisp/caml-mode/caml-compat.el
+share/emacs/site-lisp/caml-mode/inf-caml.el
+share/emacs/site-lisp/caml-mode/camldebug.el
+share/emacs/site-lisp/caml-mode/caml.el
+share/emacs/site-lisp/caml-mode/caml-hilit.el
+share/emacs/site-lisp/caml-mode/caml-font.el
+share/emacs/site-lisp/caml-mode/caml.elc
+share/emacs/site-lisp/caml-mode/inf-caml.elc
+share/emacs/site-lisp/caml-mode/camldebug.elc
+bin/ocamltags
+@dirrm share/emacs/site-lisp/caml-mode