diff options
author | knu <knu@FreeBSD.org> | 2002-10-08 18:26:48 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-10-08 18:26:48 +0800 |
commit | 1df42f4d4a1d84760cea2270edb18cc7671a98e0 (patch) | |
tree | 3903553b8d26f63556e40dfe599a411ca643fcd1 /audio | |
parent | 5f4e6340433e706c3cad2dd86076de0d953d73b0 (diff) | |
download | freebsd-ports-gnome-1df42f4d4a1d84760cea2270edb18cc7671a98e0.tar.gz freebsd-ports-gnome-1df42f4d4a1d84760cea2270edb18cc7671a98e0.tar.zst freebsd-ports-gnome-1df42f4d4a1d84760cea2270edb18cc7671a98e0.zip |
Add ruby-esound, a Ruby binding to the EsounD library.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/Makefile | 1 | ||||
-rw-r--r-- | audio/ruby-esound/Makefile | 46 | ||||
-rw-r--r-- | audio/ruby-esound/distinfo | 1 | ||||
-rw-r--r-- | audio/ruby-esound/pkg-comment | 1 | ||||
-rw-r--r-- | audio/ruby-esound/pkg-descr | 4 | ||||
-rw-r--r-- | audio/ruby-esound/pkg-plist | 10 |
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%% |