1
= INSTALL.macosx-macports.en
3
$Id: INSTALL.macosx-macports.en 1226 2009-03-12 11:13:56Z kou $
5
This document describes how to install Rabbit with MacPorts and how to use
10
The following programs are needed.
12
* Xcode Tools (from Xcode Tools DVD or ADC)
13
* X11 (from Mac OS X System DVD)
15
* from MacPorts (sudo port install subversion)
16
* from ((<URL:http://metissian.com/projects/macosx/subversion/>))
18
Remember to select "X11 SDK" when installing the Xcode Tools.
22
see ((<URL:http://www.macports.org/>)).
24
=== Configuration of MacPorts
26
First, get the Rabbit portfiles from the subversion repository,
28
~% svn co http://www.cozmixng.org/repos/dports/trunk dports
32
Then, edit /opt/local/etc/macports/sources.conf like this,
34
# To enable your local ports repository, uncomment and customize the
35
# following line to point at your local dports directory
36
# Example: file:///Users/landonf/misc/darwinports/dports
38
file:///Users/yourname/dports # <- here
39
# To get darwinports from the darwinports rsync server use:
40
# rsync://rsync.darwinports.org/dpupdate/dports
41
rsync://rsync.darwinports.org/dpupdate/dports
43
(/Users/yourname is your home directory)
45
"port info" command tells you if the installation succeeded or not.
48
~% port info rb-rabbit
49
rb-rabbit 0.5.1, Revision 0, ruby/rb-rabbit
50
{http://www.cozmixng.org/~rwiki/?cmd=view;name=Rabbit}
54
~% port info rb-rabbit
55
No port rb-rabbit found.
60
You might want to do the following to update information for
65
The following command will install rabbit and its dependencies.
67
~% sudo port install rb-rabbit
70
You can install these ports to make rabbit even better.
72
* htree (rb-htree) - enable syntax coloring
73
* Ruby-GetText-Package (rb-gettext) - enable I18N message catalogs
75
~% sudo port install rb-htree
76
~% sudo port install rb-gettext
78
== tips for X11 environment
82
Rabbit requires X11.app, which is under /Applications/Utilities/.
84
=== DISPLAY environment variable
86
Mac OS X 10.4 or earlier, DISPLAY environment was not declared.
87
Remember to set this variable.
91
the following operation upgrades your Rabbit.
94
~% sudo port upgrade rb-rabbit
96
If you want to upgrade Rabbit only (rb-rabbit), you can upgrade with the "-n"
99
~% sudo port -n upgrade rb-rabbit
103
* Rabbit::UsersGroup.ja ((<URL:http://www.cozmixng.org/~rwiki/index.rb?cmd=view;name=Rabbit%3A%3AUsersGroup.ja>))
104
* Kimura Wataru (kimuraw at i nifty.jp) - maintainer of Rabbit MacPorts