From f2c8e075bb1dda5f8c19c037a127310869209720 Mon Sep 17 00:00:00 2001 From: jakob Date: Fri, 17 Jan 2003 19:24:26 +0000 Subject: [PATCH] add dutch dictionary; Mathieu Braem --- textproc/ispell/Makefile | 45 ++++++++++++++++++++------------- textproc/ispell/distinfo | 3 +++ textproc/ispell/pkg/DESCR-dutch | 6 +++++ textproc/ispell/pkg/PLIST-dutch | 5 ++++ 4 files changed, 42 insertions(+), 17 deletions(-) create mode 100644 textproc/ispell/pkg/DESCR-dutch create mode 100644 textproc/ispell/pkg/PLIST-dutch diff --git a/textproc/ispell/Makefile b/textproc/ispell/Makefile index f63d6f1e445..3566d50f7ad 100644 --- a/textproc/ispell/Makefile +++ b/textproc/ispell/Makefile @@ -1,13 +1,14 @@ -# $OpenBSD: Makefile,v 1.31 2002/12/26 18:51:40 jakob Exp $ +# $OpenBSD: Makefile,v 1.32 2003/01/17 19:24:26 jakob Exp $ COMMENT= interactive spelling checker +COMMENT-dutch= ispell dictionary for Dutch COMMENT-french= ispell dictionary for French COMMENT-german= ispell dictionary for German -COMMENT-swedish= ispell dictionary for Swedish COMMENT-russian= ispell dictionary for Russian COMMENT-portuguese= ispell dictionary for Rortuguese COMMENT-slovak= ispell dictionary for Slovak COMMENT-spanish= ispell dictionary for Spanish +COMMENT-swedish= ispell dictionary for Swedish VERSION= 3.2.06 DISTNAME= ispell-${VERSION} @@ -19,17 +20,19 @@ HOMEPAGE= http://fmg-www.cs.ucla.edu/geoff/ispell.html MASTER_SITES= http://fmg-www.cs.ucla.edu/geoff/tars/ \ ftp://ftp.netsw.org/dict/tools/ -MASTER_SITES0= ftp://ftp.robot.ireq.ca/pub/ispell/ -MASTER_SITES1= ftp://ftp.informatik.uni-kiel.de/pub/kiel/dicts/ -MASTER_SITES2= http://www.sslug.dk/locale/ispell/iswedish/ -MASTER_SITES3= ftp://mch5.chem.msu.su/pub/russian/ispell/ \ +MASTER_SITES0= ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/ +MASTER_SITES1= ftp://ftp.robot.ireq.ca/pub/ispell/ +MASTER_SITES2= ftp://ftp.informatik.uni-kiel.de/pub/kiel/dicts/ +MASTER_SITES3= http://www.sslug.dk/locale/ispell/iswedish/ +MASTER_SITES4= ftp://mch5.chem.msu.su/pub/russian/ispell/ \ ftp://ftp.afti.nsu.ru/pub/mirrors/russian-ispell/ -MASTER_SITES4= http://natura.di.uminho.pt/~jj/pln/ -MASTER_SITES5= http://ispell.hq.sk/ -MASTER_SITES6= http://www.datsi.fi.upm.es/~coes/ +MASTER_SITES5= http://natura.di.uminho.pt/~jj/pln/ +MASTER_SITES6= http://ispell.hq.sk/ +MASTER_SITES7= http://www.datsi.fi.upm.es/~coes/ DIST_SUBDIR= ispell +DUTCH_DICT= ispell-nl-1.0.0 FRENCH_DICT= francais-IREQ-1.4 GERMAN_DICT= hk2-deutsch SWEDISH_DICT= iswedish-1.2.1 @@ -39,15 +42,17 @@ SLOVAK_DICT= ispell-sk-0.1.10 SPANISH_DICT= espa~nol-1.7 DISTFILES= ${DISTNAME}.tar.gz \ - ${FRENCH_DICT}.tar.gz:0 \ - ${GERMAN_DICT}.tar.gz:1 \ - ${SWEDISH_DICT}.tar.gz:2 \ - ${RUSSIAN_DICT}.tar.gz:3 \ - ${PORTUGUESE_DICT}.tgz:4 \ - ${SLOVAK_DICT}.tar.gz:5 \ - ${SPANISH_DICT}.tar.gz:6 + ${DUTCH_DICT}.tar.gz:0 \ + ${FRENCH_DICT}.tar.gz:1 \ + ${GERMAN_DICT}.tar.gz:2 \ + ${SWEDISH_DICT}.tar.gz:3 \ + ${RUSSIAN_DICT}.tar.gz:4 \ + ${PORTUGUESE_DICT}.tgz:5 \ + ${SLOVAK_DICT}.tar.gz:6 \ + ${SPANISH_DICT}.tar.gz:7 EXTRACT_ONLY= ${DISTNAME}.tar.gz \ + ${DUTCH_DICT}.tar.gz \ ${SWEDISH_DICT}.tar.gz \ ${PORTUGUESE_DICT}.tgz \ ${SLOVAK_DICT}.tar.gz \ @@ -55,7 +60,8 @@ EXTRACT_ONLY= ${DISTNAME}.tar.gz \ SUBST_VARS+= VERSION -MULTI_PACKAGES= -french -german -swedish -russian -portuguese -slovak -spanish +MULTI_PACKAGES= -dutch -french -german -swedish -russian -portuguese \ + -slovak -spanish .for i in ${MULTI_PACKAGES} PKGNAME$i= ispell$i-${VERSION} .endfor @@ -101,6 +107,9 @@ post-build: @sed "s%/usr/local%${PREFIX}%g" ${FILESDIR}/ispell-config > \ ${WRKDIST}/ispell-config + @(cd ${WRKDIR}/${DUTCH_DICT}; \ + ${WRKDIST}/buildhash words-nl.ispell nederlands.aff nederlands.hash) + @(cd ${WRKDIR}/french; \ $(MAKE) RM='rm -f' HASH=${WRKDIST}/buildhash) @@ -160,6 +169,8 @@ do-install: ln -s american.aff ${PREFIX}/lib/ispell/default.aff ln -s american.hash ${PREFIX}/lib/ispell/default.hash + ${INSTALL_DATA} ${WRKDIR}/${DUTCH_DICT}/nederlands.{aff,hash} \ + ${PREFIX}/lib/ispell ${INSTALL_DATA} ${WRKDIR}/german/deutsch.{aff,hash} \ ${PREFIX}/lib/ispell ${INSTALL_DATA} ${WRKDIR}/french/francais.{aff,hash} \ diff --git a/textproc/ispell/distinfo b/textproc/ispell/distinfo index fe708d49548..509edc72ea7 100644 --- a/textproc/ispell/distinfo +++ b/textproc/ispell/distinfo @@ -3,6 +3,7 @@ MD5 (ispell/espa~nol-1.7.tar.gz) = a5b5a6b1e3003d81a2c78648dd1c1362 MD5 (ispell/francais-IREQ-1.4.tar.gz) = 3871371b0f8e57b554f8895ce3a43b5a MD5 (ispell/hk2-deutsch.tar.gz) = 7fa72ab88d3ef466e35cf0721140b8ec MD5 (ispell/ispell-3.2.06.tar.gz) = d434e1aef1a815294d5012c60c4c414a +MD5 (ispell/ispell-nl-1.0.0.tar.gz) = d9f8c68f28053e71792053e34201a28b MD5 (ispell/ispell-sk-0.1.10.tar.gz) = 09e91affa50cf449f48ea0c88e68a145 MD5 (ispell/iswedish-1.2.1.tar.gz) = b546aeb88d7614c32e541488d55f32fe MD5 (ispell/rus-ispell-0.99e7.tar.gz) = 37f52c405c6026c5e792545666758961 @@ -11,6 +12,7 @@ RMD160 (ispell/espa~nol-1.7.tar.gz) = be9692aa6c97f0ecefc1143bffd8edc5ac22f019 RMD160 (ispell/francais-IREQ-1.4.tar.gz) = 9f11a627d84488c9cbbd37b75fbeae9060803f3d RMD160 (ispell/hk2-deutsch.tar.gz) = 8fe8dadac0ab8bead960915284b3fd89646db968 RMD160 (ispell/ispell-3.2.06.tar.gz) = 3f6a3840540ebc753146c427da8ce2d54317b46e +RMD160 (ispell/ispell-nl-1.0.0.tar.gz) = 8ee008a8e0e57ffe2e90952bccf16a0dbeb75a85 RMD160 (ispell/ispell-sk-0.1.10.tar.gz) = 20f392a7b6c1864936c148730b4e110b3a7b6133 RMD160 (ispell/iswedish-1.2.1.tar.gz) = 4d5a040018b12d06f4d8f45f89eb775ba6f88aab RMD160 (ispell/rus-ispell-0.99e7.tar.gz) = b022ad1b2603530dec6e8f45d1437e69fe10ba8e @@ -19,6 +21,7 @@ SHA1 (ispell/espa~nol-1.7.tar.gz) = de8a2f2dbab0d3658aecd7ef109e91773da23dd7 SHA1 (ispell/francais-IREQ-1.4.tar.gz) = 940712167cd2d40c27e673246b8ce9f99595a309 SHA1 (ispell/hk2-deutsch.tar.gz) = 4e6364b65981be8002acbb65618bdbc646eb5663 SHA1 (ispell/ispell-3.2.06.tar.gz) = 35f496322cda172d56610417e4e1c7b962f734d7 +SHA1 (ispell/ispell-nl-1.0.0.tar.gz) = 06934146b6f69ca6ed6f7b8b3300dc1880418d46 SHA1 (ispell/ispell-sk-0.1.10.tar.gz) = f5d9eb058028b57a1c99968608ad31266e2926de SHA1 (ispell/iswedish-1.2.1.tar.gz) = c26c851123a427b495ca9ac10c443ec23efa8e3a SHA1 (ispell/rus-ispell-0.99e7.tar.gz) = 2aa03b32537ac364e498da27a75085f56dfd81c5 diff --git a/textproc/ispell/pkg/DESCR-dutch b/textproc/ispell/pkg/DESCR-dutch new file mode 100644 index 00000000000..a5c1dc3e83f --- /dev/null +++ b/textproc/ispell/pkg/DESCR-dutch @@ -0,0 +1,6 @@ +Ispell is a fast screen-oriented spelling checker that shows you your +errors in the context of the original file, and suggests possible +corrections when it can figure them out. Compared to UNIX spell, it is +faster and much easier to use. + +This package adds a Dutch dictionary that can be used by ispell. diff --git a/textproc/ispell/pkg/PLIST-dutch b/textproc/ispell/pkg/PLIST-dutch new file mode 100644 index 00000000000..a7796beafd0 --- /dev/null +++ b/textproc/ispell/pkg/PLIST-dutch @@ -0,0 +1,5 @@ +@comment $OpenBSD: PLIST-dutch,v 1.1 2003/01/17 19:24:26 jakob Exp $ +lib/ispell/nederlands.aff +lib/ispell/nederlands.hash +@exec echo 'invoking %D/bin/ispell-config' +@exec %D/bin/ispell-config