View | Details | Raw Unified | Return to bug 214837 | Differences between
and this patch

Collapse All | Expand All

(-)b/textproc/hunspell/Makefile (-4 / +5 lines)
Lines 2-11 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	hunspell
4
PORTNAME=	hunspell
5
PORTVERSION=	1.3.3
5
PORTVERSION=	1.5.0
6
DISTVERSIONPREFIX=	v
6
CATEGORIES=	textproc
7
CATEGORIES=	textproc
7
MASTER_SITES=	SF/${PORTNAME}/Hunspell/${PORTVERSION}
8
DIST_SUBDIR=	${PORTNAME}
9
8
10
MAINTAINER=	office@FreeBSD.org
9
MAINTAINER=	office@FreeBSD.org
11
COMMENT=	Improved spell-checker for Hungarian and other languages
10
COMMENT=	Improved spell-checker for Hungarian and other languages
Lines 14-22 LICENSE= GPLv2 LGPL21 MPL Link Here
14
LICENSE_COMB=	dual
13
LICENSE_COMB=	dual
15
14
16
CONFLICTS_INSTALL=	tinker-[0-9]*
15
CONFLICTS_INSTALL=	tinker-[0-9]*
16
17
USES=		autoreconf iconv libtool:keepla ncurses pathfix perl5 readline shebangfix
18
USE_GITHUB=	yes
17
CONFIGURE_ARGS=	--disable-nls ${ICONV_CONFIGURE_ARG} --with-readline --with-ui
19
CONFIGURE_ARGS=	--disable-nls ${ICONV_CONFIGURE_ARG} --with-readline --with-ui
18
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
19
USES=		libtool:keepla pathfix iconv ncurses readline shebangfix perl5
20
SHEBANG_FILES=	src/tools/ispellaff2myspell
21
SHEBANG_FILES=	src/tools/ispellaff2myspell
21
USE_LDCONFIG=	yes
22
USE_LDCONFIG=	yes
22
USE_PERL5=	run
23
USE_PERL5=	run
(-)b/textproc/hunspell/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (hunspell/hunspell-1.3.3.tar.gz) = a7b2c0de0e2ce17426821dc1ac8eb115029959b3ada9d80a81739fa19373246c
1
TIMESTAMP = 1479584668
2
SIZE (hunspell/hunspell-1.3.3.tar.gz) = 986081
2
SHA256 (hunspell-hunspell-v1.5.0_GH0.tar.gz) = b74f2df1aafdbc1f0941d721d7895da4b27b85bba7a4c699a9209477cbbf1f59
3
SIZE (hunspell-hunspell-v1.5.0_GH0.tar.gz) = 1110171
(-)a/textproc/hunspell/files/patch-configure (-26 lines)
Removed Link Here
1
--- configure.orig	2013-05-17 01:18:45.000000000 +0300
2
+++ configure	2013-05-17 01:26:35.000000000 +0300
3
@@ -11880,6 +11880,7 @@
4
 
5
   # Allow CC to be a program name with arguments.
6
   lt_save_CC=$CC
7
+  lt_save_CFLAGS=$CFLAGS
8
   lt_save_LD=$LD
9
   lt_save_GCC=$GCC
10
   GCC=$GXX
11
@@ -11897,6 +11898,7 @@
12
   fi
13
   test -z "${LDCXX+set}" || LD=$LDCXX
14
   CC=${CXX-"c++"}
15
+  CFLAGS=$CXXFLAGS
16
   compiler=$CC
17
   compiler_CXX=$CC
18
   for cc_temp in $compiler""; do
19
@@ -14618,6 +14620,7 @@
20
   fi # test -n "$compiler"
21
 
22
   CC=$lt_save_CC
23
+  CFLAGS=$lt_save_CFLAGS
24
   LDCXX=$LD
25
   LD=$lt_save_LD
26
   GCC=$lt_save_GCC
