summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorwiz <wiz>2007-09-11 17:40:29 +0000
committerwiz <wiz>2007-09-11 17:40:29 +0000
commitfe314933fa07596c285dcdb8332c394bd03c3017 (patch)
tree55e7227473219b5f2b73edc9a4e41697d705b366 /textproc
parent1eca0417b215842d89186a36e1bd323f216da600 (diff)
downloadpkgsrc-fe314933fa07596c285dcdb8332c394bd03c3017.tar.gz
Initial import of hunspell-1.12.2, packaged for pkgsrc-wip by Adam Hoka,
updated to latest version by me: Hunspell is the default spell checker of OpenOffice.org office suite and expectant spell checker of Mozilla Firefox and Thunderbird. Main features: * Unicode support. * Conditional and multiple affixes for languages with rich morphology. * Extended compound word support. * Morphological analysis (in custom item and arrangement style). * Hunspell is based on MySpell and works also with MySpell dictionaries. * GPL/LGPL/MPL tri-license
Diffstat (limited to 'textproc')
-rw-r--r--textproc/hunspell/DESCR11
-rw-r--r--textproc/hunspell/Makefile27
-rw-r--r--textproc/hunspell/PLIST32
-rw-r--r--textproc/hunspell/distinfo5
-rw-r--r--textproc/hunspell/options.mk17
5 files changed, 92 insertions, 0 deletions
diff --git a/textproc/hunspell/DESCR b/textproc/hunspell/DESCR
new file mode 100644
index 00000000000..6e6186be035
--- /dev/null
+++ b/textproc/hunspell/DESCR
@@ -0,0 +1,11 @@
+Hunspell is the default spell checker of OpenOffice.org office suite
+and expectant spell checker of Mozilla Firefox and Thunderbird.
+
+Main features:
+
+ * Unicode support.
+ * Conditional and multiple affixes for languages with rich morphology.
+ * Extended compound word support.
+ * Morphological analysis (in custom item and arrangement style).
+ * Hunspell is based on MySpell and works also with MySpell dictionaries.
+ * GPL/LGPL/MPL tri-license
diff --git a/textproc/hunspell/Makefile b/textproc/hunspell/Makefile
new file mode 100644
index 00000000000..2356e1c0918
--- /dev/null
+++ b/textproc/hunspell/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/09/11 17:40:29 wiz Exp $
+#
+
+DISTNAME= hunspell-1.1.12-2
+PKGNAME= ${DISTNAME:C/-([0-9]+)$/.\1/}
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hunspell/}
+
+MAINTAINER= adam.hoka@gmail.com
+HOMEPAGE= http://hunspell.sourceforge.net/
+COMMENT= Improved spellchecker
+
+WRKSRC= ${WRKDIR}/${DISTNAME:C/-[0-9]+$//}
+GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+USE_TOOLS+= pkg-config
+USE_PKGLOCALEDIR= yes
+USE_LANGUAGES= c c++
+
+CONFIGURE_ARGS+= --with-ui
+
+PKGCONFIG_OVERRIDE+= hunspell.pc.in
+
+.include "options.mk"
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/hunspell/PLIST b/textproc/hunspell/PLIST
new file mode 100644
index 00000000000..13d1237f916
--- /dev/null
+++ b/textproc/hunspell/PLIST
@@ -0,0 +1,32 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/09/11 17:40:29 wiz Exp $
+bin/example
+bin/hunspell
+bin/munch
+bin/unmunch
+include/hunspell/affentry.hxx
+include/hunspell/affixmgr.hxx
+include/hunspell/atypes.hxx
+include/hunspell/baseaffix.hxx
+include/hunspell/csutil.hxx
+include/hunspell/dictmgr.hxx
+include/hunspell/hashmgr.hxx
+include/hunspell/htypes.hxx
+include/hunspell/hunspell.h
+include/hunspell/hunspell.hxx
+include/hunspell/langnum.hxx
+include/hunspell/phonet.hxx
+include/hunspell/suggestmgr.hxx
+include/munch.h
+include/unmunch.h
+lib/libhunspell-1.1.la
+lib/libparsers.a
+lib/pkgconfig/hunspell.pc
+man/hu/man1/hunspell.1
+man/hu/man4/hunspell.4
+man/man1/hunspell.1
+man/man4/hunspell.4
+share/locale/hu/LC_MESSAGES/hunspell.mo
+@dirrm man/hu/man4
+@dirrm man/hu/man1
+@dirrm man/hu
+@dirrm include/hunspell
diff --git a/textproc/hunspell/distinfo b/textproc/hunspell/distinfo
new file mode 100644
index 00000000000..4ecbabafcdd
--- /dev/null
+++ b/textproc/hunspell/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/09/11 17:40:29 wiz Exp $
+
+SHA1 (hunspell-1.1.12-2.tar.gz) = 2bd8ff433f5d4d4901fc6592f7f340013017acf5
+RMD160 (hunspell-1.1.12-2.tar.gz) = 15250b47b2ef3f867fa6f114e1f5b09933474764
+Size (hunspell-1.1.12-2.tar.gz) = 731022 bytes
diff --git a/textproc/hunspell/options.mk b/textproc/hunspell/options.mk
new file mode 100644
index 00000000000..302e32f2ce7
--- /dev/null
+++ b/textproc/hunspell/options.mk
@@ -0,0 +1,17 @@
+# $NetBSD: options.mk,v 1.1.1.1 2007/09/11 17:40:29 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.hunspell
+PKG_OPTIONS_REQUIRED_GROUPS= display
+PKG_OPTIONS_GROUP.display= ncurses ncursesw
+PKG_SUGGESTED_OPTIONS= ncurses
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mncurses)
+USE_NCURSES= yes
+. include "../../devel/ncurses/buildlink3.mk"
+.endif
+
+.if !empty(PKG_OPTIONS:Mncursesw)
+. include "../../devel/ncursesw/buildlink3.mk"
+.endif