summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-02-15 23:25:38 +0000
committerwiz <wiz@pkgsrc.org>2004-02-15 23:25:38 +0000
commit742cb32b1c4c2bedbaa016d64d863422431f173d (patch)
treee5fafa110dafa2e06d59517e0da00fb169a40a27 /textproc
parent984fbac7c08545b3c84333ad38a428534c71a5d2 (diff)
downloadpkgsrc-742cb32b1c4c2bedbaa016d64d863422431f173d.tar.gz
Convert to buildlink3.
Diffstat (limited to 'textproc')
-rw-r--r--textproc/enchant/Makefile8
-rw-r--r--textproc/enchant/buildlink3.mk25
2 files changed, 29 insertions, 4 deletions
diff --git a/textproc/enchant/Makefile b/textproc/enchant/Makefile
index bd215d43756..776a955f87c 100644
--- a/textproc/enchant/Makefile
+++ b/textproc/enchant/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2004/02/14 18:26:29 jmmv Exp $
+# $NetBSD: Makefile,v 1.5 2004/02/15 23:25:38 wiz Exp $
#
DISTNAME= enchant-1.1.3
@@ -9,12 +9,12 @@ MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://www.abisource.com/enchant/
COMMENT= Generic spell checking library
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
USE_PKGLOCALEDIR= yes
USE_LIBTOOL= yes
PKGCONFIG_OVERRIDE+= enchant.pc.in
GNU_CONFIGURE= yes
-.include "../../devel/glib2/buildlink2.mk"
-.include "../../textproc/aspell/buildlink2.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../textproc/aspell/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/textproc/enchant/buildlink3.mk b/textproc/enchant/buildlink3.mk
new file mode 100644
index 00000000000..916738ff8a1
--- /dev/null
+++ b/textproc/enchant/buildlink3.mk
@@ -0,0 +1,25 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/15 23:25:38 wiz Exp $
+#
+# This Makefile fragment is included by packages that use enchant.
+#
+# This file was created automatically using createbuildlink-3.1.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+ENCHANT_BUILDLINK3_MK:= ${ENCHANT_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= enchant
+.endif
+
+.if !empty(ENCHANT_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= enchant
+BUILDLINK_DEPENDS.enchant+= enchant>=1.1.3
+BUILDLINK_PKGSRCDIR.enchant?= ../../textproc/enchant
+
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../textproc/aspell/buildlink3.mk"
+
+.endif # ENCHANT_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}