aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorCheng-Lung Sung <clsung@FreeBSD.org>2009-01-21 09:13:13 +0000
committerCheng-Lung Sung <clsung@FreeBSD.org>2009-01-21 09:13:13 +0000
commit2b8ea5a113f0c55aa65c852e039767fa511d19e4 (patch)
tree07c523eff30dce488675f3a7d0af10a4ce2e9d3e /audio
parent876e3e7aa967e31d48e224334d466980c4505ebe (diff)
downloadports-2b8ea5a113f0c55aa65c852e039767fa511d19e4.tar.gz
ports-2b8ea5a113f0c55aa65c852e039767fa511d19e4.zip
Ruby-taglib is a ruby library wrapping the Taglib library,
simple dl-based wrapper of Taglib's C library. It's short and sweet, because the C API is written by someone who knows how to use OO programming, and Ruby with dl just makes it all too easy to wrap such a library. Author: Neil Stevens <neil@hakubi.us> WWW: http://www.hakubi.us/ruby-taglib/ PR: ports/130686 Submitted by: TOMIDA, Hiroaki <t.hiroaki.209 at gmail.com>
Notes
Notes: svn path=/head/; revision=226588
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile1
-rw-r--r--audio/ruby-taglib/Makefile38
-rw-r--r--audio/ruby-taglib/distinfo3
-rw-r--r--audio/ruby-taglib/pkg-descr8
-rw-r--r--audio/ruby-taglib/pkg-plist7
5 files changed, 57 insertions, 0 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 688004a9596f..3419d0a3b97d 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -608,6 +608,7 @@
SUBDIR += ruby-ogginfo
SUBDIR += ruby-shout
SUBDIR += ruby-smf
+ SUBDIR += ruby-taglib
SUBDIR += ruby-vorbisfile
SUBDIR += ruby-xmms
SUBDIR += ruby-xmms2
diff --git a/audio/ruby-taglib/Makefile b/audio/ruby-taglib/Makefile
new file mode 100644
index 000000000000..a979d953e482
--- /dev/null
+++ b/audio/ruby-taglib/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: Ruby/Taglib
+# Date created: 18 Jan 2009
+# Whom: TOMIDA, Hiroaki <t.hiroaki.209 at gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME= taglib
+PORTVERSION= 1.1
+CATEGORIES= audio ruby
+MASTER_SITES= http://www.hakubi.us/ruby-taglib/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ruby-taglib-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= t.hiroaki.209@gmail.com
+COMMENT= A Ruby library wrapping the Taglib library
+
+LIB_DEPENDS= tag:${PORTSDIR}/audio/taglib
+
+USE_RUBY= yes
+USE_BZIP2= yes
+
+RUBY_RD_FILES= taglib.rb
+
+NO_BUILD= yes
+
+DOCS= README
+
+do-install:
+ ${MKDIR} ${RUBY_SITELIBDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/lib/taglib.rb ${RUBY_SITELIBDIR}/
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_MODDOCDIR}
+ ${INSTALL_DATA} ${DOCS:S,^,${WRKSRC}/,} ${RUBY_MODDOCDIR}/
+.endif
+
+.include <bsd.port.mk>
diff --git a/audio/ruby-taglib/distinfo b/audio/ruby-taglib/distinfo
new file mode 100644
index 000000000000..6b351a9733b2
--- /dev/null
+++ b/audio/ruby-taglib/distinfo
@@ -0,0 +1,3 @@
+MD5 (ruby/ruby-taglib-1.1.tar.bz2) = 462d2717c912251b6d9693e0ac40c08f
+SHA256 (ruby/ruby-taglib-1.1.tar.bz2) = 0f69a72cdcf030453185c9b87297df9788e956bf63e1f3075f74e7625e9be910
+SIZE (ruby/ruby-taglib-1.1.tar.bz2) = 9892
diff --git a/audio/ruby-taglib/pkg-descr b/audio/ruby-taglib/pkg-descr
new file mode 100644
index 000000000000..3fcc1304cbc2
--- /dev/null
+++ b/audio/ruby-taglib/pkg-descr
@@ -0,0 +1,8 @@
+Ruby-taglib is a ruby library wrapping the Taglib library,
+simple dl-based wrapper of Taglib's C library.
+It's short and sweet, because the C API is written by someone who knows
+how to use OO programming, and Ruby with dl just makes it all too easy
+to wrap such a library.
+
+Author: Neil Stevens <neil@hakubi.us>
+WWW: http://www.hakubi.us/ruby-taglib/
diff --git a/audio/ruby-taglib/pkg-plist b/audio/ruby-taglib/pkg-plist
new file mode 100644
index 000000000000..e67b55923760
--- /dev/null
+++ b/audio/ruby-taglib/pkg-plist
@@ -0,0 +1,7 @@
+%%RUBY_SITELIBDIR%%/taglib.rb
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
+%%PORTDOCS%%@dirrmtry %%RUBY_DOCDIR%%
+@dirrmtry %%RUBY_SITELIBDIR%%
+@dirrmtry lib/ruby/site_ruby
+@dirrmtry lib/ruby