aboutsummaryrefslogtreecommitdiff
path: root/base/vi
diff options
context:
space:
mode:
authorDeposite Pirate2018-09-16 18:48:36 +0200
committerDeposite Pirate2018-09-16 18:48:36 +0200
commitd150a5f3e462fa7fe194a805a4aa0076f4d03ab9 (patch)
treece5e44d69c5f3175bfdbd1e3717b52c5dcca5638 /base/vi
parentf29d3519ce073ec30f99754d93304324f7f26d65 (diff)
Add ports.
Diffstat (limited to 'base/vi')
-rwxr-xr-xbase/vi/vi.build90
-rw-r--r--base/vi/vim-7.3-crontab.patch.xzbin0 -> 404 bytes
-rw-r--r--base/vi/vim-7.3-logfiles.patch.xzbin0 -> 384 bytes
-rw-r--r--base/vi/vim-7.3-minimal.patch.xzbin0 -> 3236 bytes
-rw-r--r--base/vi/vim-7.3-nlpo.patch.xzbin0 -> 40276 bytes
-rw-r--r--base/vi/vim-7.3-slackware.patch.xzbin0 -> 472 bytes
-rw-r--r--base/vi/vim-7.3-syntax20130121.patch.xzbin0 -> 155976 bytes
-rw-r--r--base/vi/vim-7.3-update773.patch.xzbin0 -> 566740 bytes
-rw-r--r--base/vi/vim-7.3-useproperlocaledir.patch.xzbin0 -> 1232 bytes
-rw-r--r--base/vi/vim-7.3-vimautoconf.patch.xzbin0 -> 19180 bytes
10 files changed, 90 insertions, 0 deletions
diff --git a/base/vi/vi.build b/base/vi/vi.build
new file mode 100755
index 0000000..876ae32
--- /dev/null
+++ b/base/vi/vi.build
@@ -0,0 +1,90 @@
+#!/bin/bash
+#
+# Maintainer: Deposite Pirate <ofni.sknuplatem@etaripd>
+
+source /usr/src/ports/Build/build.sh
+
+NAME=vi
+MAJOR=7.3
+VERSION=${MAJOR}.773
+BUILD=2
+
+# Description
+
+cat > ${PKG}/install/slack-desc <<EOF
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+$(padd)|-----handy-ruler------------------------------------------------------|
+${NAME}: vi (a minimal version of Vi IMproved)
+${NAME}:
+${NAME}: A minimal version of 'vim' compatible with 'vi'.
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+${NAME}:
+EOF
+
+# Sources
+
+SRCNAME[0]=vim
+SRCVERS[0]=${MAJOR}
+SRCPACK[0]=http://ftp.vim.org/pub/vim/unix/${SRCNAME[0]}-${SRCVERS[0]}.tar.bz2
+SRCROOT[0]=${SRCNAME[0]}73
+
+configure()
+{
+CFLAGS="${FLAGS}" CXXFLAGS="${FLAGS}" \
+./configure \
+ --build="${ARCH}-slackware-linux" \
+ --prefix="${SYS_DIR[usr]}" \
+ --mandir="${SYS_DIR[man]}" \
+ --sysconfdir="${SYS_DIR[etc]}" \
+ --libdir="${SYS_DIR[lib]}" \
+ --localstatedir="${SYS_DIR[var]}/lib/vim" \
+ --localedir="${SYS_DIR[share]}/locale" \
+ --with-compiledby="${DISTRONAME}" \
+ --with-features=tiny \
+ ${*}
+}
+
+build0()
+{
+configure \
+ --disable-netbeans \
+ --disable-pythoninterp \
+ --disable-python3interp \
+ --disable-rubyinterp \
+ --disable-tclinterp \
+ --disable-luainterp \
+ --disable-perlinterp \
+ --disable-gui \
+ --disable-gpm \
+ --disable-acl \
+ --disable-cscope \
+ --enable-multibyte \
+ --enable-nls
+ --with-x=no \
+ --with-vim-name="vi"
+make ${JOBS} VIMRCLOC="${SYS_DIR[etc]}" VIMRTLOC="${SYS_DIR[share]}/vim" VIMRUNTIMEDIR="${SYS_DIR[share]}/vim"
+make install VIMRCLOC="${SYS_DIR[etc]}" VIMRTLOC="${SYS_DIR[share]}/vim" DESTDIR="${PKG}"
+rm -rf \
+ ${PKG}${SYS_DIR[share]} \
+ ${PKG}${SYS_DIR[bin]}/{vimtutor,xxd,rview,rvim,view,ex}
+mv \
+ ${PKG}${SYS_DIR[bin]}/vim \
+ ${PKG}${SYS_DIR[bin]}/vi
+license runtime/doc/uganda.txt
+install.dir ${PKG}${SYS_DIR[man]}/man1
+echo ".so man1/vim.1" > ${PKG}${SYS_DIR[man]}/man1/vi.1
+install.dir ${PKG}${SYS_DIR[share]}/vim/doc
+install.dat vi_help.txt ${PKG}${SYS_DIR[share]}/vim/doc
+}
diff --git a/base/vi/vim-7.3-crontab.patch.xz b/base/vi/vim-7.3-crontab.patch.xz
new file mode 100644
index 0000000..b579b03
--- /dev/null
+++ b/base/vi/vim-7.3-crontab.patch.xz
Binary files differ
diff --git a/base/vi/vim-7.3-logfiles.patch.xz b/base/vi/vim-7.3-logfiles.patch.xz
new file mode 100644
index 0000000..bed59fe
--- /dev/null
+++ b/base/vi/vim-7.3-logfiles.patch.xz
Binary files differ
diff --git a/base/vi/vim-7.3-minimal.patch.xz b/base/vi/vim-7.3-minimal.patch.xz
new file mode 100644
index 0000000..6ddcb2d
--- /dev/null
+++ b/base/vi/vim-7.3-minimal.patch.xz
Binary files differ
diff --git a/base/vi/vim-7.3-nlpo.patch.xz b/base/vi/vim-7.3-nlpo.patch.xz
new file mode 100644
index 0000000..033cf43
--- /dev/null
+++ b/base/vi/vim-7.3-nlpo.patch.xz
Binary files differ
diff --git a/base/vi/vim-7.3-slackware.patch.xz b/base/vi/vim-7.3-slackware.patch.xz
new file mode 100644
index 0000000..7e974bf
--- /dev/null
+++ b/base/vi/vim-7.3-slackware.patch.xz
Binary files differ
diff --git a/base/vi/vim-7.3-syntax20130121.patch.xz b/base/vi/vim-7.3-syntax20130121.patch.xz
new file mode 100644
index 0000000..6821b0b
--- /dev/null
+++ b/base/vi/vim-7.3-syntax20130121.patch.xz
Binary files differ
diff --git a/base/vi/vim-7.3-update773.patch.xz b/base/vi/vim-7.3-update773.patch.xz
new file mode 100644
index 0000000..ed5b1cd
--- /dev/null
+++ b/base/vi/vim-7.3-update773.patch.xz
Binary files differ
diff --git a/base/vi/vim-7.3-useproperlocaledir.patch.xz b/base/vi/vim-7.3-useproperlocaledir.patch.xz
new file mode 100644
index 0000000..1c24406
--- /dev/null
+++ b/base/vi/vim-7.3-useproperlocaledir.patch.xz
Binary files differ
diff --git a/base/vi/vim-7.3-vimautoconf.patch.xz b/base/vi/vim-7.3-vimautoconf.patch.xz
new file mode 100644
index 0000000..e2d9177
--- /dev/null
+++ b/base/vi/vim-7.3-vimautoconf.patch.xz
Binary files differ