svn commit: r334400 - in head/sysutils: . puppet-mode.el
Dmitry Sivachenko
demon at FreeBSD.org
Wed Nov 20 08:38:38 UTC 2013
Author: demon
Date: Wed Nov 20 08:38:37 2013
New Revision: 334400
URL: http://svnweb.freebsd.org/changeset/ports/334400
Log:
New port: puppet-mode.el: a major Emacs mode for editing puppet manifests.
Added:
head/sysutils/puppet-mode.el/
head/sysutils/puppet-mode.el/Makefile (contents, props changed)
head/sysutils/puppet-mode.el/distinfo (contents, props changed)
head/sysutils/puppet-mode.el/pkg-descr (contents, props changed)
head/sysutils/puppet-mode.el/pkg-message (contents, props changed)
Modified:
head/sysutils/Makefile
Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile Wed Nov 20 08:34:26 2013 (r334399)
+++ head/sysutils/Makefile Wed Nov 20 08:38:37 2013 (r334400)
@@ -717,6 +717,7 @@
SUBDIR += pstree
SUBDIR += ptools
SUBDIR += puppet
+ SUBDIR += puppet-mode.el
SUBDIR += puppet27
SUBDIR += puppet-lint
SUBDIR += pv
Added: head/sysutils/puppet-mode.el/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/puppet-mode.el/Makefile Wed Nov 20 08:38:37 2013 (r334400)
@@ -0,0 +1,28 @@
+# Created by: Dmitry Sivachenko <demon at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= puppet-mode.el
+PORTVERSION= 0.2
+CATEGORIES= sysutils elisp
+
+MAINTAINER= demon at FreeBSD.org
+COMMENT= Simple mode for editing puppet manifests
+
+USE_GITHUB= yes
+GH_PROJECT= puppet-syntax-emacs
+GH_ACCOUNT= puppetlabs
+GH_COMMIT= be5d708
+GH_TAGNAME= ${GH_COMMIT}
+
+NO_BUILD= yes
+USE_EMACS= yes
+
+PLIST_FILES= %%EMACS_SITE_LISPDIR%%/puppet-mode.el
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/puppet-mode.el ${STAGEDIR}${PREFIX}/${EMACS_SITE_LISPDIR}
+
+post-install:
+ @${CAT} ${PKGMESSAGE}
+
+.include <bsd.port.mk>
Added: head/sysutils/puppet-mode.el/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/puppet-mode.el/distinfo Wed Nov 20 08:38:37 2013 (r334400)
@@ -0,0 +1,2 @@
+SHA256 (puppet-mode.el-0.2.tar.gz) = 11e75ea76c7cbe774217044fa5071c46f7ddb133372725b9800c4f914b5ad86d
+SIZE (puppet-mode.el-0.2.tar.gz) = 8440
Added: head/sysutils/puppet-mode.el/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/puppet-mode.el/pkg-descr Wed Nov 20 08:38:37 2013 (r334400)
@@ -0,0 +1,8 @@
+ParEdit (paredit.el) is a minor Emacs mode for performing structured
+editing of S-expression data. The typical example of this would be
+Lisp, Scheme or Clojure source code.
+
+ParEdit helps keep parentheses balanced and adds many keys for
+moving S-expressions and moving around in S-expressions.
+
+WWW: http://www.emacswiki.org/emacs/ParEdit
Added: head/sysutils/puppet-mode.el/pkg-message
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/puppet-mode.el/pkg-message Wed Nov 20 08:38:37 2013 (r334400)
@@ -0,0 +1,12 @@
+===================================================
+
+You should add the following line to your ~/.emacs:
+
+;;
+;; Setup puppet-mode for autoloading
+;;
+(autoload 'puppet-mode "puppet-mode" "Major mode for editing puppet manifests")
+
+(add-to-list 'auto-mode-alist '("\\.pp$" . puppet-mode))
+
+===================================================
More information about the svn-ports-head
mailing list