aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--audio/Makefile1
-rw-r--r--audio/ruby-xmms2/Makefile33
2 files changed, 34 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index aae0d04d8863..66253f627eb4 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -444,6 +444,7 @@
SUBDIR += ruby-smf
SUBDIR += ruby-vorbisfile
SUBDIR += ruby-xmms
+ SUBDIR += ruby-xmms2
SUBDIR += s3mod
SUBDIR += sbagen
SUBDIR += schism
diff --git a/audio/ruby-xmms2/Makefile b/audio/ruby-xmms2/Makefile
new file mode 100644
index 000000000000..8bcc277603f9
--- /dev/null
+++ b/audio/ruby-xmms2/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: ruby-xmms2
+# Date created: 18 Mar 2006
+# Whom: Alexander Botero-Lowry <alex@foxybanana.com>
+#
+# $FreeBSD$
+#
+
+CATEGORIES= audio ruby
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+
+MAINTAINER= alex@foxybanana.com
+COMMENT= Ruby Bindings for XMMS2
+
+MASTERDIR= ${.CURDIR}/../xmms2
+
+USE_RUBY= yes
+USE_GNOME= glib20
+
+PLIST_FILES= ${RUBY_SITEARCHLIBDIR}/xmmsclient.so \
+ ${RUBY_SITEARCHLIBDIR}/xmmsclient_glib.so
+
+SCONS_TARGET= src/clients/lib/ruby/xmmsclient.so \
+ src/clients/lib/ruby/xmmsclient_glib.so
+XMMS2_SLAVE= ruby
+
+do-install:
+ @cd ${WRKSRC} && ${INSTALL_PROGRAM} src/clients/lib/ruby/xmmsclient.so \
+ ${RUBY_SITEARCHLIBDIR}/xmmsclient.so
+ @cd ${WRKSRC} && ${INSTALL_PROGRAM} \
+ src/clients/lib/ruby/xmmsclient_glib.so \
+ ${RUBY_SITEARCHLIBDIR}/xmmsclient_glib.so
+
+.include "${MASTERDIR}/Makefile"