aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-08-10 04:37:44 +0800
committerknu <knu@FreeBSD.org>2003-08-10 04:37:44 +0800
commitf41801c083f18cf2d28fefe21c92ac6e2924d4c7 (patch)
tree47acc8729d15fb9bd3f049dfd683f311fac1365d /multimedia
parentac645fdf673f269c9b69c5e13c824e6158e6951b (diff)
downloadfreebsd-ports-gnome-f41801c083f18cf2d28fefe21c92ac6e2924d4c7.tar.gz
freebsd-ports-gnome-f41801c083f18cf2d28fefe21c92ac6e2924d4c7.tar.zst
freebsd-ports-gnome-f41801c083f18cf2d28fefe21c92ac6e2924d4c7.zip
Update to 0.6.0. Ruby/GStreamer is now part of the Ruby/GNOME2 suite.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/ruby-gst/Makefile18
-rw-r--r--multimedia/ruby-gst/files/patch-extconf.rb11
-rw-r--r--multimedia/ruby-gst/pkg-descr2
-rw-r--r--multimedia/ruby-gst/pkg-plist37
4 files changed, 19 insertions, 49 deletions
diff --git a/multimedia/ruby-gst/Makefile b/multimedia/ruby-gst/Makefile
index 53dc76393a65..ca6bb9405a56 100644
--- a/multimedia/ruby-gst/Makefile
+++ b/multimedia/ruby-gst/Makefile
@@ -6,11 +6,12 @@
#
PORTNAME= gst
-PORTVERSION= 0.1.1
-CATEGORIES= multimedia ruby
-MASTER_SITES= http://savannah.nongnu.org/download/ruby-gst/unstable.pkg/${PORTVERSION}/
+PORTVERSION= ${RUBY_GNOME_PORTVERSION}
+CATEGORIES= devel ruby
+MASTER_SITES= ${RUBY_GNOME_MASTER_SITES}
+MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR}
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
-DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
+DISTNAME= ${RUBY_GNOME_DISTNAME}
DIST_SUBDIR= ruby
MAINTAINER= knu@FreeBSD.org
@@ -18,13 +19,18 @@ COMMENT= Ruby bindings for the GStreamer framework
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
LIB_DEPENDS= gstreamer-0.6.1:${PORTSDIR}/multimedia/gstreamer
+RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/glib2.so:${PORTSDIR}/devel/ruby-glib2
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
+.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common"
+
+WRKSRC= ${RUBY_GNOME_WRKSRC}/gstreamer
INSTALL_TARGET= site-install
-DOCS= AUTHORS CHANGES TODO doc/api
+DOCS= ChangeLog \
+ README
post-install:
.if !defined(NOPORTDOCS)
@@ -32,7 +38,7 @@ post-install:
${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/
${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS}
- ${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.endif
diff --git a/multimedia/ruby-gst/files/patch-extconf.rb b/multimedia/ruby-gst/files/patch-extconf.rb
deleted file mode 100644
index a2060b5946da..000000000000
--- a/multimedia/ruby-gst/files/patch-extconf.rb
+++ /dev/null
@@ -1,11 +0,0 @@
---- extconf.rb.orig Tue Jun 10 02:38:38 2003
-+++ extconf.rb Thu Jun 26 13:55:11 2003
-@@ -20,7 +20,7 @@
- require 'mkmf'
-
- PKG_CONFIG = "pkg-config"
--GST_PKG = "gstreamer-libs-0.6"
-+GST_PKG = "gstreamer-0.6"
-
- def create_archive
- ver = IO.readlines("VERSION").join.strip
diff --git a/multimedia/ruby-gst/pkg-descr b/multimedia/ruby-gst/pkg-descr
index ee5d90fe2b34..dfc33d1a4cd9 100644
--- a/multimedia/ruby-gst/pkg-descr
+++ b/multimedia/ruby-gst/pkg-descr
@@ -1,4 +1,4 @@
This is a set of Ruby bindings for the GStreamer multimedia framework.
Author: Laurent Sansonetti <laurent@datarescue.be>
-WWW: http://www.freesoftware.fsf.org/ruby-gst/
+WWW: http://ruby-gnome2.sourceforge.jp/
diff --git a/multimedia/ruby-gst/pkg-plist b/multimedia/ruby-gst/pkg-plist
index 5257c8baea33..eed9dcff05d2 100644
--- a/multimedia/ruby-gst/pkg-plist
+++ b/multimedia/ruby-gst/pkg-plist
@@ -1,36 +1,11 @@
%%RUBY_SITEARCHLIBDIR%%/gst.so
+%%RUBY_SITELIBDIR%%/gst.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/audio-player.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/gst-inspect.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/media-type.rb
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/media-type2.rb
%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/mp3-player.rb
%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/AUTHORS
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/CHANGES
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/TODO
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/api/api.txt
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/api/api.xml
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/api/book.xml
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/api/ch01.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/api/ch02.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/api/ch03.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/api/ch04.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/api/ch05.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/api/ch06.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/api/ch07.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/api/ch08.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/api/ch09.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/api/ch10.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/api/ch11.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/api/ch12.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/api/ch13.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/api/ch14.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/api/ch15.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/api/ch16.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/api/ch17.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/api/ch18.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/api/ch19.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/api/ch20.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/api/ch21.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/api/ch22.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/api/docbook.css
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/api/index.html
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/api
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/ChangeLog
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%