(-)b/textproc/hunspell/files/patch-src_tools_hunspell.cxx (-27 / +33 lines)
Lines 1-34 Link Here
1
--- ./src/tools/hunspell.cxx.orig	2011-01-21 18:01:29.000000000 +0100
1
--- src/tools/hunspell.cxx.orig	2016-11-19 19:44:28 UTC
2
+++ ./src/tools/hunspell.cxx	2011-07-19 07:16:58.346225286 +0200
2
+++ src/tools/hunspell.cxx
3
@@ -61,28 +61,23 @@
3
@@ -111,28 +111,23 @@
4
 #include "firstparser.hxx"
4
 #include "odfparser.hxx"
5
 
5
 
6
 #define LIBDIR \
6
 #define LIBDIR                \
7
-    "/usr/share/hunspell:" \
7
-  "/usr/share/hunspell:"      \
8
-    "/usr/share/myspell:" \
8
-  "/usr/share/myspell:"       \
9
-    "/usr/share/myspell/dicts:" \
9
-  "/usr/share/myspell/dicts:" \
10
-    "/Library/Spelling"
10
-  "/Library/Spelling"
11
-#define USEROOODIR                    \
12
-  ".openoffice.org/3/user/wordbook:"  \
13
-  ".openoffice.org2/user/wordbook:"   \
14
-  ".openoffice.org2.0/user/wordbook:" \
15
-  "Library/Spelling"
16
-#define OOODIR                                       \
17
-  "/opt/openoffice.org/basis3.0/share/dict/ooo:"     \
18
-  "/usr/lib/openoffice.org/basis3.0/share/dict/ooo:" \
19
-  "/opt/openoffice.org2.4/share/dict/ooo:"           \
20
-  "/usr/lib/openoffice.org2.4/share/dict/ooo:"       \
21
-  "/opt/openoffice.org2.3/share/dict/ooo:"           \
22
-  "/usr/lib/openoffice.org2.3/share/dict/ooo:"       \
23
-  "/opt/openoffice.org2.2/share/dict/ooo:"           \
24
-  "/usr/lib/openoffice.org2.2/share/dict/ooo:"       \
25
-  "/opt/openoffice.org2.1/share/dict/ooo:"           \
26
-  "/usr/lib/openoffice.org2.1/share/dict/ooo:"       \
27
-  "/opt/openoffice.org2.0/share/dict/ooo:"           \
28
-  "/usr/lib/openoffice.org2.0/share/dict/ooo"
11
+    "%%PREFIX%%/share/hunspell:" \
29
+    "%%PREFIX%%/share/hunspell:" \
12
+    "%%PREFIX%%/share/myspell:" \
30
+    "%%PREFIX%%/share/myspell:" \
13
+    "%%PREFIX%%/share/myspell/dicts:"
31
+    "%%PREFIX%%/share/myspell/dicts:"
14
 #define USEROOODIR \
32
+#define USEROOODIR \
15
     ".openoffice.org/3/user/wordbook:" \
33
+    ".openoffice.org/3/user/wordbook:" \
16
     ".openoffice.org2/user/wordbook:" \
34
+    ".openoffice.org2/user/wordbook:" \
17
     ".openoffice.org2.0/user/wordbook:" \
35
+    ".openoffice.org2.0/user/wordbook:" \
18
     "Library/Spelling"
36
+    "Library/Spelling"
19
 #define OOODIR \
