aboutsummaryrefslogtreecommitdiff
path: root/x11-toolkits/ruby-fox-devel
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/ruby-fox-devel')
-rw-r--r--x11-toolkits/ruby-fox-devel/Makefile4
-rw-r--r--x11-toolkits/ruby-fox-devel/distinfo2
-rw-r--r--x11-toolkits/ruby-fox-devel/files/patch-extconf.rb11
-rw-r--r--x11-toolkits/ruby-fox-devel/pkg-plist9
4 files changed, 23 insertions, 3 deletions
diff --git a/x11-toolkits/ruby-fox-devel/Makefile b/x11-toolkits/ruby-fox-devel/Makefile
index 0b6275093470..74c239f1b3ed 100644
--- a/x11-toolkits/ruby-fox-devel/Makefile
+++ b/x11-toolkits/ruby-fox-devel/Makefile
@@ -7,7 +7,6 @@
PORTNAME= fox
PORTVERSION= ${FXRUBY_PORTVERSION}
-PORTREVISION= 1
CATEGORIES= x11-toolkits ruby
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= fxruby
@@ -22,7 +21,7 @@ LIB_DEPENDS= FOX.1:${PORTSDIR}/x11-toolkits/fox \
png.5:${PORTSDIR}/graphics/png \
jpeg.9:${PORTSDIR}/graphics/jpeg
-FOX_VERSION= 0.99.174
+FOX_VERSION= 0.99.189
#FXRUBY_REVISION=
.if defined(FXRUBY_REVISION) && !empty(FXRUBY_REVISION)
FXRUBY_PORTVERSION= ${FOX_VERSION}.${FXRUBY_REVISION}
@@ -34,6 +33,7 @@ FXRUBY_DISTNAME= FXRuby-${FOX_VERSION}
USE_RUBY= yes
USE_RUBY_SETUP= yes
+RUBY_SETUP= install.rb
USE_XLIB= yes
USE_MESA= yes
diff --git a/x11-toolkits/ruby-fox-devel/distinfo b/x11-toolkits/ruby-fox-devel/distinfo
index 3c7f02acf9c4..15209f0c41c3 100644
--- a/x11-toolkits/ruby-fox-devel/distinfo
+++ b/x11-toolkits/ruby-fox-devel/distinfo
@@ -1 +1 @@
-MD5 (ruby/FXRuby-0.99.174.tar.gz) = ff474be1adfb06a644ecee4f5d263062
+MD5 (ruby/FXRuby-0.99.189.tar.gz) = 0f8bb40b5d465311965444fac678eef4
diff --git a/x11-toolkits/ruby-fox-devel/files/patch-extconf.rb b/x11-toolkits/ruby-fox-devel/files/patch-extconf.rb
new file mode 100644
index 000000000000..e609a8c3404f
--- /dev/null
+++ b/x11-toolkits/ruby-fox-devel/files/patch-extconf.rb
@@ -0,0 +1,11 @@
+--- ext/fox/extconf.rb.orig Sun Jan 27 03:57:10 2002
++++ ext/fox/extconf.rb Sun Jan 27 04:01:57 2002
+@@ -120,7 +120,7 @@
+ find_library("GL", "glXCreateContext", "/usr/X11R6/lib")
+ find_library("GLU", "gluNewQuadric", "/usr/X11R6/lib")
+ $libs = append_library($libs, "FOX")
+- $CFLAGS = $CFLAGS + "-O0 -DSWIG_NOINCLUDE -Iinclude"
++ $CFLAGS = $CFLAGS + "-DSWIG_NOINCLUDE -Iinclude -fno-strict-prototype -fpermissive"
+ if isScintillaBuild
+ $CFLAGS = $CFLAGS + " -DWITH_FXSCINTILLA"
+ $libs = append_library($libs, "scintilla")
diff --git a/x11-toolkits/ruby-fox-devel/pkg-plist b/x11-toolkits/ruby-fox-devel/pkg-plist
index b6dfb0755ac6..9ca220efebec 100644
--- a/x11-toolkits/ruby-fox-devel/pkg-plist
+++ b/x11-toolkits/ruby-fox-devel/pkg-plist
@@ -1,8 +1,13 @@
%%RUBY_SITEARCHLIBDIR%%/fox.so
%%RUBY_SITELIBDIR%%/fox/aliases.rb
+%%RUBY_SITELIBDIR%%/fox/core.rb
+%%RUBY_SITELIBDIR%%/fox/colors.rb
+%%RUBY_SITELIBDIR%%/fox/glshapes.rb
%%RUBY_SITELIBDIR%%/fox/iterators.rb
%%RUBY_SITELIBDIR%%/fox/keys.rb
+%%RUBY_SITELIBDIR%%/fox/overloads.rb
%%RUBY_SITELIBDIR%%/fox/responder.rb
+%%RUBY_SITELIBDIR%%/fox/responder2.rb
%%RUBY_SITELIBDIR%%/fox/undolist.rb
@dirrm %%RUBY_SITELIBDIR%%/fox
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/README
@@ -10,6 +15,7 @@
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/button.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/datatarget.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/dialog.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/dilbert.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/dirlist.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/examples.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/examples.xml
@@ -24,6 +30,8 @@
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/imageviewer.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/inputs.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/mditest.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/scintilla-test.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/scribble-orig.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/scribble.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/shutter.rb
%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/fox/splitter.rb
@@ -94,6 +102,7 @@
%%PORTDOCS%%%%RUBY_DOCDIR%%/fox/doc/button.png
%%PORTDOCS%%%%RUBY_DOCDIR%%/fox/doc/changes.html
%%PORTDOCS%%%%RUBY_DOCDIR%%/fox/doc/differences.html
+%%PORTDOCS%%%%RUBY_DOCDIR%%/fox/doc/events.html
%%PORTDOCS%%%%RUBY_DOCDIR%%/fox/doc/glviewer.gif
%%PORTDOCS%%%%RUBY_DOCDIR%%/fox/doc/goals.html
%%PORTDOCS%%%%RUBY_DOCDIR%%/fox/doc/imageviewer.png