aboutsummaryrefslogtreecommitdiff
path: root/multimedia/ruby-gst
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2003-06-26 05:01:46 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2003-06-26 05:01:46 +0000
commit6388b9b87ed052e5087e0d330bc710a51b4cc1d3 (patch)
tree7235c38fb7fd538665fd499cbac7bc3de5a7c2d7 /multimedia/ruby-gst
parent84e37fa0231575ef3780f5e12dafc701273766b3 (diff)
downloadports-6388b9b87ed052e5087e0d330bc710a51b4cc1d3.tar.gz
ports-6388b9b87ed052e5087e0d330bc710a51b4cc1d3.zip
Notes
Diffstat (limited to 'multimedia/ruby-gst')
-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
5 files changed, 75 insertions, 0 deletions
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%%