summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libdvbpsi/Makefile3
-rw-r--r--multimedia/libdvbpsi/buildlink3.mk18
-rw-r--r--multimedia/libdvdplay/Makefile6
-rw-r--r--multimedia/libdvdplay/buildlink3.mk20
4 files changed, 43 insertions, 4 deletions
diff --git a/multimedia/libdvbpsi/Makefile b/multimedia/libdvbpsi/Makefile
index 8d84f702130..fa6727910a9 100644
--- a/multimedia/libdvbpsi/Makefile
+++ b/multimedia/libdvbpsi/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2004/01/28 15:00:18 recht Exp $
+# $NetBSD: Makefile,v 1.2 2004/03/18 23:29:36 xtraeme Exp $
DISTNAME= libdvbpsi-0.1.3
CATEGORIES= multimedia
@@ -11,5 +11,6 @@ COMMENT= PSI decoder and generator library for MPEG2 and DVB streams
GNU_CONFIGURE= yes
USE_GNU_TOOLS+= make
USE_LIBTOOL= yes
+USE_BUILDLINK3= yes
.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/libdvbpsi/buildlink3.mk b/multimedia/libdvbpsi/buildlink3.mk
new file mode 100644
index 00000000000..8bed01039cf
--- /dev/null
+++ b/multimedia/libdvbpsi/buildlink3.mk
@@ -0,0 +1,18 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/03/18 23:29:36 xtraeme Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBDVBPSI_BUILDLINK3_MK:= ${LIBDVBPSI_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libdvbpsi
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibdvbpsi}
+BUILDLINK_PACKAGES+= libdvbpsi
+
+.if !empty(LIBDVBPSI_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libdvbpsi+= libdvbpsi>=0.1.3
+BUILDLINK_PKGSRCDIR.libdvbpsi?= ../../multimedia/libdvbpsi
+.endif # LIBDVBPSI_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/multimedia/libdvdplay/Makefile b/multimedia/libdvdplay/Makefile
index 9edb6bc5468..b004dafac5f 100644
--- a/multimedia/libdvdplay/Makefile
+++ b/multimedia/libdvdplay/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2004/02/14 17:21:45 jlam Exp $
+# $NetBSD: Makefile,v 1.3 2004/03/18 23:29:36 xtraeme Exp $
DISTNAME= libdvdplay-1.0.1
PKGREVISION= 1
@@ -12,7 +12,7 @@ COMMENT= Simple API library designed for DVD navigation
GNU_CONFIGURE= yes
USE_GNU_TOOLS+= make
USE_LIBTOOL= yes
-USE_BUILDLINK2= yes
+USE_BUILDLINK3= yes
-.include "../../multimedia/libdvdread/buildlink2.mk"
+.include "../../multimedia/libdvdread/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/multimedia/libdvdplay/buildlink3.mk b/multimedia/libdvdplay/buildlink3.mk
new file mode 100644
index 00000000000..0101e2bb164
--- /dev/null
+++ b/multimedia/libdvdplay/buildlink3.mk
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/03/18 23:29:36 xtraeme Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+LIBDVDPLAY_BUILDLINK3_MK:= ${LIBDVDPLAY_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= libdvdplay
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibdvdplay}
+BUILDLINK_PACKAGES+= libdvdplay
+
+.if !empty(LIBDVDPLAY_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.libdvdplay+= libdvdplay>=1.0.1
+BUILDLINK_PKGSRCDIR.libdvdplay?= ../../multimedia/libdvdplay
+.endif # LIBDVDPLAY_BUILDLINK3_MK
+
+.include "../../multimedia/libdvdread/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}