summaryrefslogtreecommitdiff
path: root/textproc/enchant/buildlink2.mk
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/buildlink2.mk
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/buildlink2.mk')
-rw-r--r--textproc/enchant/buildlink2.mk33
1 files changed, 33 insertions, 0 deletions
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