summaryrefslogtreecommitdiff
path: root/textproc/ispell
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1994-11-06 02:13:04 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1994-11-06 02:13:04 +0000
commitfbb178ba95eb7dbf694cda1b32a78b5f51142325 (patch)
treeed088fc32bef6e8689f9b231eee266db8e8f92b6 /textproc/ispell
parentMprof 3.0 --- a memory allocation profiler and leak detector. (diff)
Jean-Marc Zucconi's ispell port.
Submitted by: jmz
Notes
Notes: svn path=/head/; revision=322
Diffstat (limited to 'textproc/ispell')
-rw-r--r--textproc/ispell/Makefile13
-rw-r--r--textproc/ispell/pkg-comment1
-rw-r--r--textproc/ispell/pkg-descr6
-rw-r--r--textproc/ispell/pkg-plist27
-rw-r--r--textproc/ispell/scripts/configure8
5 files changed, 55 insertions, 0 deletions
diff --git a/textproc/ispell/Makefile b/textproc/ispell/Makefile
new file mode 100644
index 000000000000..0db291f29608
--- /dev/null
+++ b/textproc/ispell/Makefile
@@ -0,0 +1,13 @@
+DISTFILES= ispell-3.1.08.tar.gz
+DISTNAME= ispell-3.1
+MASTER_SITES= ftp://ftp.math.orst.edu/pub/ispell-3.1/
+
+MAKE_FLAGS= TMPDIR=${.CURDIR} -f
+
+pre-install:
+ @mkdir -p ${PREFIX}/bin
+ @mkdir -p ${PREFIX}/lib
+ @mkdir -p ${PREFIX}/man/man1
+ @mkdir -p ${PREFIX}/man/man4
+
+.include <bsd.port.mk>
diff --git a/textproc/ispell/pkg-comment b/textproc/ispell/pkg-comment
new file mode 100644
index 000000000000..5e4ea8bc2c7d
--- /dev/null
+++ b/textproc/ispell/pkg-comment
@@ -0,0 +1 @@
+Ispell - an interactive spelling checker. version 3.1
diff --git a/textproc/ispell/pkg-descr b/textproc/ispell/pkg-descr
new file mode 100644
index 000000000000..1ea398f916bf
--- /dev/null
+++ b/textproc/ispell/pkg-descr
@@ -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. Ispell can also handle languages
+other than English.
+
diff --git a/textproc/ispell/pkg-plist b/textproc/ispell/pkg-plist
new file mode 100644
index 000000000000..48188b26a6da
--- /dev/null
+++ b/textproc/ispell/pkg-plist
@@ -0,0 +1,27 @@
+@cd /usr/local
+@owner bin
+@mode 755
+bin/buildhash
+bin/findaffix
+bin/icombine
+bin/ijoin
+bin/ispell
+bin/munchlist
+bin/sq
+bin/tryaffix
+bin/unsq
+@mode 644
+lib/american.hash
+lib/americanmed+.hash
+lib/english.aff
+lib/english.hash
+man/man1/buildhash.1
+man/man1/findaffix.1
+man/man1/ispell.1
+man/man1/munchlist.1
+man/man1/sq.1
+man/man1/tryaffix.1
+man/man1/unsq.1
+man/man4/ispell.4
+man/man4/english.4
+
diff --git a/textproc/ispell/scripts/configure b/textproc/ispell/scripts/configure
new file mode 100644
index 000000000000..d4207ea04b80
--- /dev/null
+++ b/textproc/ispell/scripts/configure
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+cd $WRKSRC || exit 1;
+
+sed -e s:/usr/local:$PREFIX: <local.h.samp >local.h || exit 1;
+echo '#define LANGUAGES "{american,MASTERDICTS=american.med+,HASHFILES=americanmed+.hash,EXTRADICT=/usr/share/dict/words}"' >>local.h ||exit 1;
+
+exit 0;