From 097f7cd8b3d65aff7e39522e6bac2040e8604a46 Mon Sep 17 00:00:00 2001 From: Ismael Luceno Date: Tue, 30 Nov 2010 10:16:53 -0200 Subject: yasnippet: new spell, yet another snippet extension for Emacs --- ChangeLog | 3 +++ editors/yasnippet/BUILD | 1 + editors/yasnippet/DEPENDS | 1 + editors/yasnippet/DETAILS | 17 +++++++++++++++++ editors/yasnippet/HISTORY | 3 +++ editors/yasnippet/INSTALL | 4 ++++ 6 files changed, 29 insertions(+) create mode 100755 editors/yasnippet/BUILD create mode 100755 editors/yasnippet/DEPENDS create mode 100755 editors/yasnippet/DETAILS create mode 100644 editors/yasnippet/HISTORY create mode 100755 editors/yasnippet/INSTALL diff --git a/ChangeLog b/ChangeLog index 2b4dd09654..d158c9167e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2010-11-30 Ismael Luceno + * editors/yasnippet: new spell, yet another snippet extension for Emacs + 2010-11-29 Ismael Luceno * shell-term-fm/rc: new spell, a reimplementation of the Plan 9 shell diff --git a/editors/yasnippet/BUILD b/editors/yasnippet/BUILD new file mode 100755 index 0000000000..5b9006c6b6 --- /dev/null +++ b/editors/yasnippet/BUILD @@ -0,0 +1 @@ +find "$SOURCE_DIRECTORY" -name '*.el' -exec emacs -batch -f batch-byte-compile '{}' + diff --git a/editors/yasnippet/DEPENDS b/editors/yasnippet/DEPENDS new file mode 100755 index 0000000000..ce886b1390 --- /dev/null +++ b/editors/yasnippet/DEPENDS @@ -0,0 +1 @@ +depends EMACS diff --git a/editors/yasnippet/DETAILS b/editors/yasnippet/DETAILS new file mode 100755 index 0000000000..4f1ddb0a41 --- /dev/null +++ b/editors/yasnippet/DETAILS @@ -0,0 +1,17 @@ + SPELL=yasnippet + VERSION=0.6.1c + SOURCE="${SPELL}-${VERSION}.tar.bz2" + SOURCE_URL[0]=http://${SPELL}.googlecode.com/files/${SOURCE} + SOURCE_HASH=sha512:ea4c5850ae80e4db9a188788654a099eddc43e29371ef0cb6367e1a39d3ee9f3e9dab7201178955ae47c92bcecbb5120e0b817e47e9c88c5bcef9e561636a603 +SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}" + WEB_SITE="http://code.google.com/p/yasnippet" + LICENSE[0]=GPL + ENTERED=20101130 + SHORT="yet another snippet extension for Emacs" +cat << EOF +YASnippet is a template system for Emacs. It allows you to type an abbreviation +and automatically expand it into function templates. Bundled language templates +includes: C, C++, C#, Perl, Python, Ruby, SQL, LaTeX, HTML, CSS and more. The +snippet syntax is inspired from TextMate's syntax, you can even import most +TextMate templates to YASnippet. +EOF diff --git a/editors/yasnippet/HISTORY b/editors/yasnippet/HISTORY new file mode 100644 index 0000000000..ca3b499bfb --- /dev/null +++ b/editors/yasnippet/HISTORY @@ -0,0 +1,3 @@ +2010-11-30 Ismael Luceno + * BUILD, DEPENDS, DETAILS, INSTALL: spell created + diff --git a/editors/yasnippet/INSTALL b/editors/yasnippet/INSTALL new file mode 100755 index 0000000000..04f5c37631 --- /dev/null +++ b/editors/yasnippet/INSTALL @@ -0,0 +1,4 @@ +DIR="$INSTALL_ROOT/usr/share/emacs/site-lisp/$SPELL" && + +install -d -m755 "$DIR" && +cp -r "$SOURCE_DIRECTORY"/* "$DIR" -- cgit v1.2.3