summaryrefslogtreecommitdiff
path: root/audio/rplay
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-02-22 16:48:11 +0000
committerminskim <minskim@pkgsrc.org>2004-02-22 16:48:11 +0000
commitae152d91d5261e39017683780f7d23929cbdeb66 (patch)
tree29fbe6955a21c2ecc2935217f160a289873603b8 /audio/rplay
parent2004a3975a71ed1c18a7f1f8ac95855328b8e25a (diff)
downloadpkgsrc-ae152d91d5261e39017683780f7d23929cbdeb66.tar.gz
bl3ify
Diffstat (limited to 'audio/rplay')
-rw-r--r--audio/rplay/Makefile10
-rw-r--r--audio/rplay/buildlink3.mk24
2 files changed, 29 insertions, 5 deletions
diff --git a/audio/rplay/Makefile b/audio/rplay/Makefile
index 20ccc36ba2b..f6be6636038 100644
--- a/audio/rplay/Makefile
+++ b/audio/rplay/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2003/08/09 10:29:56 seb Exp $
+# $NetBSD: Makefile,v 1.44 2004/02/22 16:51:07 minskim Exp $
#
DISTNAME= rplay-3.3.2
@@ -11,7 +11,7 @@ MAINTAINER= tech-pkg@NetBSD.org
HOMEPAGE= http://rplay.doit.org/
COMMENT= Network audio player
-USE_BUILDLINK2= YES
+USE_BUILDLINK3= YES
USE_PKGINSTALL= YES
USE_LIBTOOL= YES
GNU_CONFIGURE= YES
@@ -39,8 +39,8 @@ post-install:
.endfor
.undef f
-.include "../../audio/gsm/buildlink2.mk"
-.include "../../devel/readline/buildlink2.mk"
-.include "../../devel/rx/buildlink2.mk"
+.include "../../audio/gsm/buildlink3.mk"
+.include "../../devel/readline/buildlink3.mk"
+.include "../../devel/rx/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/audio/rplay/buildlink3.mk b/audio/rplay/buildlink3.mk
new file mode 100644
index 00000000000..2cd8b61aace
--- /dev/null
+++ b/audio/rplay/buildlink3.mk
@@ -0,0 +1,24 @@
+# $NetBSD: buildlink3.mk,v 1.1 2004/02/22 16:51:07 minskim Exp $
+#
+# This Makefile fragment is included by packages that use rplay.
+#
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+RPLAY_BUILDLINK3_MK:= ${RPLAY_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= rplay
+.endif
+
+.if !empty(RPLAY_BUILDLINK3_MK:M+)
+BUILDLINK_PACKAGES+= rplay
+BUILDLINK_DEPENDS.rplay+= rplay>=3.3.2nb1
+BUILDLINK_PKGSRCDIR.rplay?= ../../audio/rplay
+
+.include "../../audio/gsm/buildlink3.mk"
+.include "../../devel/readline/buildlink3.mk"
+.include "../../devel/rx/buildlink3.mk"
+
+.endif # RPLAY_BUILDLINK3_MK
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}