summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
Diffstat (limited to 'converters')
-rw-r--r--converters/fribidi/Makefile6
-rw-r--r--converters/fribidi/buildlink3.mk22
2 files changed, 25 insertions, 3 deletions
diff --git a/converters/fribidi/Makefile b/converters/fribidi/Makefile
index 622c02b168d..fa37c6550a0 100644
--- a/converters/fribidi/Makefile
+++ b/converters/fribidi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2004/02/14 18:26:27 jmmv Exp $
+# $NetBSD: Makefile,v 1.4 2004/02/15 20:01:11 wiz Exp $
#
DISTNAME= fribidi-0.10.4
@@ -10,7 +10,7 @@ MAINTAINER= xtraeme@NetBSD.org
HOMEPAGE= http://fribidi.sourceforge.net/
COMMENT= Free Implementation of the Unicode Bidirectional Algorithm
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
@@ -18,5 +18,5 @@ PKGCONFIG_OVERRIDE= fribidi.pc.in
TEST_TARGET= check
-.include "../../devel/pkgconfig/buildlink2.mk"
+.include "../../devel/pkgconfig/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/converters/fribidi/buildlink3.mk b/converters/fribidi/buildlink3.mk
new file mode 100644
index 00000000000..1ba055e8a70
--- /dev/null
+++ b/converters/fribidi/buildlink3.mk
@@ -0,0 +1,22 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/15 20:01:11 wiz Exp $
+#
+# This Makefile fragment is included by packages that use fribidi.
+#
+# This file was created automatically using createbuildlink-3.1.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+FRIBIDI_BUILDLINK3_MK:= ${FRIBIDI_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= fribidi
+.endif
+
+.if !empty(FRIBIDI_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= fribidi
+BUILDLINK_DEPENDS.fribidi+= fribidi>=0.10.4
+BUILDLINK_PKGSRCDIR.fribidi?= ../../converters/fribidi
+
+.endif # FRIBIDI_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}