1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

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>
This commit is contained in:
Joseph Koshy 1999-12-27 09:32:50 +00:00
parent e07360bf29
commit db0d50c80e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=24157
5 changed files with 72 additions and 0 deletions

43
lang/sml-mode.el/Makefile Normal file
View File

@ -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>

View File

@ -0,0 +1 @@
MD5 (sml-mode-3.3.tar.Z) = dce1a2a267dab7606105b2766fd7b53a

View File

@ -0,0 +1 @@
an EMACS mode for editing Standard ML programs

View File

@ -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

View File

@ -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