Upgrade to 0.50.4.1 and split aspell proper into "core".
This commit is contained in:
parent
b227ab628b
commit
fa8711522d
55
textproc/aspell/core/Makefile
Normal file
55
textproc/aspell/core/Makefile
Normal file
@ -0,0 +1,55 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2003/11/21 03:41:35 jolan Exp $
|
||||
|
||||
COMMENT= "spell checker designed to eventually replace Ispell"
|
||||
VER= 0.50.4.1
|
||||
DISTNAME= aspell-${VER}
|
||||
DIST_SUBDIR= aspell
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= ${MASTER_SITE_GNU:=aspell/}
|
||||
MASTER_SITES0= ${MASTER_SITE_GNU:=aspell/dicts/en/}
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} aspell-en-0.51-0.tar.bz2:0
|
||||
|
||||
HOMEPAGE= http://aspell.sourceforge.net/
|
||||
|
||||
MAINTAINER= Jolan Luff <jolan@openbsd.org>
|
||||
|
||||
# GPL
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MODULES= gcc3
|
||||
MODGCC3_ARCHES= sparc64
|
||||
MODGCC3_LANGS= C++
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ARGS+=${CONFIGURE_SHARED} --enable-static
|
||||
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
DICTS= en-0.51-0
|
||||
|
||||
post-build:
|
||||
.for i in ${DICTS}
|
||||
${ECHO_MSG} "===> Building for aspell-$i"; \
|
||||
cd ${WRKDIR}/aspell-$i; \
|
||||
ASPELL=${WRKSRC}/prog/aspell \
|
||||
WORD_LIST_COMPRESS=${WRKSRC}/prog/word-list-compress \
|
||||
./configure; \
|
||||
for i in ${WRKSRC}/data/*.dat; do ln -sf $$i; done; \
|
||||
ASPELL=${WRKSRC}/src/aspell \
|
||||
WORD_LIST_COMPRESS=${WRKSRC}/src/word-list-compress \
|
||||
${MAKE} ${MAKE_FLAGS}
|
||||
.endfor
|
||||
|
||||
post-install:
|
||||
.for i in ${DICTS}
|
||||
${ECHO_MSG} "===> Faking installation for aspell-$i"; \
|
||||
cd ${WRKDIR}/aspell-$i; \
|
||||
ASPELL=${WRKSRC}/prog/aspell \
|
||||
WORD_LIST_COMPRESS=${WRKSRC}/prog/word-list-compress \
|
||||
${MAKE} ${FAKE_FLAGS} install
|
||||
.endfor
|
||||
|
||||
.include <bsd.port.mk>
|
6
textproc/aspell/core/distinfo
Normal file
6
textproc/aspell/core/distinfo
Normal file
@ -0,0 +1,6 @@
|
||||
MD5 (aspell/aspell-0.50.4.1.tar.gz) = 1370b8c628b63f79af63589d40fe27ec
|
||||
MD5 (aspell/aspell-en-0.51-0.tar.bz2) = 8f1eab27d02e44b15c833d5a7b24f9cd
|
||||
RMD160 (aspell/aspell-0.50.4.1.tar.gz) = 19b4f46e6437f3bdb75fdf175e8a8b77146b8079
|
||||
RMD160 (aspell/aspell-en-0.51-0.tar.bz2) = a704aa47ee8e972f94d22c778415cdcd7af153b8
|
||||
SHA1 (aspell/aspell-0.50.4.1.tar.gz) = d948a1571c38094b920b593de70bff2f2b7d5741
|
||||
SHA1 (aspell/aspell-en-0.51-0.tar.bz2) = a1420be50b8d6e4d619e40a58c34fa94ce60d83e
|
93
textproc/aspell/core/patches/patch-ltmain_sh
Normal file
93
textproc/aspell/core/patches/patch-ltmain_sh
Normal file
@ -0,0 +1,93 @@
|
||||
$OpenBSD: patch-ltmain_sh,v 1.1.1.1 2003/11/21 03:41:35 jolan Exp $
|
||||
--- ltmain.sh.orig 2003-05-23 06:03:59.000000000 -0500
|
||||
+++ ltmain.sh 2003-11-20 16:42:40.000000000 -0600
|
||||
@@ -1287,6 +1287,17 @@ EOF
|
||||
continue
|
||||
;;
|
||||
|
||||
+ -pthread)
|
||||
+ case $host in
|
||||
+ *-*-openbsd*)
|
||||
+ deplibs="$deplibs $arg"
|
||||
+ ;;
|
||||
+ *)
|
||||
+ continue
|
||||
+ ;;
|
||||
+ esac
|
||||
+ ;;
|
||||
+
|
||||
-module)
|
||||
module=yes
|
||||
continue
|
||||
@@ -1958,6 +1969,19 @@ EOF
|
||||
fi
|
||||
continue
|
||||
;;
|
||||
+ -pthread)
|
||||
+ case $linkmode in
|
||||
+ lib)
|
||||
+ deplibs="$deplib $deplibs"
|
||||
+ newdependency_libs="$deplib $newdependency_libs"
|
||||
+ ;;
|
||||
+ prog)
|
||||
+ compile_deplibs="$deplib $compile_deplibs"
|
||||
+ finalize_deplibs="$deplib $finalize_deplibs"
|
||||
+ ;;
|
||||
+ esac
|
||||
+ continue
|
||||
+ ;;
|
||||
%DEPLIBS%)
|
||||
alldeplibs=yes
|
||||
continue
|
||||
@@ -2206,10 +2230,6 @@ EOF
|
||||
link_static=no # Whether the deplib will be linked statically
|
||||
if test -n "$library_names" &&
|
||||
{ test "$prefer_static_libs" = no || test -z "$old_library"; }; then
|
||||
- if test "$installed" = no; then
|
||||
- notinst_deplibs="$notinst_deplibs $lib"
|
||||
- need_relink=yes
|
||||
- fi
|
||||
# This is a shared library
|
||||
|
||||
# Warn about portability, can't link against -module's on some systems (darwin)
|
||||
@@ -5696,40 +5716,6 @@ relink_command=\"$relink_command\""
|
||||
# Exit here if they wanted silent mode.
|
||||
test "$show" = : && exit 0
|
||||
|
||||
- $echo "----------------------------------------------------------------------"
|
||||
- $echo "Libraries have been installed in:"
|
||||
- for libdir in $libdirs; do
|
||||
- $echo " $libdir"
|
||||
- done
|
||||
- $echo
|
||||
- $echo "If you ever happen to want to link against installed libraries"
|
||||
- $echo "in a given directory, LIBDIR, you must either use libtool, and"
|
||||
- $echo "specify the full pathname of the library, or use the \`-LLIBDIR'"
|
||||
- $echo "flag during linking and do at least one of the following:"
|
||||
- if test -n "$shlibpath_var"; then
|
||||
- $echo " - add LIBDIR to the \`$shlibpath_var' environment variable"
|
||||
- $echo " during execution"
|
||||
- fi
|
||||
- if test -n "$runpath_var"; then
|
||||
- $echo " - add LIBDIR to the \`$runpath_var' environment variable"
|
||||
- $echo " during linking"
|
||||
- fi
|
||||
- if test -n "$hardcode_libdir_flag_spec"; then
|
||||
- libdir=LIBDIR
|
||||
- eval flag=\"$hardcode_libdir_flag_spec\"
|
||||
-
|
||||
- $echo " - use the \`$flag' linker flag"
|
||||
- fi
|
||||
- if test -n "$admincmds"; then
|
||||
- $echo " - have your system administrator run these commands:$admincmds"
|
||||
- fi
|
||||
- if test -f /etc/ld.so.conf; then
|
||||
- $echo " - have your system administrator add LIBDIR to \`/etc/ld.so.conf'"
|
||||
- fi
|
||||
- $echo
|
||||
- $echo "See any operating system documentation about shared libraries for"
|
||||
- $echo "more information, such as the ld(1) and ld.so(8) manual pages."
|
||||
- $echo "----------------------------------------------------------------------"
|
||||
exit 0
|
||||
;;
|
||||
|
9
textproc/aspell/core/pkg/DESCR
Normal file
9
textproc/aspell/core/pkg/DESCR
Normal file
@ -0,0 +1,9 @@
|
||||
Aspell is an Open Source spell checker designed to eventually replace
|
||||
Ispell. Its main feature is that it does a much better job of
|
||||
coming up with possible suggestions than Ispell does. In fact recent
|
||||
tests shows that it even does better than Microsoft Word 97's spell
|
||||
checker or just about any other spell checker I have seen. It also
|
||||
has support for checking (La)TeX and Html files, and run time support
|
||||
for other non English languages. Aspell also is a library however
|
||||
the recommend way to use aspell is through the Pspell library as
|
||||
the actual interface to the aspell library is constantly changing.
|
4
textproc/aspell/core/pkg/PFRAG.shared
Normal file
4
textproc/aspell/core/pkg/PFRAG.shared
Normal file
@ -0,0 +1,4 @@
|
||||
@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2003/11/21 03:41:35 jolan Exp $
|
||||
lib/libaspell.so.15.2
|
||||
lib/libpspell.so.15.2
|
||||
DYNLIBDIR(%D/lib)
|
124
textproc/aspell/core/pkg/PLIST
Normal file
124
textproc/aspell/core/pkg/PLIST
Normal file
@ -0,0 +1,124 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/11/21 03:41:35 jolan Exp $
|
||||
bin/aspell
|
||||
bin/aspell-import
|
||||
bin/pspell-config
|
||||
bin/run-with-aspell
|
||||
bin/word-list-compress
|
||||
include/aspell.h
|
||||
include/pspell/pspell.h
|
||||
lib/aspell/american-w-accents.alias
|
||||
lib/aspell/american.alias
|
||||
lib/aspell/british-w-accents.alias
|
||||
lib/aspell/british.alias
|
||||
lib/aspell/canadian-w-accents.alias
|
||||
lib/aspell/canadian.alias
|
||||
lib/aspell/en-only.rws
|
||||
lib/aspell/en.multi
|
||||
lib/aspell/en_CA-only.rws
|
||||
lib/aspell/en_CA-w-accents.multi
|
||||
lib/aspell/en_CA.multi
|
||||
lib/aspell/en_GB-only.rws
|
||||
lib/aspell/en_GB-w-accents.multi
|
||||
lib/aspell/en_GB.multi
|
||||
lib/aspell/en_US-only.rws
|
||||
lib/aspell/en_US-w-accents.multi
|
||||
lib/aspell/en_US.multi
|
||||
lib/aspell/english.alias
|
||||
lib/libaspell.a
|
||||
lib/libaspell.la
|
||||
lib/libpspell.a
|
||||
lib/libpspell.la
|
||||
share/aspell/ASCII.dat
|
||||
share/aspell/dvorak.kbd
|
||||
share/aspell/en.dat
|
||||
share/aspell/en_phonet.dat
|
||||
share/aspell/iso8859-1.dat
|
||||
share/aspell/iso8859-10.dat
|
||||
share/aspell/iso8859-13.dat
|
||||
share/aspell/iso8859-14.dat
|
||||
share/aspell/iso8859-15.dat
|
||||
share/aspell/iso8859-2.dat
|
||||
share/aspell/iso8859-3.dat
|
||||
share/aspell/iso8859-4.dat
|
||||
share/aspell/iso8859-5.dat
|
||||
share/aspell/iso8859-6.dat
|
||||
share/aspell/iso8859-7.dat
|
||||
share/aspell/iso8859-8.dat
|
||||
share/aspell/iso8859-9.dat
|
||||
share/aspell/ispell
|
||||
share/aspell/koi8-f.dat
|
||||
share/aspell/koi8-r.dat
|
||||
share/aspell/koi8-u.dat
|
||||
share/aspell/spell
|
||||
share/aspell/standard.kbd
|
||||
share/aspell/viscii.dat
|
||||
share/doc/aspell/dev-html/devel.css
|
||||
share/doc/aspell/dev-html/devel.html
|
||||
share/doc/aspell/dev-html/img1.png
|
||||
share/doc/aspell/dev-html/img2.png
|
||||
share/doc/aspell/dev-html/index.html
|
||||
share/doc/aspell/dev-html/nx_grp_g.png
|
||||
share/doc/aspell/dev-html/prev_g.png
|
||||
share/doc/aspell/dev-html/up_g.png
|
||||
share/doc/aspell/dev-text/devel.txt
|
||||
share/doc/aspell/dev-text/index.txt
|
||||
share/doc/aspell/devel.aux
|
||||
share/doc/aspell/devel.dvi
|
||||
share/doc/aspell/devel.tex
|
||||
share/doc/aspell/devel2.lyx
|
||||
share/doc/aspell/man-html/1_Introduction.html
|
||||
share/doc/aspell/man-html/2_Getting.html
|
||||
share/doc/aspell/man-html/3_Basic.html
|
||||
share/doc/aspell/man-html/4_Customizing.html
|
||||
share/doc/aspell/man-html/5_Working.html
|
||||
share/doc/aspell/man-html/6_Writing.html
|
||||
share/doc/aspell/man-html/7_Adding.html
|
||||
share/doc/aspell/man-html/8_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/contents.png
|
||||
share/doc/aspell/man-html/crossref.png
|
||||
share/doc/aspell/man-html/index.html
|
||||
share/doc/aspell/man-html/manual.css
|
||||
share/doc/aspell/man-html/manual.html
|
||||
share/doc/aspell/man-html/next.png
|
||||
share/doc/aspell/man-html/next_g.png
|
||||
share/doc/aspell/man-html/prev.png
|
||||
share/doc/aspell/man-html/prev_g.png
|
||||
share/doc/aspell/man-html/up.png
|
||||
share/doc/aspell/man-html/up_g.png
|
||||
share/doc/aspell/man-text/1_Introduction.txt
|
||||
share/doc/aspell/man-text/2_Getting.txt
|
||||
share/doc/aspell/man-text/3_Basic.txt
|
||||
share/doc/aspell/man-text/4_Customizing.txt
|
||||
share/doc/aspell/man-text/5_Working.txt
|
||||
share/doc/aspell/man-text/6_Writing.txt
|
||||
share/doc/aspell/man-text/7_Adding.txt
|
||||
share/doc/aspell/man-text/8_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
|
||||
%%SHARED%%
|
||||
@dirrm share/doc/aspell/man-text
|
||||
@dirrm share/doc/aspell/man-html
|
||||
@dirrm share/doc/aspell/dev-text
|
||||
@dirrm share/doc/aspell/dev-html
|
||||
@dirrm share/doc/aspell
|
||||
@dirrm share/aspell
|
||||
@dirrm lib/aspell
|
||||
@dirrm include/pspell
|
Loading…
Reference in New Issue
Block a user