Add markdown-mode.el: an Emacs major mode for editing Markdown-formatted
text files.
This commit is contained in:
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
|
@ -412,6 +412,7 @@
|
|||
SUBDIR += man2html
|
||||
SUBDIR += manued.el
|
||||
SUBDIR += markdown
|
||||
SUBDIR += markdown-mode.el
|
||||
SUBDIR += mathml-xsd
|
||||
SUBDIR += mdocml
|
||||
SUBDIR += meld
|
||||
|
|
35
textproc/markdown-mode.el/Makefile
Normal file
35
textproc/markdown-mode.el/Makefile
Normal 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>
|
2
textproc/markdown-mode.el/distinfo
Normal file
2
textproc/markdown-mode.el/distinfo
Normal 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
|
4
textproc/markdown-mode.el/pkg-descr
Normal file
4
textproc/markdown-mode.el/pkg-descr
Normal 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/
|
12
textproc/markdown-mode.el/pkg-message
Normal file
12
textproc/markdown-mode.el/pkg-message
Normal 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))
|
||||
|
||||
========================================================================
|
2
textproc/markdown-mode.el/pkg-plist
Normal file
2
textproc/markdown-mode.el/pkg-plist
Normal file
|
@ -0,0 +1,2 @@
|
|||
%%LIB32DIR%%/xemacs/site-lisp/markdown-mode.el
|
||||
share/emacs/site-lisp/markdown-mode.el
|
Loading…
Reference in a new issue