summaryrefslogtreecommitdiff
path: root/audio/xmms
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-08-16 00:25:52 +0000
committerhubertf <hubertf@pkgsrc.org>2001-08-16 00:25:52 +0000
commit6b21cc97f0c9c5c2fea3a5c138cd4f6cae7577ef (patch)
tree930bcd98f2c591182978bfa3f1844d61a3398712 /audio/xmms
parent08871b37384077b6af7d3eb52c6ec0bf7ab26826 (diff)
downloadpkgsrc-6b21cc97f0c9c5c2fea3a5c138cd4f6cae7577ef.tar.gz
Add xmms buildlink so xmms plugins can use it.
(Nothing useful in the pipe yet... seems our Mesa doesn't play nice with the threads code xmms uses)
Diffstat (limited to 'audio/xmms')
-rw-r--r--audio/xmms/buildlink.mk34
1 files changed, 34 insertions, 0 deletions
diff --git a/audio/xmms/buildlink.mk b/audio/xmms/buildlink.mk
new file mode 100644
index 00000000000..690ca12a425
--- /dev/null
+++ b/audio/xmms/buildlink.mk
@@ -0,0 +1,34 @@
+# $NetBSD: buildlink.mk,v 1.1 2001/08/16 00:25:52 hubertf Exp $
+#
+# This Makefile fragment is included by packages that use libxmms.
+#
+# To use this Makefile fragment, simply:
+#
+# (1) Optionally define BUILDLINK_DEPENDS.xmms to the dependency pattern
+# for the version of libxmms desired.
+# (2) Include this Makefile fragment in the package Makefile,
+# (3) Add ${BUILDLINK_DIR}/include to the front of the C preprocessor's header
+# search path, and
+# (4) Add ${BUILDLINK_DIR}/lib to the front of the linker's library search
+# path.
+
+.if !defined(XMMS_BUILDLINK_MK)
+XMMS_BUILDLINK_MK= # defined
+
+.include "../../mk/bsd.buildlink.mk"
+
+BUILDLINK_DEPENDS.xmms?= xmms>=1.2.5
+DEPENDS+= ${BUILDLINK_DEPENDS.xmms}:../../audio/xmms
+
+EVAL_PREFIX+= BUILDLINK_PREFIX.xmms=xmms
+BUILDLINK_PREFIX.xmms_DEFAULT= ${LOCALBASE}
+BUILDLINK_FILES.xmms= include/xmms/*
+BUILDLINK_FILES.xmms+= lib/libxmms.*
+
+BUILDLINK_TARGETS.xmms= xmms-buildlink
+BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.xmms}
+
+pre-configure: ${BUILDLINK_TARGETS.xmms}
+xmms-buildlink: _BUILDLINK_USE
+
+.endif # XMMS_BUILDLINK_MK