aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorJoseph Koshy <jkoshy@FreeBSD.org>2001-10-23 09:06:17 +0000
committerJoseph Koshy <jkoshy@FreeBSD.org>2001-10-23 09:06:17 +0000
commitffa24a964d2a5b629e840603220f70221c663069 (patch)
tree1b41af0eb06185049aa00bcb5825c9afe922c0ff /lang
parent1ca3d6c792902e889f8b43e19ccb8c06b5cdefb0 (diff)
downloadports-ffa24a964d2a5b629e840603220f70221c663069.tar.gz
ports-ffa24a964d2a5b629e840603220f70221c663069.zip
Notes
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 b9d289318d87..f983e9fe1118 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 000000000000..ea740fbb627b
--- /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 000000000000..773b4650d175
--- /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 000000000000..1451606d079d
--- /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 000000000000..d30ccfdaada2
--- /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 000000000000..ca6244a99bc9
--- /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 000000000000..529a7cdfd8b5
--- /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