aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2003-06-26 13:01:46 +0800
committerknu <knu@FreeBSD.org>2003-06-26 13:01:46 +0800
commit23d6257bc2f60193eda92c863de30ce97845f16e (patch)
treeb4a395252e0cf20f0792c08eb1ad93fc1a687953 /multimedia
parent228c73a784028acdba005300c816929bb16c46e0 (diff)
downloadfreebsd-ports-gnome-23d6257bc2f60193eda92c863de30ce97845f16e.tar.gz
freebsd-ports-gnome-23d6257bc2f60193eda92c863de30ce97845f16e.tar.zst
freebsd-ports-gnome-23d6257bc2f60193eda92c863de30ce97845f16e.zip
Add ruby-gst, Ruby bindings for the GStreamer framework.
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/Makefile1
-rw-r--r--multimedia/ruby-gst/Makefile39
-rw-r--r--multimedia/ruby-gst/distinfo1
-rw-r--r--multimedia/ruby-gst/files/patch-extconf.rb11
-rw-r--r--multimedia/ruby-gst/pkg-descr4
-rw-r--r--multimedia/ruby-gst/pkg-plist20
6 files changed, 76 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile
index 0200c7748b48..19c90c25bdcb 100644
--- a/multimedia/Makefile
+++ b/multimedia/Makefile
@@ -80,6 +80,7 @@
SUBDIR += oqtplayer
SUBDIR += ppm2fli
SUBDIR += recmpeg
+ SUBDIR += ruby-gst
SUBDIR += slideshow
SUBDIR += smpeg
SUBDIR += smpeg-xmms
diff --git a/multimedia/ruby-gst/Makefile b/multimedia/ruby-gst/Makefile
new file mode 100644
index 000000000000..f1cb8e5619d1
--- /dev/null
+++ b/multimedia/ruby-gst/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: ruby-gst
+# Date created: 26 June 2003
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gst
+PORTVERSION= 0.1.0
+CATEGORIES= multimedia ruby
+MASTER_SITES= http://savannah.nongnu.org/download/ruby-gst/unstable.pkg/${PORTVERSION}/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+COMMENT= Ruby bindings for the GStreamer framework
+
+BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
+LIB_DEPENDS= gstreamer-0.6.1:${PORTSDIR}/multimedia/gstreamer
+
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+
+INSTALL_TARGET= site-install
+
+DOCS= AUTHORS doc/api
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_MODEXAMPLESDIR}
+ ${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/
+ ${MKDIR} ${RUBY_MODDOCDIR}
+.for f in ${DOCS}
+ ${CP} -R ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/multimedia/ruby-gst/distinfo b/multimedia/ruby-gst/distinfo
new file mode 100644
index 000000000000..3e7efcdad91c
--- /dev/null
+++ b/multimedia/ruby-gst/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/ruby-gst-0.1.0.tar.gz) = 2441580e02a634d3ad19c541b1ae1e2e
diff --git a/multimedia/ruby-gst/files/patch-extconf.rb b/multimedia/ruby-gst/files/patch-extconf.rb
new file mode 100644
index 000000000000..a2060b5946da
--- /dev/null
+++ b/multimedia/ruby-gst/files/patch-extconf.rb
@@ -0,0 +1,11 @@
+--- 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
new file mode 100644
index 000000000000..ee5d90fe2b34
--- /dev/null
+++ b/multimedia/ruby-gst/pkg-descr
@@ -0,0 +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/
diff --git a/multimedia/ruby-gst/pkg-plist b/multimedia/ruby-gst/pkg-plist
new file mode 100644
index 000000000000..fed06184c089
--- /dev/null
+++ b/multimedia/ruby-gst/pkg-plist
@@ -0,0 +1,20 @@
+%%RUBY_SITEARCHLIBDIR%%/gst.so
+%%PORTDOCS%%%%RUBY_MODEXAMPLESDIR%%/mp3-player.rb
+%%PORTDOCS%%@dirrm %%RUBY_MODEXAMPLESDIR%%
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/AUTHORS
+%%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/docbook.css
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/api/index.html
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%/api
+%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%