summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rwxr-xr-xeditors/yasnippet/BUILD1
-rwxr-xr-xeditors/yasnippet/DEPENDS1
-rwxr-xr-xeditors/yasnippet/DETAILS17
-rw-r--r--editors/yasnippet/HISTORY3
-rwxr-xr-xeditors/yasnippet/INSTALL4
6 files changed, 29 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2b4dd09654..d158c9167e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2010-11-30 Ismael Luceno <ismael@sourcemage.org>
+ * editors/yasnippet: new spell, yet another snippet extension for Emacs
+
2010-11-29 Ismael Luceno <ismael@sourcemage.org>
* 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 <ismael@sourcemage.org>
+ * 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"