summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-09-22 09:57:54 +0000
committerjlam <jlam@pkgsrc.org>2002-09-22 09:57:54 +0000
commit3988cbdbc4291ccffb8b29a7e29847f365c02832 (patch)
treeb5e88b14cd87069b3e488e74447ab5982bef9edf
parente576968c0fa32f2da76e02f5b24e0342acbf81ff (diff)
downloadpkgsrc-3988cbdbc4291ccffb8b29a7e29847f365c02832.tar.gz
Add a buildlink2.mk file for use by other package Makefiles.
-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