# -*- 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

PortSystem 1.0
PortGroup        github 1.0

github.setup     yoshiki yaml-mode 0.0.8 release-
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball
name             yaml-mode.el
categories       editors
maintainers      gmail.com:michael.dagitses
platforms        any
supported_archs  noarch
license          GPL-2+

description      An emacs major mode for editing yaml files.
long_description This is a major mode for editing files in the YAML \
                 data serialization format. It was initially developed \
                 by Yoshiki Kurihara and many features were added by \
                 Marshall Vandegrift. As YAML and Python share the fact \
                 that indentation determines structure, this mode \
                 provides indentation and indentation command behavior \
                 very similar to that of python-mode. 

checksums        rmd160  c1e819729e41426eb0c0716b0175b84c0de4358f \
                 sha256  05494824f259b800004c840ac5b3f4b281e7eb3a9ca6a2634d95876b5cec020e

depends_lib      port:emacs

use_configure    no

post-build       { file mkdir ${destroot}${prefix}/share/emacs/site-lisp }

destroot.args    PREFIX=${destroot}${prefix}

notes "
To use this mode, put the following in your ~/.emacs:

(require 'yaml-mode)

To automatically handle files ending in '.yaml, add something like:

(add-to-list 'auto-mode-alist '(\"\\\\.yaml$\" . yaml-mode))
"
