Permalink
Browse files

New port: puppet-mode.el: a major Emacs mode for editing puppet manif…

…ests.
  • Loading branch information...
1 parent 2b13039 commit fd6ff96d7281576c2a906063e2558906e67b8322 demon committed Nov 20, 2013
View
1 sysutils/Makefile
@@ -717,6 +717,7 @@
SUBDIR += pstree
SUBDIR += ptools
SUBDIR += puppet
+ SUBDIR += puppet-mode.el
SUBDIR += puppet27
SUBDIR += puppet-lint
SUBDIR += pv
View
28 sysutils/puppet-mode.el/Makefile
@@ -0,0 +1,28 @@
+# Created by: Dmitry Sivachenko <demon@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= puppet-mode.el
+PORTVERSION= 0.2
+CATEGORIES= sysutils elisp
+
+MAINTAINER= demon@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>
View
2 sysutils/puppet-mode.el/distinfo
@@ -0,0 +1,2 @@
+SHA256 (puppet-mode.el-0.2.tar.gz) = 11e75ea76c7cbe774217044fa5071c46f7ddb133372725b9800c4f914b5ad86d
+SIZE (puppet-mode.el-0.2.tar.gz) = 8440
View
8 sysutils/puppet-mode.el/pkg-descr
@@ -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
View
12 sysutils/puppet-mode.el/pkg-message
@@ -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))
+
+===================================================

0 comments on commit fd6ff96

Please sign in to comment.