Ticket #16281: Portfile

File Portfile, 1.7 KB (added by michael.dagitses@…, 16 years ago)

Portfile for yaml-mode.el

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
3# $Id$
4
5PortSystem 1.0
6
7name             yaml-mode.el
8version          0.0.3
9categories       editors
10maintainers      gmail.com:michael.dagitses
11platforms        darwin
12
13description      An emacs major mode for editing yaml files.
14long_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
22distname         yaml-mode-${version}
23homepage         http://yaml-mode.clouder.jp
24master_sites     ${homepage}/attachment/wiki/WikiStart/
25extract.suffix   .tar.gz?format=raw
26
27checksums        md5 fe3bddf9c12c2ab69f62ccd4109dc59a \
28                 sha1 e1b6b427dd1fb80dfd45c7315b26a7f231d4b7c7 \
29                 rmd160 ca88e63209e91a74828b9f96283890087a0c8582
30
31depends_lib      port:emacs
32
33use_configure    no
34
35post-build       { file mkdir ${destroot}/opt/local/share/emacs/site-lisp }
36
37destroot.args    PREFIX=${destroot}/opt/local
38
39post-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}