source: trunk/dports/ruby/fxruby/Portfile @ 4517

Last change on this file since 4517 was 4517, checked in by toby, 17 years ago

Make 'ruby' primary category. (x11 remains secondary.)

Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

  • Property svn:eol-style set to native
File size: 1.7 KB
Line 
1# $Id: Portfile,v 1.2 2004/01/08 04:32:08 toby Exp $
2
3PortSystem 1.0
4name                fxruby
5version             1.0.27
6distname            FXRuby-${version}
7description         Ruby bindings for the FOX GUI Toolkit.
8long_description    FXRuby is a Ruby extention module that provides an \
9                    interface to the FOX GUI library.
10maintainers         darwin@otierney.net
11categories          ruby x11
12platforms           darwin
13homepage            http://www.fxruby.org
14master_sites        sourceforge:fxruby
15patchfiles          patch-glgroup.rb
16checksums           md5 7c13377380545084a3bb881d96dccc4e
17depends_lib         lib:libfxscintilla:fxscintilla
18configure.cmd       ruby install.rb config
19configure.pre_args  --prefix=${prefix}
20configure.args      -- --with-fox-include=${prefix}/include/fox \
21                    --with-fox-lib=${prefix}/lib \
22                    --with-fxscintilla-include=${prefix}/include/fxscintilla \
23                    --with-fxscintilla-lib=${prefix}/lib
24post-configure      { reinplace "s;\$prefix/local;\$prefix;" ${worksrcpath}/config.save }
25build.cmd           ruby install.rb setup
26build.target   
27build.args         
28destroot.cmd        ruby install.rb install
29destroot.pre_args   --prefix=${destroot}
30destroot.args       
31destroot.destdir
32destroot.target
33
34ui_msg  "================================================================================"
35ui_msg  "Ruby libraries installed in ${prefix} require you to export extra path variables as such:"
36ui_msg  ""
37ui_msg  "  export RUBYLIB=${prefix}/lib/ruby/site_ruby/1.6:${prefix}/libuby/site_ruby/1.6/powerpc-darwin7.0:${prefix}/lib/ruby/site_ruby"
38ui_msg  ""
39ui_msg  "================================================================================"
Note: See TracBrowser for help on using the repository browser.