Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 2013 08:38:37 +0000 (UTC)
From:      Dmitry Sivachenko <demon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334400 - in head/sysutils: . puppet-mode.el
Message-ID:  <201311200838.rAK8cbx8009530@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>

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))
+
+===================================================



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311200838.rAK8cbx8009530>