aboutsummaryrefslogtreecommitdiffstats
path: root/lang/sml-mode.el
diff options
context:
space:
mode:
authorjkoshy <jkoshy@FreeBSD.org>1999-12-27 17:32:50 +0800
committerjkoshy <jkoshy@FreeBSD.org>1999-12-27 17:32:50 +0800
commit9e158df7e4c0da1189fecf877eaf25a75f4fda1b (patch)
tree4f2d33d6af6d750e46e0e5e070a127e4691d98c8 /lang/sml-mode.el
parent82276f63d1d6eab0fb58a568c0def95abba30a89 (diff)
downloadfreebsd-ports-gnome-9e158df7e4c0da1189fecf877eaf25a75f4fda1b.tar.gz
freebsd-ports-gnome-9e158df7e4c0da1189fecf877eaf25a75f4fda1b.tar.zst
freebsd-ports-gnome-9e158df7e4c0da1189fecf877eaf25a75f4fda1b.zip
Re-import sml-mode.el under "ports/lang".
Old log message: "SML-mode v3.3 from Matthew J. Morley. A useful EMACS mode for interacting with a Standard ML system." Requested by: Satoshi Asami <asami@freebsd.org>
Diffstat (limited to 'lang/sml-mode.el')
-rw-r--r--lang/sml-mode.el/Makefile43
-rw-r--r--lang/sml-mode.el/distinfo1
-rw-r--r--lang/sml-mode.el/pkg-comment1
-rw-r--r--lang/sml-mode.el/pkg-descr11
-rw-r--r--lang/sml-mode.el/pkg-plist16
5 files changed, 72 insertions, 0 deletions
diff --git a/lang/sml-mode.el/Makefile b/lang/sml-mode.el/Makefile
new file mode 100644
index 000000000000..e825dc53dfc7
--- /dev/null
+++ b/lang/sml-mode.el/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: sml-mode.el
+# Version required: 3.3
+# Date created: 23 December 1999
+# Whom: J Koshy <jkoshy@freebsd.org>
+#
+# $FreeBSD$
+#
+
+DISTNAME= sml-mode-3.3
+CATEGORIES= devel elisp
+MASTER_SITES= ftp://ftp.research.bell-labs.com/dist/smlnj/contrib/emacs/ \
+ http://www.freebsd.org/~jkoshy/PORTS/
+EXTRACT_SUFX= .tar.Z
+
+MAINTAINER= jkoshy@FreeBSD.org
+
+NO_BUILD= yes
+
+#
+# Install configuration
+#
+
+ELISP_SUBDIR= share/emacs/site-lisp/
+SMLMODE_ELISPDIR= ${ELISP_SUBDIR}/sml-mode
+SMLMODE_DOCDIR= share/doc/sml-mode
+SMLMODE_DIR_ENTRY=* SML-mode: (sml-mode). A mode for editing Standard ML programs.
+
+do-install:
+ -${MKDIR} ${PREFIX}/${SMLMODE_ELISPDIR}
+ ${INSTALL_DATA} ${WRKSRC}/*.el ${PREFIX}/${SMLMODE_ELISPDIR}/
+ (cd ${PREFIX}/${ELISP_SUBDIR} && \
+ ${LN} -sf sml-mode/sml-site.el .)
+.if !defined(NOPORTDOCS)
+ -${MKDIR} ${PREFIX}/${SMLMODE_DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/sml-mode.html ${PREFIX}/${SMLMODE_DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/sml-mode.ps ${PREFIX}/${SMLMODE_DOCDIR}
+ ${INSTALL_DATA} ${WRKSRC}/sml-mode.info ${PREFIX}/info/
+ install-info --section="The Emacs editor and associated tools" \
+ --entry="${SMLMODE_DIR_ENTRY}" ${PREFIX}/info/sml-mode.info \
+ ${PREFIX}/info/dir
+.endif
+
+.include <bsd.port.mk>
diff --git a/lang/sml-mode.el/distinfo b/lang/sml-mode.el/distinfo
new file mode 100644
index 000000000000..0f7a6b9013a9
--- /dev/null
+++ b/lang/sml-mode.el/distinfo
@@ -0,0 +1 @@
+MD5 (sml-mode-3.3.tar.Z) = dce1a2a267dab7606105b2766fd7b53a
diff --git a/lang/sml-mode.el/pkg-comment b/lang/sml-mode.el/pkg-comment
new file mode 100644
index 000000000000..bf7bbb84d56c
--- /dev/null
+++ b/lang/sml-mode.el/pkg-comment
@@ -0,0 +1 @@
+an EMACS mode for editing Standard ML programs
diff --git a/lang/sml-mode.el/pkg-descr b/lang/sml-mode.el/pkg-descr
new file mode 100644
index 000000000000..0e18866e5737
--- /dev/null
+++ b/lang/sml-mode.el/pkg-descr
@@ -0,0 +1,11 @@
+An EMACS major mode for editing SML programs. Supports interaction
+with SML/NJ and other ML compilers.
+
+To use this, put the following into your ~/.emacs:
+
+ (require 'sml-site)
+
+- Koshy
+ jkoshy@freebsd.org
+
+WWW: http://cm.bell-labs.com/cm/cs/what/smlnj/doc/Emacs/sml-mode.html
diff --git a/lang/sml-mode.el/pkg-plist b/lang/sml-mode.el/pkg-plist
new file mode 100644
index 000000000000..ceb0744418fe
--- /dev/null
+++ b/lang/sml-mode.el/pkg-plist
@@ -0,0 +1,16 @@
+@unexec install-info --delete %D/info/sml-mode.info %D/info/dir
+info/sml-mode.info
+share/doc/sml-mode/sml-mode.html
+share/doc/sml-mode/sml-mode.ps
+share/emacs/site-lisp/sml-mode/sml-font.el
+share/emacs/site-lisp/sml-mode/sml-hilite.el
+share/emacs/site-lisp/sml-mode/sml-menus.el
+share/emacs/site-lisp/sml-mode/sml-mode.el
+share/emacs/site-lisp/sml-mode/sml-mosml.el
+share/emacs/site-lisp/sml-mode/sml-poly-ml.el
+share/emacs/site-lisp/sml-mode/sml-proc.el
+share/emacs/site-lisp/sml-mode/sml-site.el
+share/emacs/site-lisp/sml-site.el
+@exec install-info --section="The Emacs editor and associated tools" --entry="* SML-mode: (sml-mode). A mode for editing Standard ML programs." %D/info/sml-mode.info %D/info/dir
+@dirrm share/emacs/site-lisp/sml-mode
+@dirrm share/doc/sml-mode