summaryrefslogtreecommitdiff
path: root/graphics/libwmf
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-08-25 19:21:43 +0000
committerjlam <jlam@pkgsrc.org>2002-08-25 19:21:43 +0000
commitefb93b17bd48d49105d00f52887445a53f7cd60b (patch)
treec69c41be2f3b44bedceeee7e348c2ae58c476c6a /graphics/libwmf
parent653dc760d3901b3c7e67803c589352e8353a5030 (diff)
downloadpkgsrc-efb93b17bd48d49105d00f52887445a53f7cd60b.tar.gz
Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
Diffstat (limited to 'graphics/libwmf')
-rw-r--r--graphics/libwmf/buildlink2.mk26
1 files changed, 26 insertions, 0 deletions
diff --git a/graphics/libwmf/buildlink2.mk b/graphics/libwmf/buildlink2.mk
new file mode 100644
index 00000000000..62f6464260f
--- /dev/null
+++ b/graphics/libwmf/buildlink2.mk
@@ -0,0 +1,26 @@
+# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 19:22:52 jlam Exp $
+
+.if !defined(LIBWMF_BUILDLINK2_MK)
+LIBWMF_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= libwmf
+BUILDLINK_DEPENDS.libwmf?= libwmf>=0.2.2nb1
+BUILDLINK_PKGSRCDIR.libwmf?= ../../graphics/libwmf
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.libwmf=libwmf
+BUILDLINK_PREFIX.libwmf_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.libwmf= include/libwmf/libwmf/*.h
+BUILDLINK_FILES.libwmf+= include/libwmf/libwmf/gd/*.h
+BUILDLINK_FILES.libwmf+= lib/libwmf-0.2.so*
+BUILDLINK_FILES.libwmf+= lib/libwmf.*
+
+.include "../../graphics/freetype2/buildlink2.mk"
+.include "../../graphics/png/buildlink2.mk"
+.include "../../graphics/xpm/buildlink2.mk"
+.include "../../textproc/libxml2/buildlink2.mk"
+
+BUILDLINK_TARGETS+= libwmf-buildlink
+
+libwmf-buildlink: _BUILDLINK_USE
+
+.endif # LIBWMF_BUILDLINK2_MK