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 | |
---|
3 | # $Id$ |
---|
4 | |
---|
5 | PortSystem 1.0 |
---|
6 | |
---|
7 | name yaml-mode.el |
---|
8 | version 0.0.3 |
---|
9 | categories editors |
---|
10 | maintainers gmail.com:michael.dagitses |
---|
11 | platforms darwin |
---|
12 | |
---|
13 | description An emacs major mode for editing yaml files. |
---|
14 | long_description This is a major mode for editing files in the YAML \ |
---|
15 | data serialization format. It was initially developed \ |
---|
16 | by Yoshiki Kurihara and many features were added by \ |
---|
17 | Marshall Vandegrift. As YAML and Python share the fact \ |
---|
18 | that indentation determines structure, this mode \ |
---|
19 | provides indentation and indentation command behavior \ |
---|
20 | very similar to that of python-mode. |
---|
21 | |
---|
22 | distname yaml-mode-${version} |
---|
23 | homepage http://yaml-mode.clouder.jp |
---|
24 | master_sites ${homepage}/attachment/wiki/WikiStart/ |
---|
25 | extract.suffix .tar.gz?format=raw |
---|
26 | |
---|
27 | checksums md5 fe3bddf9c12c2ab69f62ccd4109dc59a \ |
---|
28 | sha1 e1b6b427dd1fb80dfd45c7315b26a7f231d4b7c7 \ |
---|
29 | rmd160 ca88e63209e91a74828b9f96283890087a0c8582 |
---|
30 | |
---|
31 | depends_lib port:emacs |
---|
32 | |
---|
33 | use_configure no |
---|
34 | |
---|
35 | post-build { file mkdir ${destroot}/opt/local/share/emacs/site-lisp } |
---|
36 | |
---|
37 | destroot.args PREFIX=${destroot}/opt/local |
---|
38 | |
---|
39 | post-activate { |
---|
40 | ui_msg "To use this mode, put the following in your ~/.emacs:" |
---|
41 | ui_msg "(require 'yaml-mode)" |
---|
42 | ui_msg "" |
---|
43 | ui_msg "To automatically handle files ending in '.yaml, add something" |
---|
44 | ui_msg "like:" |
---|
45 | ui_msg "" |
---|
46 | ui_msg "(add-to-list 'auto-mode-alist '(\"\\\\.yaml$\" . yaml-mode))" |
---|
47 | } |
---|