summaryrefslogtreecommitdiff
path: root/audio/xmms
diff options
context:
space:
mode:
authorzuntum <zuntum@pkgsrc.org>2001-08-16 04:25:23 +0000
committerzuntum <zuntum@pkgsrc.org>2001-08-16 04:25:23 +0000
commit918ed9cdb423d100079c04a886da264933d9431d (patch)
tree38f263029af0d52181b7f714bcfb6754a1b688b5 /audio/xmms
parent0dfbc897e994a48c9460f448493fcb0f81114306 (diff)
downloadpkgsrc-918ed9cdb423d100079c04a886da264933d9431d.tar.gz
o add xmms-config support
o change package name from "libxmms" to "xmms" in description
Diffstat (limited to 'audio/xmms')
-rw-r--r--audio/xmms/buildlink.mk14
1 files changed, 12 insertions, 2 deletions
diff --git a/audio/xmms/buildlink.mk b/audio/xmms/buildlink.mk
index 8dde396d5e6..47dafa89a41 100644
--- a/audio/xmms/buildlink.mk
+++ b/audio/xmms/buildlink.mk
@@ -1,6 +1,6 @@
-# $NetBSD: buildlink.mk,v 1.2 2001/08/16 03:06:31 hubertf Exp $
+# $NetBSD: buildlink.mk,v 1.3 2001/08/16 04:25:23 zuntum Exp $
#
-# This Makefile fragment is included by packages that use libxmms.
+# This Makefile fragment is included by packages that use xmms.
#
# To use this Makefile fragment, simply:
#
@@ -33,9 +33,19 @@ BUILDLINK_FILES.xmms+= lib/libxmms.*
.include "../../x11/gtk/buildlink.mk"
BUILDLINK_TARGETS.xmms= xmms-buildlink
+BUILDLINK_TARGETS.xmms+=xmms-buildlink-config-wrapper
BUILDLINK_TARGETS+= ${BUILDLINK_TARGETS.xmms}
+BUILDLINK_CONFIG.xmms= ${BUILDLINK_PREFIX.xmms}/bin/xmms-config
+BUILDLINK_CONFIG_WRAPPER.xmms= ${BUILDLINK_DIR}/bin/xmms-config
+
+.if defined(USE_CONFIG_WRAPPER) && defined(GNU_CONFIGURE)
+XMMS_CONFIG?= ${BUILDLINK_CONFIG_WRAPPER.xmms}
+CONFIGURE_ENV+= XMMS_CONFIG="${XMMS_CONFIG}"
+.endif
+
pre-configure: ${BUILDLINK_TARGETS.xmms}
xmms-buildlink: _BUILDLINK_USE
+xmms-buildlink-config-wrapper: _BUILDLINK_CONFIG_WRAPPER_USE
.endif # XMMS_BUILDLINK_MK