37
+#define OOODIR \
20
-    "/opt/openoffice.org/basis3.0/share/dict/ooo:" \
21
-    "/usr/lib/openoffice.org/basis3.0/share/dict/ooo:" \
22
-    "/opt/openoffice.org2.4/share/dict/ooo:" \
23
-    "/usr/lib/openoffice.org2.4/share/dict/ooo:" \
24
-    "/opt/openoffice.org2.3/share/dict/ooo:" \
25
-    "/usr/lib/openoffice.org2.3/share/dict/ooo:" \
26
-    "/opt/openoffice.org2.2/share/dict/ooo:" \
27
-    "/usr/lib/openoffice.org2.2/share/dict/ooo:" \
28
-    "/opt/openoffice.org2.1/share/dict/ooo:" \
29
-    "/usr/lib/openoffice.org2.1/share/dict/ooo:" \
30
-    "/opt/openoffice.org2.0/share/dict/ooo:" \
31
-    "/usr/lib/openoffice.org2.0/share/dict/ooo"
32
+    "%%PREFIX%%/openoffice.org3/share/dict/ooo:" \
38
+    "%%PREFIX%%/openoffice.org3/share/dict/ooo:" \
33
+    "%%PREFIX%%/openoffice.org-3.0.0/share/dict/ooo:" \
39
+    "%%PREFIX%%/openoffice.org-3.0.0/share/dict/ooo:" \
34
+    "%%PREFIX%%/openoffice.org-2.4.2/share/dict/ooo:" \
40
+    "%%PREFIX%%/openoffice.org-2.4.2/share/dict/ooo:" \
(-)b/textproc/hunspell/pkg-descr (-2 / +5 lines)
Lines 1-4 Link Here
1
Hunspell is a widely used spell checker
1
Hunspell is the spell checker of LibreOffice, OpenOffice.org, Mozilla
2
Firefox 3 & Thunderbird, Google Chrome, and it is also used by
3
proprietary software packages, like Mac OS X, InDesign, memoQ, Opera
4
and SDL Trados.
2
5
3
Main features:
6
Main features:
4
- Extended support for language peculiarities; Unicode character encoding,
7
- Extended support for language peculiarities; Unicode character encoding,
Lines 9-12 Main features: Link Here
9
- Hunspell is based on MySpell and works also with MySpell dictionaries.
12
- Hunspell is based on MySpell and works also with MySpell dictionaries.
10
- C++ library under GPL/LGPL/MPL tri-license.
13
- C++ library under GPL/LGPL/MPL tri-license.
11
14
12
WWW: http://hunspell.sourceforge.net/
15
WWW: https://hunspell.github.io/
(-)b/textproc/hunspell/pkg-plist (-19 / +5 lines)
Lines 10-38 bin/munch Link Here
10
bin/unmunch
10
bin/unmunch
11
bin/wordforms
11
bin/wordforms
12
bin/wordlist2hunspell
12
bin/wordlist2hunspell
13
include/hunspell/affentry.hxx
14
include/hunspell/affixmgr.hxx
15
include/hunspell/atypes.hxx
16
include/hunspell/baseaffix.hxx
17
include/hunspell/csutil.hxx
18
include/hunspell/dictmgr.hxx
19
include/hunspell/filemgr.hxx
20
include/hunspell/hashmgr.hxx
21
include/hunspell/htypes.hxx
22
include/hunspell/hunspell.h
13
include/hunspell/hunspell.h
23
include/hunspell/hunspell.hxx
14
include/hunspell/hunspell.hxx
24
include/hunspell/hunvisapi.h
15
include/hunspell/hunvisapi.h
25
include/hunspell/hunzip.hxx
26
include/hunspell/langnum.hxx
27
include/hunspell/phonet.hxx
28
include/hunspell/replist.hxx
29
include/hunspell/suggestmgr.hxx
30
include/hunspell/w_char.hxx
16
include/hunspell/w_char.hxx
31
lib/libhunspell-1.3.a
17
lib/libhunspell-1.5.a
32
lib/libhunspell-1.3.la
18
lib/libhunspell-1.5.la
33
lib/libhunspell-1.3.so
19
lib/libhunspell-1.5.so
34
lib/libhunspell-1.3.so.0
20
lib/libhunspell-1.5.so.0
35
lib/libhunspell-1.3.so.0.0.0
21
lib/libhunspell-1.5.so.0.0.0
36
libdata/pkgconfig/hunspell.pc
22
libdata/pkgconfig/hunspell.pc
37
man/hu/man1/hunspell.1.gz
23
man/hu/man1/hunspell.1.gz
38
man/man1/hunspell.1.gz
24
man/man1/hunspell.1.gz

Return to bug 214837