/[gentoo-x86]/eclass/vim-spell.eclass
Gentoo

Diff of /eclass/vim-spell.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.4 Revision 1.5
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/vim-spell.eclass,v 1.4 2005/09/28 23:19:10 ciaranm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/vim-spell.eclass,v 1.5 2006/01/23 21:35:21 ciaranm Exp $
4 4
5# 5#
6# Original Author: Ciaran McCreesh <ciaranm@gentoo.org> 6# Original Author: Ciaran McCreesh <ciaranm@gentoo.org>
7# Maintainers: Vim Herd <vim@gentoo.org> 7# Maintainers: Vim Herd <vim@gentoo.org>
8# Purpose: Simplify installing spell files for vim7 8# Purpose: Simplify installing spell files for vim7
9# 9#
10 10
11# How to make a vim spell file package using prebuilt spell lists 11# How to make a vim spell file package using prebuilt spell lists
12# from upstream (${CODE} is the language's two letter code): 12# from upstream (${CODE} is the language's two letter code):
13# 13#
14# * Get the ${CODE}.*.spl and README_${CODE}.txt files. Currently they're 14# * Get the ${CODE}.*.spl, ${CODE}.*.sug (if your language has them) and
15# README_${CODE}.txt files. Currently they're at
15# at ftp://ftp.vim.org/pub/vim/unstable/runtime/spell/ . 16# ftp://ftp.vim.org/pub/vim/unstable/runtime/spell/ (except for English,
17# which should be taken from CVS instead).
16# 18#
17# * Stick them in vim-spell-${CODE}-$(date --iso | tr -d - ).tar.bz2 . Make sure 19# * Stick them in vim-spell-${CODE}-$(date --iso | tr -d - ).tar.bz2 . Make sure
18# that they're in the appropriately named subdirectory to avoid having to mess 20# that they're in the appropriately named subdirectory to avoid having to mess
19# with S=. 21# with S=.
20# 22#
80 target="/usr/share/vim/vimfiles/spell/" 82 target="/usr/share/vim/vimfiles/spell/"
81 dodir "${target}" 83 dodir "${target}"
82 insinto "${target}" 84 insinto "${target}"
83 85
84 had_spell_file= 86 had_spell_file=
85 for f in *.spl ; do 87 for f in *.spl *.sug ; do
86 doins "${f}" 88 doins "${f}"
87 had_spell_file="yes" 89 had_spell_file="yes"
88 done 90 done
89 91
90 for f in README* ; do 92 for f in README* ; do

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.20