summaryrefslogtreecommitdiff
path: root/textproc/enchant
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-09-17 21:11:35 +0000
committerwiz <wiz@pkgsrc.org>2003-09-17 21:11:35 +0000
commitb3e0dd0286651d82d3dcbe1fd973f6ad8c32550c (patch)
treeb261ac5418b764f876700ade2517feec5753fb13 /textproc/enchant
parent84c9dfbe44dcaa78c72abffdcb6eed6ff9a2cecf (diff)
downloadpkgsrc-b3e0dd0286651d82d3dcbe1fd973f6ad8c32550c.tar.gz
Initial import of enchant, a generic spell checking library.
The project aims to provide an efficient extensible abstraction for dealing with different spell checking libraries. Enchant is meant to provide a generic interface into various existing spell checking libaries. These include, but are not limited to: * Aspell/Pspell * Ispell * Hspell * Uspell Enchant is also meant to be used in a cross-platform (XP) environment. Part of this means that Enchant wants to limit its number of external dependencies to 0, or as close is as humanly possible. Also, any enchant consumer (i.e. a Word Processor) should not need to know about what backend providers Enchant knows about. In fact, Enchant shouldn't even need to know this information itself. To accomplish this, all of Enchant's providers are DLLs. Enchant is also meant to be used in a multi-user environment, such as Unix. It is preferable to have both a $USER and a $GLOBAL location for both provider DLLs and for dictionaries themselves, when possible. Enchant's DLL location algorithm takes this into account, and gives preference to the $USER DLLs, when found.
Diffstat (limited to 'textproc/enchant')
-rw-r--r--textproc/enchant/DESCR23
-rw-r--r--textproc/enchant/Makefile21
-rw-r--r--textproc/enchant/PLIST29
-rw-r--r--textproc/enchant/buildlink2.mk33
-rw-r--r--textproc/enchant/distinfo4
5 files changed, 110 insertions, 0 deletions
diff --git a/textproc/enchant/DESCR b/textproc/enchant/DESCR
new file mode 100644
index 00000000000..07228d4b0da
--- /dev/null
+++ b/textproc/enchant/DESCR
@@ -0,0 +1,23 @@
+The project aims to provide an efficient extensible abstraction
+for dealing with different spell checking libraries.
+
+Enchant is meant to provide a generic interface into various existing
+spell checking libaries. These include, but are not limited to:
+ * Aspell/Pspell
+ * Ispell
+ * Hspell
+ * Uspell
+
+Enchant is also meant to be used in a cross-platform (XP) environment.
+Part of this means that Enchant wants to limit its number of external
+dependencies to 0, or as close is as humanly possible. Also, any
+enchant consumer (i.e. a Word Processor) should not need to know
+about what backend providers Enchant knows about. In fact, Enchant
+shouldn't even need to know this information itself. To accomplish
+this, all of Enchant's providers are DLLs.
+
+Enchant is also meant to be used in a multi-user environment, such
+as Unix. It is preferable to have both a $USER and a $GLOBAL
+location for both provider DLLs and for dictionaries themselves,
+when possible. Enchant's DLL location algorithm takes this into
+account, and gives preference to the $USER DLLs, when found.
diff --git a/textproc/enchant/Makefile b/textproc/enchant/Makefile
new file mode 100644
index 00000000000..fc073536b78
--- /dev/null
+++ b/textproc/enchant/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/09/17 21:11:35 wiz Exp $
+#
+
+DISTNAME= enchant-0.4.0
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=abiword/}
+
+MAINTAINER= wiz@NetBSD.org
+HOMEPAGE= http://abiword.sourceforge.net/enchant/
+COMMENT= Generic spell checking library
+
+USE_BUILDLINK2= yes
+USE_PKGLOCALEDIR= yes
+USE_LIBTOOL= yes
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+PKGCONFIG_OVERRIDE+= ${WRKSRC}/enchant.pc.in
+GNU_CONFIGURE= yes
+
+.include "../../devel/glib2/buildlink2.mk"
+.include "../../textproc/aspell/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/enchant/PLIST b/textproc/enchant/PLIST
new file mode 100644
index 00000000000..4e9b601a506
--- /dev/null
+++ b/textproc/enchant/PLIST
@@ -0,0 +1,29 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/09/17 21:11:35 wiz Exp $
+bin/enchant
+bin/enchant-lsmod
+include/enchant/enchant++.h
+include/enchant/enchant-provider.h
+include/enchant/enchant.h
+lib/enchant/libenchant_aspell.a
+lib/enchant/libenchant_aspell.la
+lib/enchant/libenchant_aspell.so
+lib/enchant/libenchant_aspell.so.4
+lib/enchant/libenchant_aspell.so.4.0
+lib/enchant/libenchant_ispell.a
+lib/enchant/libenchant_ispell.la
+lib/enchant/libenchant_ispell.so
+lib/enchant/libenchant_ispell.so.4
+lib/enchant/libenchant_ispell.so.4.0
+lib/enchant/libenchant_myspell.a
+lib/enchant/libenchant_myspell.la
+lib/enchant/libenchant_myspell.so
+lib/enchant/libenchant_myspell.so.4
+lib/enchant/libenchant_myspell.so.4.0
+lib/libenchant.a
+lib/libenchant.la
+lib/libenchant.so
+lib/libenchant.so.4
+lib/libenchant.so.4.0
+lib/pkgconfig/enchant.pc
+@dirrm lib/enchant
+@dirrm include/enchant
diff --git a/textproc/enchant/buildlink2.mk b/textproc/enchant/buildlink2.mk
new file mode 100644
index 00000000000..8c1e5e3bfa7
--- /dev/null
+++ b/textproc/enchant/buildlink2.mk
@@ -0,0 +1,33 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2003/09/17 21:11:35 wiz Exp $
+#
+# This Makefile fragment is included by packages that use enchant.
+#
+# This file was created automatically using createbuildlink 2.6.
+#
+
+.if !defined(ENCHANT_BUILDLINK2_MK)
+ENCHANT_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= enchant
+BUILDLINK_DEPENDS.enchant?= enchant>=0.4.0
+BUILDLINK_PKGSRCDIR.enchant?= ../../textproc/enchant
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.enchant=enchant
+BUILDLINK_PREFIX.enchant_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.enchant+= include/enchant/enchant++.h
+BUILDLINK_FILES.enchant+= include/enchant/enchant-provider.h
+BUILDLINK_FILES.enchant+= include/enchant/enchant.h
+BUILDLINK_FILES.enchant+= lib/enchant/libenchant_aspell.*
+BUILDLINK_FILES.enchant+= lib/enchant/libenchant_ispell.*
+BUILDLINK_FILES.enchant+= lib/enchant/libenchant_myspell.*
+BUILDLINK_FILES.enchant+= lib/libenchant.*
+BUILDLINK_FILES.enchant+= lib/pkgconfig/enchant.pc
+
+.include "../../devel/glib2/buildlink2.mk"
+.include "../../textproc/aspell/buildlink2.mk"
+
+BUILDLINK_TARGETS+= enchant-buildlink
+
+enchant-buildlink: _BUILDLINK_USE
+
+.endif # ENCHANT_BUILDLINK2_MK
diff --git a/textproc/enchant/distinfo b/textproc/enchant/distinfo
new file mode 100644
index 00000000000..aeab0430ea8
--- /dev/null
+++ b/textproc/enchant/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/09/17 21:11:35 wiz Exp $
+
+SHA1 (enchant-0.4.0.tar.gz) = 702e4159a47539f21b017f44a8d0448f05b16482
+Size (enchant-0.4.0.tar.gz) = 291880 bytes