diff options
author | knu <knu@FreeBSD.org> | 2001-02-28 20:52:25 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-02-28 20:52:25 +0800 |
commit | 1bb450f63f61ccdb7e81704b893f93ffa5faa7a1 (patch) | |
tree | b94bca8a39273a2169b472983b9aa2705649b1d5 /x11/ruby-gnome2 | |
parent | b6531a6eaed9d869513b94a87d605c0c9253a0e3 (diff) | |
download | freebsd-ports-gnome-1bb450f63f61ccdb7e81704b893f93ffa5faa7a1.tar.gz freebsd-ports-gnome-1bb450f63f61ccdb7e81704b893f93ffa5faa7a1.tar.zst freebsd-ports-gnome-1bb450f63f61ccdb7e81704b893f93ffa5faa7a1.zip |
Add ruby-gnome, a set of Ruby bindings for GNOME which includes gnome,
gtk, gdk_imlib, and gdk_pixbuf modules. The last three modules will
be provided as separate ports.
Diffstat (limited to 'x11/ruby-gnome2')
-rw-r--r-- | x11/ruby-gnome2/Makefile | 54 | ||||
-rw-r--r-- | x11/ruby-gnome2/Makefile.common | 11 | ||||
-rw-r--r-- | x11/ruby-gnome2/distinfo | 1 | ||||
-rw-r--r-- | x11/ruby-gnome2/files/patch-extconf.rb | 18 | ||||
-rw-r--r-- | x11/ruby-gnome2/pkg-comment | 1 | ||||
-rw-r--r-- | x11/ruby-gnome2/pkg-descr | 6 | ||||
-rw-r--r-- | x11/ruby-gnome2/pkg-plist | 35 |
7 files changed, 126 insertions, 0 deletions
diff --git a/x11/ruby-gnome2/Makefile b/x11/ruby-gnome2/Makefile new file mode 100644 index 000000000000..6020f6e78f55 --- /dev/null +++ b/x11/ruby-gnome2/Makefile @@ -0,0 +1,54 @@ +# New ports collection makefile for: ruby-gnome +# Date created: 28 February 2001 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= gnome +PORTVERSION= ${RUBY_GNOME_PORTVERSION} +CATEGORIES= x11 ruby +MASTER_SITES= ${RUBY_GNOME_MASTER_SITES} +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} +DISTNAME= ${RUBY_GNOME_DISTNAME} +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org + +RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gtk.so:${PORTSDIR}/x11-toolkits/ruby-gtk \ + ${RUBY_SITELIBDIR}/gdk_imlib.rb:${PORTSDIR}/graphics/ruby-gdk_imlib + +USE_RUBY= yes +USE_RUBY_EXTCONF= yes +USE_XLIB= yes +USE_GNOME= yes + +.include "${.CURDIR}/Makefile.common" + +WRKSRC= ${RUBY_GNOME_WRKSRC}/${PORTNAME} +CONFIGURE_ARGS= ${GNOME_CONFIG} +INSTALL_TARGET= site-install + +DOCS_EN= ChangeLog \ + ENVIRONMENT \ + README +DOCS_JA= README.ja + +post-extract: + ${MKDIR} ${WRKSRC}/sample/browser + ${MV} ${WRKSRC}/doc/rbbr.rb ${WRKSRC}/sample/browser + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME} + ${CP} -R ${WRKSRC}/sample/* ${RUBY_EXAMPLESDIR}/${PORTNAME}/ + ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}/ja +.for f in ${DOCS_EN} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ +.endfor +.for f in ${DOCS_JA} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/ja/ +.endfor +.endif + +.include <bsd.port.mk> diff --git a/x11/ruby-gnome2/Makefile.common b/x11/ruby-gnome2/Makefile.common new file mode 100644 index 000000000000..d13750be48dd --- /dev/null +++ b/x11/ruby-gnome2/Makefile.common @@ -0,0 +1,11 @@ +# $FreeBSD$ + +RUBY_GNOME_VERSION= 0.24 +RUBY_GNOME_SNAPSHOTDATE= 20010224 +RUBY_GNOME_PORTVERSION= ${RUBY_GNOME_VERSION}.${RUBY_GNOME_SNAPSHOTDATE} +RUBY_GNOME_MASTER_SITES= http://www.ruby-lang.org/gtk/download/ +RUBY_GNOME_DISTNAME= gnome-ruby-${RUBY_GNOME_VERSION} + +RUBY_GNOME_WRKSRC= ${WRKDIR}/gnome-ruby-snapshot-${RUBY_GNOME_SNAPSHOTDATE} + +MD5_FILE= ${PORTSDIR}/x11/ruby-gnome/distinfo diff --git a/x11/ruby-gnome2/distinfo b/x11/ruby-gnome2/distinfo new file mode 100644 index 000000000000..435b2d312d80 --- /dev/null +++ b/x11/ruby-gnome2/distinfo @@ -0,0 +1 @@ +MD5 (ruby/gnome-ruby-0.24.tar.gz) = f9b931d6a44c218b7812e5577bd4aa94 diff --git a/x11/ruby-gnome2/files/patch-extconf.rb b/x11/ruby-gnome2/files/patch-extconf.rb new file mode 100644 index 000000000000..6881c14db627 --- /dev/null +++ b/x11/ruby-gnome2/files/patch-extconf.rb @@ -0,0 +1,18 @@ +--- extconf.rb.orig Sat Sep 23 06:00:02 2000 ++++ extconf.rb Wed Feb 28 20:59:59 2001 +@@ -21,11 +21,12 @@ + config_library = "gnomeui" + version = `#{config_cmd} --version` + if not version.chomp.empty? then +- $LDFLAGS, *libs = ++ ldflags, *libs = + `#{config_cmd} #{config_libs} #{config_library}`.chomp.split(/(-l.*)/) ++ $LDFLAGS += ldflags + $libs = libs.join(' ') + ' ' + $libs +- $CFLAGS = `#{config_cmd} #{config_cflags} #{config_library}`.chomp +- $CFLAGS = $CFLAGS + " -DHAVE_GDKIMLIB -I../../gtk/src -I../../gdkimlib" ++ $CFLAGS += `#{config_cmd} #{config_cflags} #{config_library}`.chomp ++ $CFLAGS += " -DHAVE_GDKIMLIB -I../../gtk/src -I../../gdkimlib" + else + raise "can't find a config command" + end diff --git a/x11/ruby-gnome2/pkg-comment b/x11/ruby-gnome2/pkg-comment new file mode 100644 index 000000000000..5e9b8a9cadbd --- /dev/null +++ b/x11/ruby-gnome2/pkg-comment @@ -0,0 +1 @@ +A set of Ruby bindings for GNOME diff --git a/x11/ruby-gnome2/pkg-descr b/x11/ruby-gnome2/pkg-descr new file mode 100644 index 000000000000..00a4f60380bb --- /dev/null +++ b/x11/ruby-gnome2/pkg-descr @@ -0,0 +1,6 @@ +Ruby/GNOME is a set of Ruby bindings for GNOME which includes gnome, +gtk, gdk_imlib, and gdk_pixbuf modules. The last three modules are +provided as separate ports. + +Author: Hiroshi Igarashi <igarashi@ueda.info.waseda.ac.jp> +WWW: http://www.ruby-lang.org/gtk/en/ diff --git a/x11/ruby-gnome2/pkg-plist b/x11/ruby-gnome2/pkg-plist new file mode 100644 index 000000000000..e561fc8f2922 --- /dev/null +++ b/x11/ruby-gnome2/pkg-plist @@ -0,0 +1,35 @@ +%%RUBY_SITEARCHLIBDIR%%/gnome.so +%%RUBY_SITELIBDIR%%/gnome.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/animator_demo.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/browser/rbbr.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/gnome-hello/README.ja +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/gnome-hello/gnoconfig.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/gnome-hello/gnome-hello-0-basic.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/gnome-hello/gnome-hello-1-menus.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/gnome-hello/gnome-hello-2-i18n.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/gnome-hello/gnome-hello-4-SM.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/test-gnome/app-helper.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/test-gnome/calculator.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/test-gnome/clock.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/test-gnome/color-picker.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/test-gnome/dateedit.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/test-gnome/dialog.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/test-gnome/file-entry.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/test-gnome/href.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/test-gnome/icon-entry.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/test-gnome/less.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/test-gnome/number-entry.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/test-gnome/paper-selector.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/test-gnome/pixmap-entry.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/test-gnome/sample.rb +%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/gnome/test-gnome/test-gnome.rb +%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/gnome/test-gnome +%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/gnome/gnome-hello +%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/gnome/browser +%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/gnome +%%PORTDOCS%%%%RUBY_DOCDIR%%/gnome/ChangeLog +%%PORTDOCS%%%%RUBY_DOCDIR%%/gnome/ENVIRONMENT +%%PORTDOCS%%%%RUBY_DOCDIR%%/gnome/README +%%PORTDOCS%%%%RUBY_DOCDIR%%/gnome/ja/README.ja +%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/gnome/ja +%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/gnome |