[48534] trunk/dports/editors

jmr at macports.org jmr at macports.org
Tue Mar 24 10:46:21 PDT 2009


Revision: 48534
          http://trac.macports.org/changeset/48534
Author:   jmr at macports.org
Date:     2009-03-24 10:46:21 -0700 (Tue, 24 Mar 2009)
Log Message:
-----------
New port: yaml-mode.el (#16281)

Added Paths:
-----------
    trunk/dports/editors/yaml-mode.el/
    trunk/dports/editors/yaml-mode.el/Portfile

Added: trunk/dports/editors/yaml-mode.el/Portfile
===================================================================
--- trunk/dports/editors/yaml-mode.el/Portfile	                        (rev 0)
+++ trunk/dports/editors/yaml-mode.el/Portfile	2009-03-24 17:46:21 UTC (rev 48534)
@@ -0,0 +1,48 @@
+# -*- 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
+# $Id$
+
+PortSystem 1.0
+
+name             yaml-mode.el
+version          0.0.3
+categories       editors
+maintainers      gmail.com:michael.dagitses
+platforms        darwin
+
+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. 
+
+distname         yaml-mode-${version}
+# homepage seems to be down currently (March 2009)
+homepage         http://yaml-mode.clouder.jp
+master_sites     freebsd \
+                 ${homepage}/attachment/wiki/WikiStart/
+extract.suffix   .tar.gz?format=raw
+
+checksums        md5 fe3bddf9c12c2ab69f62ccd4109dc59a \
+                 sha1 e1b6b427dd1fb80dfd45c7315b26a7f231d4b7c7 \
+                 rmd160 ca88e63209e91a74828b9f96283890087a0c8582
+
+depends_lib      port:emacs
+
+use_configure    no
+
+post-build       { file mkdir ${destroot}${prefix}/share/emacs/site-lisp }
+
+destroot.args    PREFIX=${destroot}${prefix}
+
+post-activate {
+    ui_msg "To use this mode, put the following in your ~/.emacs:"
+    ui_msg "(require 'yaml-mode)"
+    ui_msg ""
+    ui_msg "To automatically handle files ending in '.yaml, add something"
+    ui_msg "like:"
+    ui_msg ""
+    ui_msg "(add-to-list 'auto-mode-alist '(\"\\\\.yaml$\" . yaml-mode))"
+}


Property changes on: trunk/dports/editors/yaml-mode.el/Portfile
___________________________________________________________________
Added: svn:keywords
   + Id
Added: svn:eol-style
   + native
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090324/fffd6e0e/attachment.html>


More information about the macports-changes mailing list