Hi,

Update hunspell to 1.3.2.  
This removes groff as the pages are fine with mandoc and updates the dictionary 
paths to libreoffice. Needed by some other update I'm working on.
Comments? OK?

f.-

Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/hunspell/Makefile,v
retrieving revision 1.6
diff -u -p -r1.6 Makefile
--- Makefile    20 Nov 2010 19:56:48 -0000      1.6
+++ Makefile    9 Mar 2013 06:39:00 -0000
@@ -2,21 +2,18 @@
 
 COMMENT =      spelling, stemming, morphological analysis and generation
 
-DISTNAME =     hunspell-1.2.12
+DISTNAME =     hunspell-1.3.2
 
-SHARED_LIBS =  hunspell-1.2    0.0 #   .0.0
+SHARED_LIBS =  hunspell-1.3    0.0 #   .0.0
 
 CATEGORIES =   textproc
 
-HOMEPAGE =     http://hunspell.sourceforge.net
+HOMEPAGE =     http://hunspell.sourceforge.net/
 
 MAINTAINER =   Edd Barrett <[email protected]>
 
 # GPL/LGPL/MPL
 PERMIT_PACKAGE_CDROM = Yes
-PERMIT_PACKAGE_FTP =   Yes
-PERMIT_DISTFILES_CDROM =Yes
-PERMIT_DISTFILES_FTP = Yes
 
 WANTLIB += c m ncurses ncursesw readline stdc++
 
@@ -32,7 +29,6 @@ CONFIGURE_ARGS =      ${CONFIGURE_SHARED} \
                        --with-readline
 
 USE_LIBTOOL =          yes
-USE_GROFF =            Yes
 
 # default dictionary
 RUN_DEPENDS =          textproc/mozilla-dicts,-en-GB
Index: distinfo
===================================================================
RCS file: /cvs/ports/textproc/hunspell/distinfo,v
retrieving revision 1.2
diff -u -p -r1.2 distinfo
--- distinfo    14 Nov 2010 14:25:23 -0000      1.2
+++ distinfo    9 Mar 2013 06:39:00 -0000
@@ -1,5 +1,2 @@
-MD5 (hunspell-1.2.12.tar.gz) = XvLcECZmDQ/7fq57URruIw==
-RMD160 (hunspell-1.2.12.tar.gz) = Q733wG0G6PmDt8zojnHfgzwizRM=
-SHA1 (hunspell-1.2.12.tar.gz) = Ciq0seFcPa0/BfR00a4V7jYcNfg=
-SHA256 (hunspell-1.2.12.tar.gz) = X1kqcRLfIRTOx3JXTyg3y53kmea/nTXfMnpCqz6CDmk=
-SIZE (hunspell-1.2.12.tar.gz) = 969894
+SHA256 (hunspell-1.3.2.tar.gz) = tO3UpO6UTLn0hbNUc+Rrcp7XaOnSTajnjkxMbKVq3b0=
+SIZE (hunspell-1.3.2.tar.gz) = 975917
Index: patches/patch-man_hunspell_1
===================================================================
RCS file: /cvs/ports/textproc/hunspell/patches/patch-man_hunspell_1,v
retrieving revision 1.2
diff -u -p -r1.2 patch-man_hunspell_1
--- patches/patch-man_hunspell_1        14 Nov 2010 14:25:23 -0000      1.2
+++ patches/patch-man_hunspell_1        9 Mar 2013 06:39:02 -0000
@@ -1,7 +1,7 @@
 $OpenBSD: patch-man_hunspell_1,v 1.2 2010/11/14 14:25:23 sthen Exp $
---- man/hunspell.1.orig        Tue Feb 23 11:02:17 2010
-+++ man/hunspell.1     Sat Sep 25 11:47:18 2010
-@@ -366,10 +366,10 @@ following environment variables are searched: LC_ALL,
+--- man/hunspell.1.orig        Fri Jan 21 16:53:05 2011
++++ man/hunspell.1     Tue Mar  5 20:17:54 2013
+@@ -369,10 +369,10 @@ following environment variables are searched: LC_ALL,
  LC_MESSAGES, and LANG. If none are set then the following
  fallbacks are used:
  
