From d150a5f3e462fa7fe194a805a4aa0076f4d03ab9 Mon Sep 17 00:00:00 2001 From: Deposite Pirate Date: Sun, 16 Sep 2018 18:48:36 +0200 Subject: Add ports. --- documents/vim/vim-7.3-crontab.patch.xz | Bin 0 -> 404 bytes documents/vim/vim-7.3-logfiles.patch.xz | Bin 0 -> 384 bytes documents/vim/vim-7.3-nlpo.patch.xz | Bin 0 -> 40276 bytes documents/vim/vim-7.3-slackware.patch.xz | Bin 0 -> 472 bytes documents/vim/vim-7.3-syntax20130121.patch.xz | Bin 0 -> 155976 bytes documents/vim/vim-7.3-update773.patch.xz | Bin 0 -> 566740 bytes documents/vim/vim-7.3-useproperlocaledir.patch.xz | Bin 0 -> 1232 bytes documents/vim/vim-7.3-vimautoconf.patch.xz | Bin 0 -> 19180 bytes documents/vim/vim-7.3-vimrcdir.patch.xz | Bin 0 -> 364 bytes documents/vim/vim.build | 131 ++++++++++++++++++++++ 10 files changed, 131 insertions(+) create mode 100644 documents/vim/vim-7.3-crontab.patch.xz create mode 100644 documents/vim/vim-7.3-logfiles.patch.xz create mode 100644 documents/vim/vim-7.3-nlpo.patch.xz create mode 100644 documents/vim/vim-7.3-slackware.patch.xz create mode 100644 documents/vim/vim-7.3-syntax20130121.patch.xz create mode 100644 documents/vim/vim-7.3-update773.patch.xz create mode 100644 documents/vim/vim-7.3-useproperlocaledir.patch.xz create mode 100644 documents/vim/vim-7.3-vimautoconf.patch.xz create mode 100644 documents/vim/vim-7.3-vimrcdir.patch.xz create mode 100755 documents/vim/vim.build (limited to 'documents/vim') diff --git a/documents/vim/vim-7.3-crontab.patch.xz b/documents/vim/vim-7.3-crontab.patch.xz new file mode 100644 index 0000000..b579b03 Binary files /dev/null and b/documents/vim/vim-7.3-crontab.patch.xz differ diff --git a/documents/vim/vim-7.3-logfiles.patch.xz b/documents/vim/vim-7.3-logfiles.patch.xz new file mode 100644 index 0000000..bed59fe Binary files /dev/null and b/documents/vim/vim-7.3-logfiles.patch.xz differ diff --git a/documents/vim/vim-7.3-nlpo.patch.xz b/documents/vim/vim-7.3-nlpo.patch.xz new file mode 100644 index 0000000..033cf43 Binary files /dev/null and b/documents/vim/vim-7.3-nlpo.patch.xz differ diff --git a/documents/vim/vim-7.3-slackware.patch.xz b/documents/vim/vim-7.3-slackware.patch.xz new file mode 100644 index 0000000..7e974bf Binary files /dev/null and b/documents/vim/vim-7.3-slackware.patch.xz differ diff --git a/documents/vim/vim-7.3-syntax20130121.patch.xz b/documents/vim/vim-7.3-syntax20130121.patch.xz new file mode 100644 index 0000000..6821b0b Binary files /dev/null and b/documents/vim/vim-7.3-syntax20130121.patch.xz differ diff --git a/documents/vim/vim-7.3-update773.patch.xz b/documents/vim/vim-7.3-update773.patch.xz new file mode 100644 index 0000000..ed5b1cd Binary files /dev/null and b/documents/vim/vim-7.3-update773.patch.xz differ diff --git a/documents/vim/vim-7.3-useproperlocaledir.patch.xz b/documents/vim/vim-7.3-useproperlocaledir.patch.xz new file mode 100644 index 0000000..1c24406 Binary files /dev/null and b/documents/vim/vim-7.3-useproperlocaledir.patch.xz differ diff --git a/documents/vim/vim-7.3-vimautoconf.patch.xz b/documents/vim/vim-7.3-vimautoconf.patch.xz new file mode 100644 index 0000000..e2d9177 Binary files /dev/null and b/documents/vim/vim-7.3-vimautoconf.patch.xz differ diff --git a/documents/vim/vim-7.3-vimrcdir.patch.xz b/documents/vim/vim-7.3-vimrcdir.patch.xz new file mode 100644 index 0000000..88fe67c Binary files /dev/null and b/documents/vim/vim-7.3-vimrcdir.patch.xz differ diff --git a/documents/vim/vim.build b/documents/vim/vim.build new file mode 100755 index 0000000..aea8467 --- /dev/null +++ b/documents/vim/vim.build @@ -0,0 +1,131 @@ +#!/bin/bash +# +# Maintainer: Deposite Pirate + +source /usr/src/ports/Build/build.sh + +NAME=vim +MAJOR=7.3 +VERSION=${MAJOR}.773 +BUILD=5 + +# Description + +cat > ${PKG}/install/slack-desc < configure + +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=huge \ + ${*} +} + +build0() +{ +configure \ + --disable-netbeans \ + --disable-pythoninterp \ + --disable-python3interp \ + --disable-rubyinterp \ + --disable-tclinterp \ + --disable-luainterp \ + --disable-perlinterp \ + --disable-gui \ + --with-x=no \ + --enable-gpm \ + --enable-acl \ + --enable-multibyte \ + --enable-cscope +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}" +doc README.txt +install.dat doinst.sh ${PKG}/install +install.dir ${PKG}/etc +install.dat runtime/rgb.txt ${PKG}${SYS_DIR[share]}/vim +install.cfg runtime/vimrc_example.vim ${PKG}${SYS_DIR[etc]}/vimrc.new +( + cd ${PKG}${SYS_DIR[man]} + for file in $(find . -name evim.1); do + rm -f ${file} + done + for manpage in view rvim rview ex; do + for file in $(find . -type l -name ${manpage}.1); do + rm -f ${file} + echo ".so man1/vim.1" > ${file} + done + done +) +( + cd ${PKG}${SYS_DIR[share]}/vim + rm -rf \ + *vimrc_example.vim \ + */*cmake.vim \ + tools +) +} + +SRCNAME[1]=ctags +SRCVERS[1]=5.8 +SRCPACK[1]=${URL[sf]}/ctags/${SRCNAME[1]}/${SRCVERS[1]}/${SRCNAME[1]}-${SRCVERS[1]}.tar.gz +SRCCOPY[1]="GPL2" + +build1() +{ +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]}" +make ${JOBS} +doc MAINTAINERS FAQ +changelog NEWS +# The ctags makefile is far too much of a broken mess to bother with patching it +install.dir ${PKG}${SYS_DIR[bin]} +install.bin ctags ${PKG}${SYS_DIR[bin]} +( cd ${PKG}${SYS_DIR[bin]} ; ln -sf ctags etags ) +install.dir ${PKG}${SYS_DIR[man]}/man1 +install.man ctags.1 ${PKG}${SYS_DIR[man]}/man1 +echo ".so man1/ctags.1" > ${PKG}${SYS_DIR[man]}/man1/etags.1 +} -- cgit v1.2.3-70-g09d2