summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/ruby-esound/Makefile46
-rw-r--r--audio/ruby-esound/distinfo1
-rw-r--r--audio/ruby-esound/pkg-comment1
-rw-r--r--audio/ruby-esound/pkg-descr4
-rw-r--r--audio/ruby-esound/pkg-plist10
6 files changed, 63 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index fb13fd98a313..7499e8414080 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -208,6 +208,7 @@
SUBDIR += rplay
SUBDIR += rsynth
SUBDIR += ruby-audiofile
+ SUBDIR += ruby-esound
SUBDIR += ruby-freedb
SUBDIR += ruby-mp3tag
SUBDIR += ruby-qt2sound
diff --git a/audio/ruby-esound/Makefile b/audio/ruby-esound/Makefile
new file mode 100644
index 000000000000..97fcbc0f0d0a
--- /dev/null
+++ b/audio/ruby-esound/Makefile
@@ -0,0 +1,46 @@
+# New ports collection makefile for: Ruby/EsounD
+# Date created: 8 October 2002
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= esound
+PORTVERSION= 0.1
+CATEGORIES= audio ruby
+MASTER_SITES= http://www.kokone.to/~kgt/Archive/
+MASTER_SITE_SUBDIR= ruby-${PORTNAME}
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+LIB_DEPENDS= esd.2:${PORTSDIR}/audio/esound
+
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+
+WRKSRC= ${WRKDIR}/ruby-EsounD-${PORTVERSION}
+INSTALL_TARGET= site-install
+
+DOCS_EN= esound-0.2.22.patch
+DOCS_JA= METHODS.ja README.ja
+
+post-patch:
+ ${RUBY} -i -pe 'gsub(%r:\./esd\.so:, "esd")' ${WRKSRC}/test/*.rb
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_MODEXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/test/*.rb ${RUBY_MODEXAMPLESDIR}/
+ ${MKDIR} ${RUBY_MODDOCDIR}/ja
+.for f in ${DOCS_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+.endfor
+.for f in ${DOCS_JA}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/ja/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/audio/ruby-esound/distinfo b/audio/ruby-esound/distinfo
new file mode 100644
index 000000000000..2cd39c17622b
--- /dev/null
+++ b/audio/ruby-esound/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/ruby-esound-0.1.tar.gz) = 7f517ee546780cf1394a1f0dd39d63cd
diff --git a/audio/ruby-esound/pkg-comment b/audio/ruby-esound/pkg-comment
new file mode 100644
index 000000000000..f4e034ba8c16
--- /dev/null
+++ b/audio/ruby-esound/pkg-comment
@@ -0,0 +1 @@
+A Ruby binding to the EsounD library
diff --git a/audio/ruby-esound/pkg-descr b/audio/ruby-esound/pkg-descr
new file mode 100644
index 000000000000..ed5115464965
--- /dev/null
+++ b/audio/ruby-esound/pkg-descr
@@ -0,0 +1,4 @@
+Ruby/EsounD is a Ruby binding to the EsounD library.
+
+Author: Hiroshi Kuwagata <kgt@kokone.to>
+WWW: http://www.ruby-lang.org/en/raa-list.rhtml?name=Ruby%2FEsounD
diff --git a/audio/ruby-esound/pkg-plist b/audio/ruby-esound/pkg-plist
new file mode 100644
index 000000000000..49eaa7bf532b
--- /dev/null
+++ b/audio/ruby-esound/pkg-plist
@@ -0,0 +1,10 @@
+%%RUBY_SITEARCHLIBDIR%%/esd.so
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test1.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test2.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/test3.rb
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/esound-0.2.22.patch
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/METHODS.ja
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ja/README.ja
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/ja
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%