Add markdown-mode.el: an Emacs major mode for editing Markdown-formatted

text files.
This commit is contained in:
Jimmy Olgeni 2011-08-30 14:47:15 +00:00
parent 577be98a0c
commit a6061aed8c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=280766
6 changed files with 56 additions and 0 deletions

View file

@ -412,6 +412,7 @@
SUBDIR += man2html SUBDIR += man2html
SUBDIR += manued.el SUBDIR += manued.el
SUBDIR += markdown SUBDIR += markdown
SUBDIR += markdown-mode.el
SUBDIR += mathml-xsd SUBDIR += mathml-xsd
SUBDIR += mdocml SUBDIR += mdocml
SUBDIR += meld SUBDIR += meld

View file

@ -0,0 +1,35 @@
# New ports collection makefile for: markdown-mode.el
# Date created: 30 Ago 2011
# Whom: olgeni@FreeBSD.org
#
# $FreeBSD$
#
PORTNAME= markdown-mode.el
PORTVERSION= 1.8.1
CATEGORIES= textproc
MASTER_SITES= http://jblevins.org/projects/markdown-mode/
DISTNAME= markdown-mode.el
EXTRACT_SUFX= # empty
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
EXTRACT_ONLY= # empty
MAINTAINER= olgeni@FreeBSD.org
COMMENT= Emacs/XEmacs major mode for editing Markdown-formatted text
NO_BUILD= yes
NO_WRKSUBDIR= yes
EMACSLISPDIR= ${PREFIX}/share/emacs/site-lisp
XEMACSLISPDIR= ${PREFIX}/lib/xemacs/site-lisp
do-install:
@${MKDIR} ${EMACSLISPDIR}
@${MKDIR} ${XEMACSLISPDIR}
@${INSTALL_DATA} ${_DISTDIR}/${DISTNAME} ${EMACSLISPDIR}/markdown-mode.el
@${LN} -sf ${EMACSLISPDIR}/markdown-mode.el ${XEMACSLISPDIR}
post-install:
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>

View file

@ -0,0 +1,2 @@
SHA256 (markdown-mode.el-1.8.1/markdown-mode.el) = ea606dff279df0f804ac6cc849248ca85c41065bbac728b7976b9f4279289f33
SIZE (markdown-mode.el-1.8.1/markdown-mode.el) = 75777

View file

@ -0,0 +1,4 @@
markdown-mode is a major mode for editing Markdown-formatted
text files in GNU Emacs.
WWW: http://jblevins.org/projects/markdown-mode/

View file

@ -0,0 +1,12 @@
========================================================================
To use markdown-mode in Emacs/XEmacs, add the following lines to
your ~/.emacs replacing "text" with your preferred markdown extension.
(autoload 'markdown-mode "markdown-mode.el"
"Major mode for editing Markdown files" t)
(setq auto-mode-alist
(cons '("\\.text" . markdown-mode) auto-mode-alist))
========================================================================

View file

@ -0,0 +1,2 @@
%%LIB32DIR%%/xemacs/site-lisp/markdown-mode.el
share/emacs/site-lisp/markdown-mode.el