summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--converters/fribidi/Makefile6
-rw-r--r--converters/fribidi/buildlink3.mk22
-rw-r--r--graphics/libwmf/Makefile16
-rw-r--r--graphics/libwmf/buildlink3.mk29
4 files changed, 62 insertions, 11 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/+$//}
diff --git a/graphics/libwmf/Makefile b/graphics/libwmf/Makefile
index 61b3a28fbd3..614dba18c3e 100644
--- a/graphics/libwmf/Makefile
+++ b/graphics/libwmf/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.45 2004/02/14 17:21:43 jlam Exp $
+# $NetBSD: Makefile,v 1.46 2004/02/15 20:07:25 wiz Exp $
#
DISTNAME= libwmf-0.2.8
@@ -10,7 +10,7 @@ MAINTAINER= kei@NetBSD.org
HOMEPAGE= http://wvware.sourceforge.net/libwmf.html
COMMENT= Library for reading and converting WMF (Windows Meta Files)
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
GNU_CONFIGURE= YES
USE_X11= YES
USE_LIBTOOL= YES
@@ -20,10 +20,10 @@ CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc/html/libwmf
post-install:
${RMDIR} ${PREFIX}/include/libwmf/gd
-.include "../../devel/zlib/buildlink2.mk"
-.include "../../graphics/freetype2/buildlink2.mk"
-.include "../../graphics/jpeg/buildlink2.mk"
-.include "../../graphics/png/buildlink2.mk"
-.include "../../graphics/xpm/buildlink2.mk"
-.include "../../textproc/libxml2/buildlink2.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/xpm/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/libwmf/buildlink3.mk b/graphics/libwmf/buildlink3.mk
new file mode 100644
index 00000000000..03ed1148dde
--- /dev/null
+++ b/graphics/libwmf/buildlink3.mk
@@ -0,0 +1,29 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/15 20:07:25 wiz Exp $
+#
+# This Makefile fragment is included by packages that use libwmf.
+#
+# This file was created automatically using createbuildlink-3.1.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBWMF_BUILDLINK3_MK:= ${LIBWMF_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libwmf
+.endif
+
+.if !empty(LIBWMF_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= libwmf
+BUILDLINK_DEPENDS.libwmf+= libwmf>=0.2.8nb2
+BUILDLINK_PKGSRCDIR.libwmf?= ../../graphics/libwmf
+
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/jpeg/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../graphics/xpm/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+
+.endif # LIBWMF_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}