1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Update to 1.6.1

Changes:	https://github.com/hunspell/hunspell/releases
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2017-03-26 21:25:01 +00:00
parent a7d205aef7
commit 40f2fd7190
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=437004
4 changed files with 30 additions and 31 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= hunspell
PORTVERSION= 1.6.0
PORTVERSION= 1.6.1
DISTVERSIONPREFIX= v
CATEGORIES= textproc
DIST_SUBDIR= ${PORTNAME}

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1482369634
SHA256 (hunspell/hunspell-hunspell-v1.6.0_GH0.tar.gz) = 512e7d2ee69dad0b35ca011076405e56e0f10963a02d4859dbcc4faf53ca68e2
SIZE (hunspell/hunspell-hunspell-v1.6.0_GH0.tar.gz) = 699377
TIMESTAMP = 1490542682
SHA256 (hunspell/hunspell-hunspell-v1.6.1_GH0.tar.gz) = 30f593733c50b794016bb03d31fd2a2071e4610c6fa4708e33edad2335102c49
SIZE (hunspell/hunspell-hunspell-v1.6.1_GH0.tar.gz) = 706893

View File

@ -1,18 +1,27 @@
--- src/tools/hunspell.cxx.orig 2016-11-28 10:34:55 UTC
--- src/tools/hunspell.cxx.orig 2017-03-25 21:20:45 UTC
+++ src/tools/hunspell.cxx
@@ -112,28 +112,23 @@
@@ -115,29 +115,23 @@
#include "xmlparser.hxx"
#include "odfparser.hxx"
#define LIBDIR \
-#define LIBDIR \
- "/usr/share/hunspell:" \
- "/usr/share/myspell:" \
- "/usr/share/myspell/dicts:" \
- "/Library/Spelling"
-#define USEROOODIR \
- ".openoffice.org/3/user/wordbook:" \
- ".openoffice.org2/user/wordbook:" \
- ".openoffice.org2.0/user/wordbook:" \
- "Library/Spelling"
+#define LIBDIR \
+ "%%PREFIX%%/share/hunspell:" \
+ "%%PREFIX%%/share/myspell:" \
+ "%%PREFIX%%/share/myspell/dicts:" \
"/Library/Spelling"
-#define USEROOODIR { \
- ".openoffice.org/3/user/wordbook", \
- ".openoffice.org2/user/wordbook", \
- ".openoffice.org2.0/user/wordbook",\
+#define USEROOODIR { \
+ ".openoffice.org/3/user/wordbook" \
+ ".openoffice.org2/user/wordbook" \
+ ".openoffice.org2.0/user/wordbook" \
"Library/Spelling" }
-#define OOODIR \
- "/opt/openoffice.org/basis3.0/share/dict/ooo:" \
- "/usr/lib/openoffice.org/basis3.0/share/dict/ooo:" \
@ -26,23 +35,13 @@
- "/usr/lib/openoffice.org2.1/share/dict/ooo:" \
- "/opt/openoffice.org2.0/share/dict/ooo:" \
- "/usr/lib/openoffice.org2.0/share/dict/ooo"
+ "%%PREFIX%%/share/hunspell:" \
+ "%%PREFIX%%/share/myspell:" \
+ "%%PREFIX%%/share/myspell/dicts:"
+#define USEROOODIR \
+ ".openoffice.org/3/user/wordbook:" \
+ ".openoffice.org2/user/wordbook:" \
+ ".openoffice.org2.0/user/wordbook:" \
+ "Library/Spelling"
+#define OOODIR \
+ "%%PREFIX%%/openoffice.org3/share/dict/ooo:" \
+ "%%PREFIX%%/openoffice.org-3.0.0/share/dict/ooo:" \
+ "%%PREFIX%%/openoffice.org-2.4.2/share/dict/ooo:" \
+ "%%PREFIX%%/openoffice.org-2.4.1/share/dict/ooo:" \
+ "%%PREFIX%%/openoffice.org-2.4/share/dict/ooo:" \
+ "%%PREFIX%%/openoffice.org-2.2/share/dict/ooo:" \
+ "%%PREFIX%%/openoffice.org-2.1/share/dict/ooo:" \
+ "%%PREFIX%%/openoffice.org2.0/share/dict/ooo:"
+#define OOODIR \
+ "%%PREFIX%%/openoffice.org/basis3.0/share/dict/ooo:" \
+ "%%PREFIX%%/openoffice.org2.4/share/dict/ooo:" \
+ "%%PREFIX%%/openoffice.org2.3/share/dict/ooo:" \
+ "%%PREFIX%%/openoffice.org2.2/share/dict/ooo:" \
+ "%%PREFIX%%/openoffice.org2.1/share/dict/ooo:" \
+ "%%PREFIX%%/openoffice.org2.0/share/dict/ooo"
#define HOME getenv("HOME")
#define DICBASENAME ".hunspell_"
#define LOGFILE "/tmp/hunspell.log"

View File

@ -21,7 +21,7 @@ lib/libhunspell-%%SHLIB_VER%%.a
lib/libhunspell-%%SHLIB_VER%%.la
lib/libhunspell-%%SHLIB_VER%%.so
lib/libhunspell-%%SHLIB_VER%%.so.0
lib/libhunspell-%%SHLIB_VER%%.so.0.0.0
lib/libhunspell-%%SHLIB_VER%%.so.0.0.1
libdata/pkgconfig/hunspell.pc
man/hu/man1/hunspell.1.gz
man/man1/hunspell.1.gz