summaryrefslogtreecommitdiff
path: root/textproc/ispell-en_GB
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/ispell-en_GB')
-rw-r--r--textproc/ispell-en_GB/DESCR1
-rw-r--r--textproc/ispell-en_GB/Makefile45
-rw-r--r--textproc/ispell-en_GB/PLIST3
-rw-r--r--textproc/ispell-en_GB/distinfo9
-rw-r--r--textproc/ispell-en_GB/patches/patch-aa12
-rw-r--r--textproc/ispell-en_GB/patches/patch-ab19
-rw-r--r--textproc/ispell-en_GB/patches/patch-ac15
-rw-r--r--textproc/ispell-en_GB/patches/patch-ad15
8 files changed, 119 insertions, 0 deletions
diff --git a/textproc/ispell-en_GB/DESCR b/textproc/ispell-en_GB/DESCR
new file mode 100644
index 00000000000..84787b82b80
--- /dev/null
+++ b/textproc/ispell-en_GB/DESCR
@@ -0,0 +1 @@
+This package provides the British-spelling dictionaries for ispell.
diff --git a/textproc/ispell-en_GB/Makefile b/textproc/ispell-en_GB/Makefile
new file mode 100644
index 00000000000..c4151733753
--- /dev/null
+++ b/textproc/ispell-en_GB/Makefile
@@ -0,0 +1,45 @@
+# $NetBSD: Makefile,v 1.1 2013/04/24 02:20:38 rodent Exp $
+#
+
+DISTNAME= ispell-3.3.02
+PKGNAME= ispell-${DICT_LANG}-3.3.02
+CATEGORIES= textproc
+MASTER_SITES= http://fmg-www.cs.ucla.edu/geoff/tars/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://ficus-www.cs.ucla.edu/geoff/ispell.html
+COMMENT= British dictionary for interactive spelling checker
+
+DEPENDS+= ispell>=3.3.02:../../textproc/ispell
+
+BUILD_TARGET= config.sh all-languages
+
+DICT_LANG= british
+
+MAKE_FLAGS+= TMPDIR=${WRKDIR:Q}
+
+INSTALLATION_DIRS= lib
+MAKE_JOBS_SAFE= no
+
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "SunOS"
+WORDS= /usr/dict/words
+.else
+WORDS= /usr/share/dict/words
+.endif
+
+do-configure:
+ cd ${WRKSRC}; \
+ ${SED} -e 's|/usr/local|${PREFIX}|g' <local.h.bsd >local.h; \
+ ${ECHO} "#define LANGUAGES \"{${DICT_LANG},MASTERDICTS=${DICT_LANG}.xlg,HASHFILES=${DICT_LANG}xlg.hash,EXTRADICT=}\"" >>local.h; \
+ ${ECHO} '#define MASTERHASH "${DICT_LANG}xlg.hash"' >> local.h ; \
+ ${ECHO} "#undef WORDS" >> local.h ; \
+ ${ECHO} '#define WORDS "${WORDS}"' >> local.h
+
+do-install:
+ ${CP} ${WRKSRC}/languages/${DICT_LANG}/${DICT_LANG}xlg.hash ${DESTDIR}${PREFIX}/lib
+ cd ${DESTDIR}${PREFIX}/lib; \
+ ${RM} -f ${DICT_LANG}.hash; \
+ ${LN} ${DICT_LANG}xlg.hash ${DICT_LANG}.hash
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/ispell-en_GB/PLIST b/textproc/ispell-en_GB/PLIST
new file mode 100644
index 00000000000..2205163b2b7
--- /dev/null
+++ b/textproc/ispell-en_GB/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2013/04/24 02:20:38 rodent Exp $
+lib/britishxlg.hash
+lib/british.hash
diff --git a/textproc/ispell-en_GB/distinfo b/textproc/ispell-en_GB/distinfo
new file mode 100644
index 00000000000..bf4584defea
--- /dev/null
+++ b/textproc/ispell-en_GB/distinfo
@@ -0,0 +1,9 @@
+$NetBSD: distinfo,v 1.1 2013/04/24 02:20:38 rodent Exp $
+
+SHA1 (ispell-3.3.02.tar.gz) = c0d98e1af3afb8e0b642717c03439ff8881e3d60
+RMD160 (ispell-3.3.02.tar.gz) = 12edc94ebb7c1f4040bd8f5b0dbb8f40326aa781
+Size (ispell-3.3.02.tar.gz) = 619813 bytes
+SHA1 (patch-aa) = cf8e0863e62103526d75ba5f0f25c760d4ee8e32
+SHA1 (patch-ab) = 210d80ca55fc1d4fb5aa308205d8630a7f4bfb67
+SHA1 (patch-ac) = a3474192676a326f33e10266e57ace5dfb1ba7eb
+SHA1 (patch-ad) = b3edb0466b306ecf1d59cfba46ec3f74e01db6ff
diff --git a/textproc/ispell-en_GB/patches/patch-aa b/textproc/ispell-en_GB/patches/patch-aa
new file mode 100644
index 00000000000..b1aeef2a335
--- /dev/null
+++ b/textproc/ispell-en_GB/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1 2013/04/24 02:20:38 rodent Exp $
+
+--- languages/english/english.2-orig Mon Jan 23 19:28:44 1995
++++ languages/english/english.2 Thu Apr 16 14:34:21 1998
+@@ -1867,7 +1867,6 @@
+ auxotroph
+ auxotrophic
+ auxotrophy
+-avaliable
+ avast
+ avatar
+ avaunt
diff --git a/textproc/ispell-en_GB/patches/patch-ab b/textproc/ispell-en_GB/patches/patch-ab
new file mode 100644
index 00000000000..4638321c517
--- /dev/null
+++ b/textproc/ispell-en_GB/patches/patch-ab
@@ -0,0 +1,19 @@
+$NetBSD: patch-ab,v 1.1 2013/04/24 02:20:38 rodent Exp $
+--- languages/english/english.3.orig Tue Oct 27 22:26:48 1998
++++ languages/english/english.3 Tue Oct 27 22:27:35 1998
+@@ -5202,6 +5202,7 @@
+ dirndl
+ disaccredit
+ disafforest
++disappear
+ disbranch
+ disbud
+ discalced
+@@ -5236,7 +5237,6 @@
+ dispersoid
+ displayable
+ disproven
+-dissappear
+ disseminule
+ dissentious
+ dissepiment
diff --git a/textproc/ispell-en_GB/patches/patch-ac b/textproc/ispell-en_GB/patches/patch-ac
new file mode 100644
index 00000000000..f80dcfd28e9
--- /dev/null
+++ b/textproc/ispell-en_GB/patches/patch-ac
@@ -0,0 +1,15 @@
+$NetBSD: patch-ac,v 1.1 2013/04/24 02:20:38 rodent Exp $
+
+Use the buildhash program from the base installation
+
+--- languages/british/Makefile 1995/01/08 23:24:18 1.4
++++ languages/british/Makefile 2001/03/14 10:56:42
+@@ -63,7 +63,7 @@
+
+ CONFIG = ../../config.sh
+ PATHADDER = ../..
+-BUILDHASH = ../../buildhash
++BUILDHASH = ${PREFIX}/bin/buildhash
+
+ # The following variables should be set by the superior Makefile,
+ # based on the LANGUAGES variable in config.X.
diff --git a/textproc/ispell-en_GB/patches/patch-ad b/textproc/ispell-en_GB/patches/patch-ad
new file mode 100644
index 00000000000..c9b8ec50211
--- /dev/null
+++ b/textproc/ispell-en_GB/patches/patch-ad
@@ -0,0 +1,15 @@
+$NetBSD: patch-ad,v 1.1 2013/04/24 02:20:38 rodent Exp $
+
+Don't build the programs - use the ones from the base system.
+
+--- Makefile.orig 2005-05-26 01:57:02.000000000 +1200
++++ Makefile
+@@ -287,7 +287,7 @@ showversion: ispell
+ mv y_tab.o $@; \
+ rm -f y_tab.c
+
+-all-languages: munchable
++all-languages:
+ $(MAKE) LANGUAGE_TARGET=all SHELLDEBUG=$(SHELLDEBUG) language-subdirs
+
+ install: config.sh all install-basic install-deformatters