source: trunk/dports/editors/markdown-mode.el/Portfile

Last change on this file was 127639, checked in by larryv@…, 2 years ago

markdown-mode.el: Rewrite notes to avoid quoting hell

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 127639 2014-10-31 02:21:35Z ryandesign@macports.org $
3PortSystem 1.0
4
5name                   markdown-mode.el
6version                201410300
7categories             editors
8license                none
9maintainers            easieste openmaintainer
10description            An Emacs mode for editing Markdown files
11long_description       ${description}
12homepage               http://jblevins.org/projects/markdown-mode/
13platforms              darwin
14
15fetch.type             git
16git.url                git://jblevins.org/git/markdown-mode.git
17git.branch             0d12efd2939b0735c8b730041f168132d6df96ab
18
19depends_lib port:emacs
20
21use_configure no
22build {}
23destroot {
24    file mkdir ${destroot}${prefix}/share/emacs/site-lisp
25    file copy  ${workpath}/${worksrcdir}/markdown-mode.el  \
26        ${destroot}${prefix}/share/emacs/site-lisp
27}
28
29notes {
30To use add the following to your ~/.emacs:
31
32(autoload 'markdown-mode "markdown-mode"
33  "Major mode for editing Markdown files" t)
34(add-to-list 'auto-mode-alist '("\\.markdown\\'" . markdown-mode))
35(add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode))
36}
Note: See TracBrowser for help on using the repository browser.