summaryrefslogtreecommitdiffstats
path: root/lang/ocaml-mode.el
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>2001-10-23 09:06:17 +0000
committerjkoshy <jkoshy@FreeBSD.org>2001-10-23 09:06:17 +0000
commit37b3d24918625127e7cb2752f4c80d1dcb3e5100 (patch)
tree7e90804703b3a2f3b8454c751d6546fb58398b33 /lang/ocaml-mode.el
parentc09852e7f642fd0247ac44489daa5b0153682d50 (diff)
downloadFreeBSD-ports-37b3d24918625127e7cb2752f4c80d1dcb3e5100.zip
FreeBSD-ports-37b3d24918625127e7cb2752f4c80d1dcb3e5100.tar.gz
An Emacs mode for editing Objective CAML programs.
Diffstat (limited to 'lang/ocaml-mode.el')
-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
6 files changed, 69 insertions, 0 deletions
diff --git a/lang/ocaml-mode.el/Makefile b/lang/ocaml-mode.el/Makefile
new file mode 100644
index 0000000..ea740fbb
--- /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 0000000..773b465
--- /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 0000000..1451606
--- /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 0000000..d30ccfd
--- /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 0000000..ca6244a
--- /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 0000000..529a7cd
--- /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
OpenPOWER on IntegriCloud