aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-05-16 03:00:33 +0800
committerpav <pav@FreeBSD.org>2006-05-16 03:00:33 +0800
commitcd4a0cba6b58888fb20f213fc6ae4f5a7aa9e8e2 (patch)
tree891a1a608f10fb2dc5edc5e59855cd4652e8495c /audio
parente3e1408b33556107a695075479d87b258f4ce05b (diff)
downloadfreebsd-ports-gnome-cd4a0cba6b58888fb20f213fc6ae4f5a7aa9e8e2.tar.gz
freebsd-ports-gnome-cd4a0cba6b58888fb20f213fc6ae4f5a7aa9e8e2.tar.zst
freebsd-ports-gnome-cd4a0cba6b58888fb20f213fc6ae4f5a7aa9e8e2.zip
- Update ruby-mp3info to 0.5 and use rubygem version
- Take maintainership PR: ports/97163 Submitted by: brad walker <tha_walka@hotmail.com>
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile2
-rw-r--r--audio/ruby-mp3info/Makefile42
-rw-r--r--audio/ruby-mp3info/distinfo3
-rw-r--r--audio/ruby-mp3info/pkg-descr6
-rw-r--r--audio/ruby-mp3info/pkg-plist38
-rw-r--r--audio/rubygem-mp3info/Makefile43
-rw-r--r--audio/rubygem-mp3info/distinfo6
-rw-r--r--audio/rubygem-mp3info/pkg-plist90
-rw-r--r--audio/rubygem-ruby-mp3info/Makefile43
-rw-r--r--audio/rubygem-ruby-mp3info/distinfo6
-rw-r--r--audio/rubygem-ruby-mp3info/pkg-plist90
11 files changed, 133 insertions, 236 deletions
diff --git a/audio/Makefile b/audio/Makefile
index 586b9af609e8..5c8c83f9116a 100644
--- a/audio/Makefile
+++ b/audio/Makefile
@@ -469,7 +469,6 @@
SUBDIR += ruby-audiofile
SUBDIR += ruby-esound
SUBDIR += ruby-freedb
- SUBDIR += ruby-mp3info
SUBDIR += ruby-mp3tag
SUBDIR += ruby-musicbrainz
SUBDIR += ruby-musicextras
@@ -480,6 +479,7 @@
SUBDIR += ruby-vorbisfile
SUBDIR += ruby-xmms
SUBDIR += ruby-xmms2
+ SUBDIR += rubygem-mp3info
SUBDIR += s3mod
SUBDIR += sbagen
SUBDIR += schism
diff --git a/audio/ruby-mp3info/Makefile b/audio/ruby-mp3info/Makefile
deleted file mode 100644
index dab6c5ba63b8..000000000000
--- a/audio/ruby-mp3info/Makefile
+++ /dev/null
@@ -1,42 +0,0 @@
-# New ports collection makefile for: Ruby/mp3info
-# Date created: 24 March 2003
-# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
-#
-# $FreeBSD$
-#
-
-PORTNAME= mp3info
-PORTVERSION= 0.3
-CATEGORIES= audio ruby
-MASTER_SITES= http://rubyforge.org/frs/download.php/808/
-PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
-DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
-DIST_SUBDIR= ruby
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= A Ruby library to access to information on mp3 files
-
-USE_RUBY= yes
-USE_RUBY_SETUP= yes
-USE_RUBY_RDOC= yes
-RUBY_SETUP= install.rb
-
-DOCS= CHANGELOG doc
-#EXAMPLES= test.rb
-
-post-build:
- cd ${BUILD_WRKSRC}; ${RM} -r doc; ${RUBY_RDOC} lib
-
-post-install:
-.if !defined(NOPORTDOCS)
-# ${MKDIR} ${RUBY_MODEXAMPLESDIR}
-#.for f in ${EXAMPLES}
-# ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/
-#.endfor
- ${MKDIR} ${RUBY_MODDOCDIR}
-.for f in ${DOCS}
- ${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
-.endfor
-.endif
-
-.include <bsd.port.mk>
diff --git a/audio/ruby-mp3info/distinfo b/audio/ruby-mp3info/distinfo
deleted file mode 100644
index fd72c7745bff..000000000000
--- a/audio/ruby-mp3info/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 (ruby/ruby-mp3info-0.3.tar.gz) = 1fd1bcdccdd076e0c67cca93dee2f5e5
-SHA256 (ruby/ruby-mp3info-0.3.tar.gz) = 3692a8f45ba55f3c8cbcc4f6264c046188c6ac8cb5e71230c6151f7a522ae378
-SIZE (ruby/ruby-mp3info-0.3.tar.gz) = 187525
diff --git a/audio/ruby-mp3info/pkg-descr b/audio/ruby-mp3info/pkg-descr
deleted file mode 100644
index 722ef1710de7..000000000000
--- a/audio/ruby-mp3info/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-This library gives you access to low level informations on mp3 files
-(bitrate, length, samplerate, etc...). It can read, write, remove
-id3v1 tag and read id3v2. It is written in pure ruby.
-
-Author: Guillaume Pierronnet <moumar@netcourrier.com>
-WWW: http://rubyforge.org/projects/ruby-mp3info
diff --git a/audio/ruby-mp3info/pkg-plist b/audio/ruby-mp3info/pkg-plist
deleted file mode 100644
index 72e0c867d90a..000000000000
--- a/audio/ruby-mp3info/pkg-plist
+++ /dev/null
@@ -1,38 +0,0 @@
-%%RUBY_SITELIBDIR%%/mp3info.rb
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/CHANGELOG
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/File.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/File.src/M000014.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/File.src/M000015.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Hash.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Hash.src/M000001.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src/M000003.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src/M000004.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src/M000005.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src/M000006.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src/M000007.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src/M000008.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src/M000009.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src/M000010.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src/M000011.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src/M000012.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src/M000013.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3InfoError.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Numeric.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Numeric.src/M000002.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/created.rid
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/files/lib/mp3info_rb.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/fr_class_index.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/fr_file_index.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/fr_method_index.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/index.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/rdoc-style.css
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/files/lib
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/files
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/classes/Numeric.src
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/classes/Hash.src
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/classes/File.src
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/classes
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
diff --git a/audio/rubygem-mp3info/Makefile b/audio/rubygem-mp3info/Makefile
index dab6c5ba63b8..4c4703c3de54 100644
--- a/audio/rubygem-mp3info/Makefile
+++ b/audio/rubygem-mp3info/Makefile
@@ -1,42 +1,21 @@
-# New ports collection makefile for: Ruby/mp3info
-# Date created: 24 March 2003
-# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+# New ports collection makefile for: rubygem-mp3info
+# Date created: 11 May 2006
+# Whom: Brad Walker <tha_walka@hotmail.com>
#
# $FreeBSD$
#
PORTNAME= mp3info
-PORTVERSION= 0.3
-CATEGORIES= audio ruby
-MASTER_SITES= http://rubyforge.org/frs/download.php/808/
-PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+PORTVERSION= 0.5
+CATEGORIES= audio rubygems
+MASTER_SITES= http://rubyforge.org/frs/download.php/7598/
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
-DIST_SUBDIR= ruby
-MAINTAINER= ports@FreeBSD.org
-COMMENT= A Ruby library to access to information on mp3 files
+MAINTAINER= tha_walka@hotmail.com
+COMMENT= A Ruby library to access information on mp3 files
USE_RUBY= yes
-USE_RUBY_SETUP= yes
-USE_RUBY_RDOC= yes
-RUBY_SETUP= install.rb
-DOCS= CHANGELOG doc
-#EXAMPLES= test.rb
-
-post-build:
- cd ${BUILD_WRKSRC}; ${RM} -r doc; ${RUBY_RDOC} lib
-
-post-install:
-.if !defined(NOPORTDOCS)
-# ${MKDIR} ${RUBY_MODEXAMPLESDIR}
-#.for f in ${EXAMPLES}
-# ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/
-#.endfor
- ${MKDIR} ${RUBY_MODDOCDIR}
-.for f in ${DOCS}
- ${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
-.endfor
-.endif
-
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/devel/ruby-gems/Makefile.common"
+.include <bsd.port.post.mk>
diff --git a/audio/rubygem-mp3info/distinfo b/audio/rubygem-mp3info/distinfo
index fd72c7745bff..140f6da04111 100644
--- a/audio/rubygem-mp3info/distinfo
+++ b/audio/rubygem-mp3info/distinfo
@@ -1,3 +1,3 @@
-MD5 (ruby/ruby-mp3info-0.3.tar.gz) = 1fd1bcdccdd076e0c67cca93dee2f5e5
-SHA256 (ruby/ruby-mp3info-0.3.tar.gz) = 3692a8f45ba55f3c8cbcc4f6264c046188c6ac8cb5e71230c6151f7a522ae378
-SIZE (ruby/ruby-mp3info-0.3.tar.gz) = 187525
+MD5 (rubygem/ruby-mp3info-0.5.gem) = f3eafef682094e37d04ebd7af1d87b7d
+SHA256 (rubygem/ruby-mp3info-0.5.gem) = 6324ea74c1a85b905455e028be820d86c74d3ffdf74bd72c36941eed8adbe943
+SIZE (rubygem/ruby-mp3info-0.5.gem) = 16384
diff --git a/audio/rubygem-mp3info/pkg-plist b/audio/rubygem-mp3info/pkg-plist
index 72e0c867d90a..7330cae90733 100644
--- a/audio/rubygem-mp3info/pkg-plist
+++ b/audio/rubygem-mp3info/pkg-plist
@@ -1,38 +1,52 @@
-%%RUBY_SITELIBDIR%%/mp3info.rb
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/CHANGELOG
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/File.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/File.src/M000014.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/File.src/M000015.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Hash.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Hash.src/M000001.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src/M000003.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src/M000004.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src/M000005.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src/M000006.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src/M000007.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src/M000008.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src/M000009.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src/M000010.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src/M000011.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src/M000012.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src/M000013.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3InfoError.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Numeric.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Numeric.src/M000002.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/created.rid
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/files/lib/mp3info_rb.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/fr_class_index.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/fr_file_index.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/fr_method_index.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/index.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/rdoc-style.css
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/files/lib
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/files
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/classes/Numeric.src
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/classes/Hash.src
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/classes/File.src
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/classes
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
+%%CACHE_DIR%%/ruby-%%GEM_NAME%%.gem
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/ID3v2.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/ID3v2.src/M000001.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/ID3v2.src/M000002.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/ID3v2.src/M000003.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/ID3v2.src/M000004.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/ID3v2.src/M000005.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/ID3v2.src/M000006.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/Mp3Info.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/Mp3Info.src/M000007.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/Mp3Info.src/M000008.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/Mp3Info.src/M000009.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/Mp3Info.src/M000010.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/Mp3Info.src/M000011.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/Mp3Info.src/M000012.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/Mp3Info.src/M000013.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/Mp3Info.src/M000014.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/Mp3Info.src/M000015.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/Mp3Info.src/M000016.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/Mp3Info.src/M000017.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/Mp3Info.src/M000018.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/Mp3Info.src/M000019.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/Mp3Info.src/M000020.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/Mp3InfoError.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/created.rid
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/files/lib/mp3info/extension_modules_rb.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/files/lib/mp3info/id3v2_rb.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/files/lib/mp3info_rb.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/fr_class_index.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/fr_file_index.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/fr_method_index.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/index.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/rdoc-style.css
+%%GEMS_DIR%%/ruby-%%GEM_NAME%%/CHANGELOG
+%%GEMS_DIR%%/ruby-%%GEM_NAME%%/EXAMPLES
+%%GEMS_DIR%%/ruby-%%GEM_NAME%%/README
+%%GEMS_DIR%%/ruby-%%GEM_NAME%%/test.rb
+%%GEMS_DIR%%/ruby-%%GEM_NAME%%/lib/mp3info.rb
+%%GEMS_DIR%%/ruby-%%GEM_NAME%%/lib/mp3info/extension_modules.rb
+%%GEMS_DIR%%/ruby-%%GEM_NAME%%/lib/mp3info/id3v2.rb
+%%SPEC_DIR%%/ruby-%%GEM_NAME%%.gemspec
+@dirrm %%GEMS_DIR%%/ruby-%%GEM_NAME%%/lib/mp3info
+@dirrm %%GEMS_DIR%%/ruby-%%GEM_NAME%%/lib
+@dirrm %%GEMS_DIR%%/ruby-%%GEM_NAME%%
+@dirrm %%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/files/lib/mp3info
+@dirrm %%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/files/lib
+@dirrm %%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/files
+@dirrm %%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/Mp3Info.src
+@dirrm %%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/ID3v2.src
+@dirrm %%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes
+@dirrm %%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc
+@dirrm %%DOC_DIR%%/ruby-%%GEM_NAME%%
diff --git a/audio/rubygem-ruby-mp3info/Makefile b/audio/rubygem-ruby-mp3info/Makefile
index dab6c5ba63b8..4c4703c3de54 100644
--- a/audio/rubygem-ruby-mp3info/Makefile
+++ b/audio/rubygem-ruby-mp3info/Makefile
@@ -1,42 +1,21 @@
-# New ports collection makefile for: Ruby/mp3info
-# Date created: 24 March 2003
-# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+# New ports collection makefile for: rubygem-mp3info
+# Date created: 11 May 2006
+# Whom: Brad Walker <tha_walka@hotmail.com>
#
# $FreeBSD$
#
PORTNAME= mp3info
-PORTVERSION= 0.3
-CATEGORIES= audio ruby
-MASTER_SITES= http://rubyforge.org/frs/download.php/808/
-PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+PORTVERSION= 0.5
+CATEGORIES= audio rubygems
+MASTER_SITES= http://rubyforge.org/frs/download.php/7598/
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
-DIST_SUBDIR= ruby
-MAINTAINER= ports@FreeBSD.org
-COMMENT= A Ruby library to access to information on mp3 files
+MAINTAINER= tha_walka@hotmail.com
+COMMENT= A Ruby library to access information on mp3 files
USE_RUBY= yes
-USE_RUBY_SETUP= yes
-USE_RUBY_RDOC= yes
-RUBY_SETUP= install.rb
-DOCS= CHANGELOG doc
-#EXAMPLES= test.rb
-
-post-build:
- cd ${BUILD_WRKSRC}; ${RM} -r doc; ${RUBY_RDOC} lib
-
-post-install:
-.if !defined(NOPORTDOCS)
-# ${MKDIR} ${RUBY_MODEXAMPLESDIR}
-#.for f in ${EXAMPLES}
-# ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODEXAMPLESDIR}/
-#.endfor
- ${MKDIR} ${RUBY_MODDOCDIR}
-.for f in ${DOCS}
- ${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
-.endfor
-.endif
-
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+.include "${PORTSDIR}/devel/ruby-gems/Makefile.common"
+.include <bsd.port.post.mk>
diff --git a/audio/rubygem-ruby-mp3info/distinfo b/audio/rubygem-ruby-mp3info/distinfo
index fd72c7745bff..140f6da04111 100644
--- a/audio/rubygem-ruby-mp3info/distinfo
+++ b/audio/rubygem-ruby-mp3info/distinfo
@@ -1,3 +1,3 @@
-MD5 (ruby/ruby-mp3info-0.3.tar.gz) = 1fd1bcdccdd076e0c67cca93dee2f5e5
-SHA256 (ruby/ruby-mp3info-0.3.tar.gz) = 3692a8f45ba55f3c8cbcc4f6264c046188c6ac8cb5e71230c6151f7a522ae378
-SIZE (ruby/ruby-mp3info-0.3.tar.gz) = 187525
+MD5 (rubygem/ruby-mp3info-0.5.gem) = f3eafef682094e37d04ebd7af1d87b7d
+SHA256 (rubygem/ruby-mp3info-0.5.gem) = 6324ea74c1a85b905455e028be820d86c74d3ffdf74bd72c36941eed8adbe943
+SIZE (rubygem/ruby-mp3info-0.5.gem) = 16384
diff --git a/audio/rubygem-ruby-mp3info/pkg-plist b/audio/rubygem-ruby-mp3info/pkg-plist
index 72e0c867d90a..7330cae90733 100644
--- a/audio/rubygem-ruby-mp3info/pkg-plist
+++ b/audio/rubygem-ruby-mp3info/pkg-plist
@@ -1,38 +1,52 @@
-%%RUBY_SITELIBDIR%%/mp3info.rb
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/CHANGELOG
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/File.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/File.src/M000014.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/File.src/M000015.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Hash.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Hash.src/M000001.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src/M000003.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src/M000004.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src/M000005.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src/M000006.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src/M000007.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src/M000008.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src/M000009.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src/M000010.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src/M000011.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src/M000012.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src/M000013.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Mp3InfoError.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Numeric.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/classes/Numeric.src/M000002.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/created.rid
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/files/lib/mp3info_rb.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/fr_class_index.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/fr_file_index.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/fr_method_index.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/index.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/doc/rdoc-style.css
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/files/lib
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/files
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/classes/Numeric.src
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/classes/Mp3Info.src
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/classes/Hash.src
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/classes/File.src
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc/classes
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/doc
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%
+%%CACHE_DIR%%/ruby-%%GEM_NAME%%.gem
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/ID3v2.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/ID3v2.src/M000001.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/ID3v2.src/M000002.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/ID3v2.src/M000003.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/ID3v2.src/M000004.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/ID3v2.src/M000005.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/ID3v2.src/M000006.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/Mp3Info.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/Mp3Info.src/M000007.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/Mp3Info.src/M000008.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/Mp3Info.src/M000009.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/Mp3Info.src/M000010.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/Mp3Info.src/M000011.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/Mp3Info.src/M000012.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/Mp3Info.src/M000013.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/Mp3Info.src/M000014.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/Mp3Info.src/M000015.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/Mp3Info.src/M000016.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/Mp3Info.src/M000017.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/Mp3Info.src/M000018.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/Mp3Info.src/M000019.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/Mp3Info.src/M000020.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/Mp3InfoError.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/created.rid
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/files/lib/mp3info/extension_modules_rb.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/files/lib/mp3info/id3v2_rb.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/files/lib/mp3info_rb.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/fr_class_index.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/fr_file_index.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/fr_method_index.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/index.html
+%%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/rdoc-style.css
+%%GEMS_DIR%%/ruby-%%GEM_NAME%%/CHANGELOG
+%%GEMS_DIR%%/ruby-%%GEM_NAME%%/EXAMPLES
+%%GEMS_DIR%%/ruby-%%GEM_NAME%%/README
+%%GEMS_DIR%%/ruby-%%GEM_NAME%%/test.rb
+%%GEMS_DIR%%/ruby-%%GEM_NAME%%/lib/mp3info.rb
+%%GEMS_DIR%%/ruby-%%GEM_NAME%%/lib/mp3info/extension_modules.rb
+%%GEMS_DIR%%/ruby-%%GEM_NAME%%/lib/mp3info/id3v2.rb
+%%SPEC_DIR%%/ruby-%%GEM_NAME%%.gemspec
+@dirrm %%GEMS_DIR%%/ruby-%%GEM_NAME%%/lib/mp3info
+@dirrm %%GEMS_DIR%%/ruby-%%GEM_NAME%%/lib
+@dirrm %%GEMS_DIR%%/ruby-%%GEM_NAME%%
+@dirrm %%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/files/lib/mp3info
+@dirrm %%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/files/lib
+@dirrm %%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/files
+@dirrm %%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/Mp3Info.src
+@dirrm %%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes/ID3v2.src
+@dirrm %%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc/classes
+@dirrm %%DOC_DIR%%/ruby-%%GEM_NAME%%/rdoc
+@dirrm %%DOC_DIR%%/ruby-%%GEM_NAME%%