summaryrefslogtreecommitdiff
path: root/audio/mad
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-08-25 19:21:43 +0000
committerjlam <jlam@pkgsrc.org>2002-08-25 19:21:43 +0000
commitefb93b17bd48d49105d00f52887445a53f7cd60b (patch)
treec69c41be2f3b44bedceeee7e348c2ae58c476c6a /audio/mad
parent653dc760d3901b3c7e67803c589352e8353a5030 (diff)
downloadpkgsrc-efb93b17bd48d49105d00f52887445a53f7cd60b.tar.gz
Merge changes in packages from the buildlink2 branch that have
buildlink2.mk files back into the main trunk.
Diffstat (limited to 'audio/mad')
-rw-r--r--audio/mad/PLIST2
-rw-r--r--audio/mad/buildlink.mk2
-rw-r--r--audio/mad/buildlink2.mk25
3 files changed, 27 insertions, 2 deletions
diff --git a/audio/mad/PLIST b/audio/mad/PLIST
index 4e40350e490..978badedff0 100644
--- a/audio/mad/PLIST
+++ b/audio/mad/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2002/07/31 10:41:15 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2002/08/25 19:21:53 jlam Exp $
bin/abxtest
bin/madplay
include/id3tag.h
diff --git a/audio/mad/buildlink.mk b/audio/mad/buildlink.mk
index 8423d9ad218..839a68c9d7b 100644
--- a/audio/mad/buildlink.mk
+++ b/audio/mad/buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink.mk,v 1.1 2002/05/28 00:05:08 fredb Exp $
+# $NetBSD: buildlink.mk,v 1.2 2002/08/25 19:21:53 jlam Exp $
#
# This Makefile fragment is included by packages that use mad.
#
diff --git a/audio/mad/buildlink2.mk b/audio/mad/buildlink2.mk
new file mode 100644
index 00000000000..5a59ad34e5f
--- /dev/null
+++ b/audio/mad/buildlink2.mk
@@ -0,0 +1,25 @@
+# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 19:21:54 jlam Exp $
+
+.if !defined(MAD_BUILDLINK2_MK)
+MAD_BUILDLINK2_MK= # defined
+
+BUILDLINK_PACKAGES+= mad
+BUILDLINK_DEPENDS.mad?= mad>=0.14.2b
+BUILDLINK_PKGSRCDIR.mad?= ../../audio/mad
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.mad=mad
+BUILDLINK_PREFIX.mad_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.mad= include/id3tag.h
+BUILDLINK_FILES.mad+= include/mad.h
+BUILDLINK_FILES.mad+= lib/libid3tag.*
+BUILDLINK_FILES.mad+= lib/libmad.*
+
+#.include "../../audio/libaudiofile/buildlink2.mk"
+.include "../../audio/esound/buildlink2.mk"
+.include "../../devel/gettext-lib/buildlink2.mk"
+
+BUILDLINK_TARGETS+= mad-buildlink
+
+mad-buildlink: _BUILDLINK_USE
+
+.endif # MAD_BUILDLINK2_MK