aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/Makefile1
-rw-r--r--audio/cpp-xmms2/Makefile35
-rw-r--r--audio/cpp-xmms2/pkg-plist2
3 files changed, 38 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index ae09d14d86a5..5d14c8603c6b 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -82,6 +82,7 @@
SUBDIR += cowbell
SUBDIR += cpige
SUBDIR += cplay
+ SUBDIR += cpp-xmms2
SUBDIR += crip
SUBDIR += csound
SUBDIR += csound-manual
diff --git a/audio/cpp-xmms2/Makefile b/audio/cpp-xmms2/Makefile
new file mode 100644
index 000000000000..a4c2f6900a27
--- /dev/null
+++ b/audio/cpp-xmms2/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: cpp-xmms2
+# Date created: 06 Jul 2006
+# Whom: Alexander Botero-Lowry <alex@foxybanana.com>
+#
+# $FreeBSD$
+#
+
+CATEGORIES= audio
+PKGNAMEPREFIX= cpp-
+
+MAINTAINER= alex@foxybanana.com
+COMMENT= C++ Bindings for XMMS2
+
+LIB_DEPENDS= boost_signals.3:${PORTSDIR}/devel/boost
+BUILD_DEPENDS= ${LOCALBASE}/lib/libxmmsclient.so:${PORTSDIR}/audio/xmms2
+RUN_DEPENDS= ${LOCALBASE}/lib/libxmmsclient.so:${PORTSDIR}/audio/xmms2
+
+MASTERDIR= ${.CURDIR}/../xmms2
+USE_LDCONFIG= yes
+
+PLIST= ${.CURDIR}/pkg-plist
+
+SCONS_TARGET= src/clients/lib/xmmsclient++/libxmmsclient++.so \
+ src/clients/lib/xmmsclient++-glib//libxmmsclient++-glib.so
+XMMS2_SLAVE= cpp
+
+do-install:
+ @cd ${WRKSRC} && ${INSTALL_PROGRAM} \
+ src/clients/lib/xmmsclient++/libxmmsclient++.so \
+ ${PREFIX}/lib/libxmmsclient++.so
+ @cd ${WRKSRC} && ${INSTALL_PROGRAM} \
+ src/clients/lib/xmmsclient++-glib/libxmmsclient++-glib.so \
+ ${PREFIX}/lib/libxmmsclient++-glib.so
+
+.include "${MASTERDIR}/Makefile"
diff --git a/audio/cpp-xmms2/pkg-plist b/audio/cpp-xmms2/pkg-plist
new file mode 100644
index 000000000000..2aca0dcbce66
--- /dev/null
+++ b/audio/cpp-xmms2/pkg-plist
@@ -0,0 +1,2 @@
+lib/libxmmsclient++.so
+lib/libxmmsclient++-glib.so