summaryrefslogtreecommitdiff
path: root/multimedia/libdvdread/buildlink2.mk
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/libdvdread/buildlink2.mk')
-rw-r--r--multimedia/libdvdread/buildlink2.mk19
1 files changed, 19 insertions, 0 deletions
diff --git a/multimedia/libdvdread/buildlink2.mk b/multimedia/libdvdread/buildlink2.mk
new file mode 100644
index 00000000000..d25ebc4d0e0
--- /dev/null
+++ b/multimedia/libdvdread/buildlink2.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink2.mk,v 1.1.1.1 2004/01/28 14:29:01 recht Exp $
+
+.if !defined(LIBDVDREAD_BUILDLINK2_MK)
+LIBDVDREAD_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= libdvdread
+BUILDLINK_DEPENDS.libdvdread?= libdvdread>=0.9.4
+BUILDLINK_PKGSRCDIR.libdvdread?= ../../multimedia/libdvdread
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.libdvdread=libdvdread
+BUILDLINK_PREFIX.libdvdread= ${LOCALBASE}
+BUILDLINK_FILES.libdvdread= include/dvdread/*
+BUILDLINK_FILES.libdvdread+= lib/libdvdread.*
+
+BUILDLINK_TARGETS+= libdvdread-buildlink
+
+libdvdread-buildlink: _BUILDLINK_USE
+
+.endif # LIBDVDREAD_BUILDLINK2_MK