summaryrefslogtreecommitdiff
path: root/textproc/aspell/buildlink2.mk
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/aspell/buildlink2.mk')
-rw-r--r--textproc/aspell/buildlink2.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/textproc/aspell/buildlink2.mk b/textproc/aspell/buildlink2.mk
new file mode 100644
index 00000000000..0c32ea994f8
--- /dev/null
+++ b/textproc/aspell/buildlink2.mk
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink2.mk,v 1.1 2003/01/15 00:23:55 salo Exp $
+#
+# This Makefile fragment is included by packages that use aspell.
+#
+
+.if !defined(ASPELL_BUILDLINK2_MK)
+ASPELL_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= aspell
+BUILDLINK_DEPENDS.aspell?= aspell>=0.50.3
+BUILDLINK_PKGSRCDIR.aspell?= ../../textproc/aspell
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.aspell=aspell
+BUILDLINK_PREFIX.aspell_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.aspell+= include/aspell.h
+BUILDLINK_FILES.aspell+= include/pspell/pspell.h
+BUILDLINK_FILES.aspell+= lib/libaspell.*
+BUILDLINK_FILES.aspell+= lib/libpspell.*
+
+BUILDLINK_TARGETS+= aspell-buildlink
+
+aspell-buildlink: _BUILDLINK_USE
+
+.endif # ASPELL_BUILDLINK2_MK