aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-11-06 10:13:04 +0800
committerjkh <jkh@FreeBSD.org>1994-11-06 10:13:04 +0800
commit8dc474b427edb33a451a0f9fb174201440528b21 (patch)
tree847f31c954d95b8c98b568fda9df17ded86c06d7
parentb11e253aeb944ca1d57293df80feb2b079bce830 (diff)
downloadfreebsd-ports-gnome-8dc474b427edb33a451a0f9fb174201440528b21.tar.gz
freebsd-ports-gnome-8dc474b427edb33a451a0f9fb174201440528b21.tar.zst
freebsd-ports-gnome-8dc474b427edb33a451a0f9fb174201440528b21.zip
Jean-Marc Zucconi's ispell port.
Submitted by: jmz
-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;