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

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

Wrapping ui_msg calls in post-install.

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

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