[SM-Commit] GIT changes to master grimoire by Ethan Grammatikidis (beb01d87b69a852d7616f138563494ec012babb8)

Ethan Grammatikidis scm at sourcemage.org
Thu Oct 1 14:22:11 EDT 2009


GIT changes to master grimoire by Ethan Grammatikidis <eekee57 at fastmail.fm>:

 ChangeLog            |    3 +++
 editors/vi/BUILD     |    1 +
 editors/vi/CONFLICTS |    3 +++
 editors/vi/DEPENDS   |    2 ++
 editors/vi/DETAILS   |   23 +++++++++++++++++++++++
 editors/vi/HISTORY   |    2 ++
 editors/vi/PRE_BUILD |   11 +++++++++++
 7 files changed, 45 insertions(+)

New commits:
commit 19c7cea5f9dcbd7267fbfdfd3dec7cbb5182f761
Author: Ethan Grammatikidis <eekee57 at fastmail.fm>
Commit: Ethan Grammatikidis <eekee57 at fastmail.fm>

    editors/vi: new spell, the traditional vi

diff --git a/ChangeLog b/ChangeLog
index f6265ae..17d4eec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2009-10-01 Ethan Grammatikidis <eekee57 at fastmail.fm>
+	* editors/vi: new spell, the traditional vi
+
 2009-09-28 Bearcat M. Sandor <sourcemage at feline-soul.com>
 	* audio-creation/brutefir: new spell, an audio convolution engine
 
diff --git a/editors/vi/BUILD b/editors/vi/BUILD
new file mode 100755
index 0000000..8f58e6d
--- /dev/null
+++ b/editors/vi/BUILD
@@ -0,0 +1 @@
+make
diff --git a/editors/vi/CONFLICTS b/editors/vi/CONFLICTS
new file mode 100755
index 0000000..c56fc0b
--- /dev/null
+++ b/editors/vi/CONFLICTS
@@ -0,0 +1,3 @@
+# may not be necessary if you get vim to not install the vi or ex symlinks,
+# but am playing it safe.
+conflicts vim y
diff --git a/editors/vi/DEPENDS b/editors/vi/DEPENDS
new file mode 100755
index 0000000..ee8db14
--- /dev/null
+++ b/editors/vi/DEPENDS
@@ -0,0 +1,2 @@
+optional_depends   ncurses "" ""   \
+		  "you very probably want this"
diff --git a/editors/vi/DETAILS b/editors/vi/DETAILS
new file mode 100755
index 0000000..4f5c511
--- /dev/null
+++ b/editors/vi/DETAILS
@@ -0,0 +1,23 @@
+           SPELL=vi
+         VERSION=050325
+          SOURCE=ex-${VERSION}.tar.bz2
+SOURCE_DIRECTORY=${BUILD_DIRECTORY}/ex-${VERSION}
+   SOURCE_URL[0]=${SOURCEFORGE_URL}/ex-vi/${SOURCE}
+     SOURCE_HASH=sha512:7abf7860765f2d505877c7d53711607f4451a3768a60bfcebca186a2292770938121085797b8701798087d21ea15200c6630de405549fccdd0cc06f6c5ffb3ab
+        WEB_SITE=http://ex-vi.sourceforge.net/
+      LICENSE[0]=BSD
+         ENTERED=20091001
+        KEYWORDS="editors"
+           SHORT="The traditional vi text editor"
+cat << EOF
+This port of vi has generally preserved the original style, terminal
+control, and feature set.  It adds support for international character
+sets, including multibyte encodings such as UTF-8, and some minor
+enhancements that were not present in BSD vi 3.7, but had been
+included in later vi versions for System V or in POSIX.2.
+
+Compared to most of its many clones, the traditional vi is a rather
+small program (the binary size is approximately 160 kBytes on i386)
+just with its extremely powerful editing interface, but lacking fancy
+features like multiple undo, multiple screens, or syntax highlighting.
+EOF
diff --git a/editors/vi/HISTORY b/editors/vi/HISTORY
new file mode 100644
index 0000000..aae1cd6
--- /dev/null
+++ b/editors/vi/HISTORY
@@ -0,0 +1,2 @@
+2009-10-01 Ethan Grammatikidis <eekee57 at fastmail.fm>
+	* BUILD, CONFLICTS, DEPENDS, DETAILS, PRE_BUILD: spell created
diff --git a/editors/vi/PRE_BUILD b/editors/vi/PRE_BUILD
new file mode 100755
index 0000000..b845d9f
--- /dev/null
+++ b/editors/vi/PRE_BUILD
@@ -0,0 +1,11 @@
+default_pre_build   &&
+
+cd $SOURCE_DIRECTORY   &&
+sed -i	-e 's:\(PREFIX[[:space:]]*= /usr\)/local:\1:'   \
+	-e 's:\(PRESERVEDIR[[:space:]]*= \).*:\1/var/lib/vi:'   \
+	-e 's:\(INSTALL[[:space:]]*= \)/usr/ucb/install:\1/bin/install:'   \
+	Makefile   &&
+
+if is_depends_enabled $SPELL ncurses ; then
+	sed -i 's:TERMLIB.=.termlib:TERMLIB = ncurses:' Makefile
+fi



More information about the SM-Commit mailing list