From 6388b9b87ed052e5087e0d330bc710a51b4cc1d3 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Thu, 26 Jun 2003 05:01:46 +0000 Subject: [PATCH] Add ruby-gst, Ruby bindings for the GStreamer framework. --- multimedia/Makefile | 1 + multimedia/ruby-gst/Makefile | 39 ++++++++++++++++++++++ multimedia/ruby-gst/distinfo | 1 + multimedia/ruby-gst/files/patch-extconf.rb | 11 ++++++ multimedia/ruby-gst/pkg-descr | 4 +++ multimedia/ruby-gst/pkg-plist | 20 +++++++++++ 6 files changed, 76 insertions(+) create mode 100644 multimedia/ruby-gst/Makefile create mode 100644 multimedia/ruby-gst/distinfo create mode 100644 multimedia/ruby-gst/files/patch-extconf.rb create mode 100644 multimedia/ruby-gst/pkg-descr create mode 100644 multimedia/ruby-gst/pkg-plist 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 +# +# $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 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 +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%%