Skip to content
Permalink
Browse files

Cleaned up ui_msgs and changed master_sites to use sourceforge mirror…

…_list. Otherwise, looks good. Thanks, Tristan!

Bug: https://trac.macports.org/ticket/1361
Submitted by: darwin@otierney.net (Tristan O'Tierney)
Reviewed by: toby
Approved by: toby
Obtained from:

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@4515 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
tobypeterson committed Jan 8, 2004
1 parent 423e29d commit 168d96a50a43dc1587db37ec2e7df34809e66c9f
Showing with 49 additions and 0 deletions.
  1. +39 −0 ruby/fxruby/Portfile
  2. +10 −0 ruby/fxruby/files/patch-glgroup.rb
@@ -0,0 +1,39 @@
# $Id: Portfile,v 1.1 2004/01/08 02:35:46 toby Exp $

PortSystem 1.0
name fxruby
version 1.0.27
distname FXRuby-${version}
description Ruby bindings for the FOX GUI Toolkit.
long_description FXRuby is a Ruby extention module that provides an \
interface to the FOX GUI library.
maintainers darwin@otierney.net
categories x11
platforms darwin
homepage http://www.fxruby.org
master_sites sourceforge:fxruby
patchfiles patch-glgroup.rb
checksums md5 7c13377380545084a3bb881d96dccc4e
depends_lib lib:libfxscintilla:fxscintilla
configure.cmd ruby install.rb config
configure.pre_args --prefix=${prefix}
configure.args -- --with-fox-include=${prefix}/include/fox \
--with-fox-lib=${prefix}/lib \
--with-fxscintilla-include=${prefix}/include/fxscintilla \
--with-fxscintilla-lib=${prefix}/lib
post-configure { reinplace "s;\$prefix/local;\$prefix;" ${worksrcpath}/config.save }
build.cmd ruby install.rb setup
build.target
build.args
destroot.cmd ruby install.rb install
destroot.pre_args --prefix=${destroot}
destroot.args
destroot.destdir
destroot.target

ui_msg "================================================================================"
ui_msg "Ruby libraries installed in ${prefix} require you to export extra path variables as such:"
ui_msg ""
ui_msg " export RUBYLIB=${prefix}/lib/ruby/site_ruby/1.6:${prefix}/libuby/site_ruby/1.6/powerpc-darwin7.0:${prefix}/lib/ruby/site_ruby"
ui_msg ""
ui_msg "================================================================================"
@@ -0,0 +1,10 @@
--- lib/fox/glgroup.rb Wed Jun 18 10:26:15 2003
+++ ../FXRuby-1.0.27-patched/lib/fox/glgroup.rb Fri Jan 2 16:48:55 2004
@@ -1,6 +1,6 @@
require 'fox'
begin
- require 'opengl'
+# require 'opengl'
rescue LoadError
# Can't use FXGLGroup since it depends on Ruby/OpenGL
end

0 comments on commit 168d96a

Please sign in to comment.
You can’t perform that action at this time.