aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorflathill <flathill@FreeBSD.org>1998-12-25 00:29:00 +0800
committerflathill <flathill@FreeBSD.org>1998-12-25 00:29:00 +0800
commitc7b3e65a924cc8287801aac2ac7e7f75647010ff (patch)
tree75542b2e4f3f5b8b77ce753c8e206653fbef69ae /textproc
parent126dd762b976579ae7fe8237e6b718dabe5ac242 (diff)
downloadfreebsd-ports-gnome-c7b3e65a924cc8287801aac2ac7e7f75647010ff.tar.gz
freebsd-ports-gnome-c7b3e65a924cc8287801aac2ac7e7f75647010ff.tar.zst
freebsd-ports-gnome-c7b3e65a924cc8287801aac2ac7e7f75647010ff.zip
PR: ports/9072
Submitted by: josh@quick.net Spelling checker with better suggestion logic than ispell
Diffstat (limited to 'textproc')
-rw-r--r--textproc/aspell/Makefile46
-rw-r--r--textproc/aspell/distinfo2
-rw-r--r--textproc/aspell/files/patch-aa42
-rw-r--r--textproc/aspell/pkg-comment1
-rw-r--r--textproc/aspell/pkg-descr11
-rw-r--r--textproc/aspell/pkg-plist52
6 files changed, 154 insertions, 0 deletions
diff --git a/textproc/aspell/Makefile b/textproc/aspell/Makefile
new file mode 100644
index 000000000000..06835de6217e
--- /dev/null
+++ b/textproc/aspell/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: aspell
+# Version required: .24
+# Date created: 7 December 1998
+# Whom: Josh Gilliam <josh@quick.net>
+#
+# $Id$
+#
+
+DISTNAME= aspell-.24
+PKGNAME= aspell-0.24
+CATEGORIES= textproc
+MASTER_SITES= http://metalab.unc.edu/kevina/aspell/ \
+ ftp://ftp.kddlabs.co.jp/pub/Tools/aspell/ \
+ ftp://maroon.webmaster.com/pub/aspell/
+
+MAINTAINER= josh@quick.net
+
+BUILD_DEPENDS= ${PREFIX}/include/stlport/hash_map:${PORTSDIR}/devel/stlport
+
+WRKSRC= ${WRKDIR}/aspell
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CXXFLAGS="${CXXFLAGS} -I${PREFIX}/include/stlport"
+USE_GMAKE= yes
+MAKE_ARGS= NOPORTDOCS=${NOPORTDOCS}
+
+WORDLIST?= /usr/share/dict/words
+
+.if !exists(${WORDLIST})
+WORDLIST= ${WRKSRC}/english.wl
+.endif
+
+post-patch:
+ @${MV} ${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in.pre_sed
+ @${SED} -e 's%@WORDLIST@%${WORDLIST}%' \
+ < ${WRKSRC}/Makefile.in.pre_sed > ${WRKSRC}/Makefile.in
+ @${ECHO_MSG} "===> Using ${WORDLIST} as English word list."
+
+pre-install:
+ @${RM} -f ${WRKSRC}/man-html/3_aspell.html \
+ ${WRKSRC}/man-html/4_Libray.html \
+ ${WRKSRC}/man-html/manual2.html \
+ ${WRKSRC}/man-text/3_aspell.txt \
+ ${WRKSRC}/man-text/4_Libray.txt \
+ ${WRKSRC}/man-text/manual2.txt
+
+.include <bsd.port.mk>
diff --git a/textproc/aspell/distinfo b/textproc/aspell/distinfo
new file mode 100644
index 000000000000..6b7349867f66
--- /dev/null
+++ b/textproc/aspell/distinfo
@@ -0,0 +1,2 @@
+MD5 (aspell-.24.tar.gz) = f14d48761e860f9717917e09cf29de6e
+MD5 (aspell-.24.tar.gz) = 32b057baece3fd999bf7d5cb5f772b7d
diff --git a/textproc/aspell/files/patch-aa b/textproc/aspell/files/patch-aa
new file mode 100644
index 000000000000..8551c42f6f0d
--- /dev/null
+++ b/textproc/aspell/files/patch-aa
@@ -0,0 +1,42 @@
+--- Makefile.in~ Sat Nov 7 22:33:18 1998
++++ Makefile.in Mon Dec 7 00:15:58 1998
+@@ -70,7 +70,7 @@
+ RANLIB = @RANLIB@
+ VERSION = @VERSION@
+
+-pkgdocdir = ${prefix}/doc/aspell
++pkgdocdir = ${datadir}/doc/aspell
+
+ AUTOMAKE_OPTIONS = foreign
+
+@@ -101,7 +101,9 @@
+
+ pkgdoc_DATA = manual.dvi manual.tex manual2.lyx manual.aux
+
++ifndef NOPORTDOCS
+ SUBDIRS = man-html man-text
++endif
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = as_config.h
+@@ -520,7 +522,11 @@
+
+ install-exec-am: install-libLTLIBRARIES install-binPROGRAMS
+
++ifndef NOPORTDOCS
+ install-data-am: install-pkgdataDATA install-pkgdocDATA install-includeHEADERS
++else
++install-data-am: install-pkgdataDATA install-includeHEADERS
++endif
+
+ uninstall-am: uninstall-libLTLIBRARIES uninstall-binPROGRAMS uninstall-pkgdataDATA uninstall-pkgdocDATA uninstall-includeHEADERS
+
+@@ -623,7 +629,7 @@
+ MAINTAINERCLEANFILES += manual.dvi manual.log manual.aux
+
+ english.wrd english.mta: aspell english.wl
+- ./aspell master english < english.wl
++ ./aspell master english < @WORDLIST@
+
+ manual manual.dvi: manual.tex
+ perl man-proc.pl
diff --git a/textproc/aspell/pkg-comment b/textproc/aspell/pkg-comment
new file mode 100644
index 000000000000..a899df6a5960
--- /dev/null
+++ b/textproc/aspell/pkg-comment
@@ -0,0 +1 @@
+Spelling checker with better suggestion logic than ispell
diff --git a/textproc/aspell/pkg-descr b/textproc/aspell/pkg-descr
new file mode 100644
index 000000000000..159d7fa41bd0
--- /dev/null
+++ b/textproc/aspell/pkg-descr
@@ -0,0 +1,11 @@
+Aspell is a spelling checker designed to eventually replace
+ispell, although it currently lacks many of ispell's basic
+functions. Aspell's main feature is that it does a much better
+job of coming up with possible suggestions than ispell. Aspell
+also includes a powerful C++ library with C and Perl interfaces
+in the works.
+
+http://metalab.unc.edu/kevina/aspell/
+
+--
+Josh Gilliam <josh@quick.net>
diff --git a/textproc/aspell/pkg-plist b/textproc/aspell/pkg-plist
new file mode 100644
index 000000000000..084082d9fb35
--- /dev/null
+++ b/textproc/aspell/pkg-plist
@@ -0,0 +1,52 @@
+bin/aspell
+include/as_check.hh
+include/as_config.h
+include/as_convert.hh
+include/as_error.hh
+include/aspell.hh
+include/const_string.hh
+include/hash_string.hh
+lib/libaspell.a
+lib/libaspell.la
+lib/libaspell.so
+lib/libaspell.so.0
+share/aspell/english.mta
+share/aspell/english.wrd
+share/doc/aspell/man-html/1_Introduction.html
+share/doc/aspell/man-html/2_Getting.html
+share/doc/aspell/man-html/3_Aspell.html
+share/doc/aspell/man-html/4_Library.html
+share/doc/aspell/man-html/5_International.html
+share/doc/aspell/man-html/6_How.html
+share/doc/aspell/man-html/A_Changelog.html
+share/doc/aspell/man-html/About_this.html
+share/doc/aspell/man-html/B_Do.html
+share/doc/aspell/man-html/C_Credits.html
+share/doc/aspell/man-html/Contents.html
+share/doc/aspell/man-html/D_Glossary.html
+share/doc/aspell/man-html/E_Copyright.html
+share/doc/aspell/man-html/index.html
+share/doc/aspell/man-html/manual.html
+share/doc/aspell/man-text/1_Introduction.txt
+share/doc/aspell/man-text/2_Getting.txt
+share/doc/aspell/man-text/3_Aspell.txt
+share/doc/aspell/man-text/4_Library.txt
+share/doc/aspell/man-text/5_International.txt
+share/doc/aspell/man-text/6_How.txt
+share/doc/aspell/man-text/A_Changelog.txt
+share/doc/aspell/man-text/About_this.txt
+share/doc/aspell/man-text/B_Do.txt
+share/doc/aspell/man-text/C_Credits.txt
+share/doc/aspell/man-text/Contents.txt
+share/doc/aspell/man-text/D_Glossary.txt
+share/doc/aspell/man-text/E_Copyright.txt
+share/doc/aspell/man-text/index.txt
+share/doc/aspell/man-text/manual.txt
+share/doc/aspell/manual.aux
+share/doc/aspell/manual.dvi
+share/doc/aspell/manual.tex
+share/doc/aspell/manual2.lyx
+@dirrm share/aspell
+@dirrm share/doc/aspell/man-html
+@dirrm share/doc/aspell/man-text
+@dirrm share/doc/aspell