aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authornovel <novel@FreeBSD.org>2008-01-21 17:06:57 +0800
committernovel <novel@FreeBSD.org>2008-01-21 17:06:57 +0800
commit4e5d5a47498ae3bd3adccd58e3d785df3eb2f5e2 (patch)
tree72cbd43016844cf315b917e6ff00dc7c94a6e08f /sysutils
parentd34542b544b0599e3da6137386e55c26618ef3e0 (diff)
downloadfreebsd-ports-gnome-4e5d5a47498ae3bd3adccd58e3d785df3eb2f5e2.tar.gz
freebsd-ports-gnome-4e5d5a47498ae3bd3adccd58e3d785df3eb2f5e2.tar.zst
freebsd-ports-gnome-4e5d5a47498ae3bd3adccd58e3d785df3eb2f5e2.zip
Add WITH_XMMS2 knob which enables xmms2 support (off by default).
Submitted by: Amaury <amauryamaury@gmail.com> (with minor changes)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/conky-awesome/Makefile8
-rw-r--r--sysutils/conky/Makefile8
2 files changed, 16 insertions, 0 deletions
diff --git a/sysutils/conky-awesome/Makefile b/sysutils/conky-awesome/Makefile
index 4df683c777dd..3bb1a698aa6a 100644
--- a/sysutils/conky-awesome/Makefile
+++ b/sysutils/conky-awesome/Makefile
@@ -64,6 +64,13 @@ CONFIGURE_ARGS+= --enable-mpd
CONFIGURE_ARGS+= --disable-mpd
.endif
+.if defined(WITH_XMMS2)
+LIB_DEPENDS+= xmmsclient.2:${PORTSDIR}/audio/xmms2
+CONFIGURE_ARGS+= --enable-xmms2
+.else
+CONFIGURE_ARGS+= --disable-xmms2
+.endif
+
.if defined(WITHOUT_DOUBLE_BUFFER)
CONFIGURE_ARGS+= --disable-double-buffer
.endif
@@ -80,6 +87,7 @@ pre-everything::
@${ECHO_MSG} "WITH_XFT=yes to enable XFT support"
@${ECHO_MSG} "WITHOUT_OWN_WINDOW=yes to disable own window support"
@${ECHO_MSG} "WITH_MPD=yes to enable MPD support"
+ @${ECHO_MSG} "WITH_XMMS2=yes to enable XMMS2 support"
@${ECHO_MSG} "WITHOUT_DOUBLE_BUFFER=yes to disable double buffer support"
@${ECHO_MSG} " "
diff --git a/sysutils/conky/Makefile b/sysutils/conky/Makefile
index 4df683c777dd..3bb1a698aa6a 100644
--- a/sysutils/conky/Makefile
+++ b/sysutils/conky/Makefile
@@ -64,6 +64,13 @@ CONFIGURE_ARGS+= --enable-mpd
CONFIGURE_ARGS+= --disable-mpd
.endif
+.if defined(WITH_XMMS2)
+LIB_DEPENDS+= xmmsclient.2:${PORTSDIR}/audio/xmms2
+CONFIGURE_ARGS+= --enable-xmms2
+.else
+CONFIGURE_ARGS+= --disable-xmms2
+.endif
+
.if defined(WITHOUT_DOUBLE_BUFFER)
CONFIGURE_ARGS+= --disable-double-buffer
.endif
@@ -80,6 +87,7 @@ pre-everything::
@${ECHO_MSG} "WITH_XFT=yes to enable XFT support"
@${ECHO_MSG} "WITHOUT_OWN_WINDOW=yes to disable own window support"
@${ECHO_MSG} "WITH_MPD=yes to enable MPD support"
+ @${ECHO_MSG} "WITH_XMMS2=yes to enable XMMS2 support"
@${ECHO_MSG} "WITHOUT_DOUBLE_BUFFER=yes to disable double buffer support"
@${ECHO_MSG} " "