summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorhubertf <hubertf>2001-08-16 00:25:52 +0000
committerhubertf <hubertf>2001-08-16 00:25:52 +0000
commitd8dc168d5e835ba2275c8212e14f30c703cee8f9 (patch)
tree930bcd98f2c591182978bfa3f1844d61a3398712 /audio
parent393506b543f613fc8fcae243d269e4564ca2ad68 (diff)
downloadpkgsrc-d8dc168d5e835ba2275c8212e14f30c703cee8f9.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')
-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