summaryrefslogtreecommitdiff
path: root/net/libIDL/buildlink2.mk
diff options
context:
space:
mode:
Diffstat (limited to 'net/libIDL/buildlink2.mk')
-rw-r--r--net/libIDL/buildlink2.mk23
1 files changed, 23 insertions, 0 deletions
diff --git a/net/libIDL/buildlink2.mk b/net/libIDL/buildlink2.mk
new file mode 100644
index 00000000000..2a54cc28945
--- /dev/null
+++ b/net/libIDL/buildlink2.mk
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 19:23:12 jlam Exp $
+
+.if !defined(LIBIDL2_BUILDLINK2_MK)
+LIBIDL2_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= idl
+BUILDLINK_DEPENDS.idl?= libIDL>=0.7.4nb1
+BUILDLINK_PKGSRCDIR.idl?= ../../net/libIDL
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.idl=idl
+BUILDLINK_PREFIX.idl_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.idl= include/libIDL-2.0/libIDL/*
+BUILDLINK_FILES.idl+= lib/libIDL-2.*
+
+.include "../../converters/libiconv/buildlink2.mk"
+.include "../../devel/glib2/buildlink2.mk"
+.include "../../devel/pkgconfig/buildlink2.mk"
+
+BUILDLINK_TARGETS+= idl-buildlink
+
+idl-buildlink: _BUILDLINK_USE
+
+.endif # LIBIDL2_BUILDLINK2_MK