mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
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.
This commit is contained in:
parent
a2a5360b80
commit
e6cc215bad
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=38886
@ -58,6 +58,7 @@
|
||||
SUBDIR += powershell
|
||||
SUBDIR += props
|
||||
SUBDIR += qrash
|
||||
SUBDIR += ruby-gnome
|
||||
SUBDIR += ruby-kde
|
||||
SUBDIR += rxvt
|
||||
SUBDIR += rxvt-devel
|
||||
|
54
x11/ruby-gnome/Makefile
Normal file
54
x11/ruby-gnome/Makefile
Normal file
@ -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>
|
11
x11/ruby-gnome/Makefile.common
Normal file
11
x11/ruby-gnome/Makefile.common
Normal file
@ -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
|
1
x11/ruby-gnome/distinfo
Normal file
1
x11/ruby-gnome/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (ruby/gnome-ruby-0.24.tar.gz) = f9b931d6a44c218b7812e5577bd4aa94
|
18
x11/ruby-gnome/files/patch-extconf.rb
Normal file
18
x11/ruby-gnome/files/patch-extconf.rb
Normal file
@ -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
|
1
x11/ruby-gnome/pkg-comment
Normal file
1
x11/ruby-gnome/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A set of Ruby bindings for GNOME
|
6
x11/ruby-gnome/pkg-descr
Normal file
6
x11/ruby-gnome/pkg-descr
Normal file
@ -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/
|
35
x11/ruby-gnome/pkg-plist
Normal file
35
x11/ruby-gnome/pkg-plist
Normal file
@ -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
|
54
x11/ruby-gnome2/Makefile
Normal file
54
x11/ruby-gnome2/Makefile
Normal file
@ -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>
|
11
x11/ruby-gnome2/Makefile.common
Normal file
11
x11/ruby-gnome2/Makefile.common
Normal file
@ -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
|
1
x11/ruby-gnome2/distinfo
Normal file
1
x11/ruby-gnome2/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (ruby/gnome-ruby-0.24.tar.gz) = f9b931d6a44c218b7812e5577bd4aa94
|
18
x11/ruby-gnome2/files/patch-extconf.rb
Normal file
18
x11/ruby-gnome2/files/patch-extconf.rb
Normal file
@ -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
|
1
x11/ruby-gnome2/pkg-comment
Normal file
1
x11/ruby-gnome2/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A set of Ruby bindings for GNOME
|
6
x11/ruby-gnome2/pkg-descr
Normal file
6
x11/ruby-gnome2/pkg-descr
Normal file
@ -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/
|
35
x11/ruby-gnome2/pkg-plist
Normal file
35
x11/ruby-gnome2/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user