summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--graphics/ogle/buildlink2.mk20
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/ogle/buildlink2.mk b/graphics/ogle/buildlink2.mk
new file mode 100644
index 00000000000..f407c2b79d5
--- /dev/null
+++ b/graphics/ogle/buildlink2.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink2.mk,v 1.1 2002/09/22 09:57:54 jlam Exp $
+
+.if !defined(OGLE_BUILDLINK2_MK)
+OGLE_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= ogle
+BUILDLINK_DEPENDS.ogle?= ogle>=0.8.5
+BUILDLINK_PKGSRCDIR.ogle?= ../../graphics/ogle
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.ogle=ogle
+BUILDLINK_PREFIX.ogle_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.ogle= include/ogle/*.h
+BUILDLINK_FILES.ogle+= lib/ogle/libmsgevents.*
+BUILDLINK_FILES.ogle+= lib/ogle/libdvdcontrol.*
+
+BUILDLINK_TARGETS+= ogle-buildlink
+
+ogle-buildlink: _BUILDLINK_USE
+
+.endif # OGLE_BUILDLINK2_MK