Index: patches/patch-src_tools_hunspell_cxx
===================================================================
RCS file: /cvs/ports/textproc/hunspell/patches/patch-src_tools_hunspell_cxx,v
retrieving revision 1.2
diff -u -p -r1.2 patch-src_tools_hunspell_cxx
--- patches/patch-src_tools_hunspell_cxx        14 Nov 2010 14:25:24 -0000      
1.2
+++ patches/patch-src_tools_hunspell_cxx        9 Mar 2013 06:39:02 -0000
@@ -1,21 +1,24 @@
-$OpenBSD: patch-src_tools_hunspell_cxx,v 1.2 2010/11/14 14:25:24 sthen Exp $
---- src/tools/hunspell.cxx.orig        Mon Jul  5 11:06:21 2010
-+++ src/tools/hunspell.cxx     Sat Sep 25 11:45:07 2010
-@@ -61,26 +61,17 @@
+$OpenBSD$
+--- src/tools/hunspell.cxx.orig        Fri Jan 21 17:01:29 2011
++++ src/tools/hunspell.cxx     Tue Mar  5 22:56:02 2013
+@@ -61,28 +61,14 @@
  #include "firstparser.hxx"
  
  #define LIBDIR \
 -    "/usr/share/hunspell:" \
 -    "/usr/share/myspell:" \
--    "/usr/share/myspell/dicts"
+-    "/usr/share/myspell/dicts:" \
+-    "/Library/Spelling"
 +    "${PREFIX}/share/hunspell:" \
 +    "${LOCALBASE}/share/myspell:" \
 +    "${LOCALBASE}/share/myspell/dicts:" \
 +    "${LOCALBASE}/share/mozilla-dicts"
  #define USEROOODIR \
-     ".openoffice.org/3/user/wordbook:" \
-     ".openoffice.org2/user/wordbook:" \
-     ".openoffice.org2.0/user/wordbook"
+-    ".openoffice.org/3/user/wordbook:" \
+-    ".openoffice.org2/user/wordbook:" \
+-    ".openoffice.org2.0/user/wordbook:" \
+-    "Library/Spelling"
++    ".config/libreoffice/3/user/wordbook"
  #define OOODIR \
 -    "/opt/openoffice.org/basis3.0/share/dict/ooo:" \
 -    "/usr/lib/openoffice.org/basis3.0/share/dict/ooo:" \
@@ -29,8 +32,7 @@ $OpenBSD: patch-src_tools_hunspell_cxx,v
 -    "/usr/lib/openoffice.org2.1/share/dict/ooo:" \
 -    "/opt/openoffice.org2.0/share/dict/ooo:" \
 -    "/usr/lib/openoffice.org2.0/share/dict/ooo"
-+    "${LOCALBASE}/openoffice.org3/share/extension/install:" \
-+    "${LOCALBASE}/openoffice/share/dict/ooo"
++    "${LOCALBASE}/lib/libreoffice/share/wordbook"
  #define HOME getenv("HOME")
  #define DICBASENAME ".hunspell_"
  #define LOGFILE "/tmp/hunspell.log"
Index: pkg/PFRAG.shared
===================================================================
RCS file: pkg/PFRAG.shared
diff -N pkg/PFRAG.shared
--- pkg/PFRAG.shared    13 Jun 2009 07:48:53 -0000      1.1.1.1
+++ /dev/null   1 Jan 1970 00:00:00 -0000
@@ -1,2 +0,0 @@
-@comment $OpenBSD: PFRAG.shared,v 1.1.1.1 2009/06/13 07:48:53 ajacoutot Exp $
-@lib lib/libhunspell-1.2.so.${LIBhunspell-1.2_VERSION}
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/textproc/hunspell/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -r1.2 PLIST
--- pkg/PLIST   14 Nov 2010 14:25:24 -0000      1.2
+++ pkg/PLIST   9 Mar 2013 06:39:04 -0000
@@ -1,5 +1,4 @@
 @comment $OpenBSD: PLIST,v 1.2 2010/11/14 14:25:24 sthen Exp $
-%%SHARED%%
 bin/affixcompress
 @bin bin/analyze
 @bin bin/chmorph
@@ -31,8 +30,9 @@ include/hunspell/phonet.hxx
 include/hunspell/replist.hxx
 include/hunspell/suggestmgr.hxx
 include/hunspell/w_char.hxx
-lib/libhunspell-1.2.a
-lib/libhunspell-1.2.la
+lib/libhunspell-1.3.a
+lib/libhunspell-1.3.la
+@lib lib/libhunspell-1.3.so.${LIBhunspell-1.3_VERSION}
 lib/libparsers.a
 lib/pkgconfig/
 lib/pkgconfig/hunspell.pc

Reply via email to