~ubuntu-branches/ubuntu/vivid/rabbit/vivid

« back to all changes in this revision

Viewing changes to INSTALL.macosx-macports.en

  • Committer: Bazaar Package Importer
  • Author(s): Youhei SASAKI
  • Date: 2009-07-22 22:15:37 UTC
  • Revision ID: james.westby@ubuntu.com-20090722221537-iy7foj73p2kyuumi
Tags: upstream-0.6.1
ImportĀ upstreamĀ versionĀ 0.6.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
= INSTALL.macosx-macports.en
 
2
 
 
3
$Id: INSTALL.macosx-macports.en 1226 2009-03-12 11:13:56Z kou $
 
4
 
 
5
This document describes how to install Rabbit with MacPorts and how to use
 
6
Rabbit on Mac OS X.
 
7
 
 
8
== Requirements
 
9
 
 
10
The following programs are needed.
 
11
 
 
12
* Xcode Tools (from Xcode Tools DVD or ADC)
 
13
* X11 (from Mac OS X System DVD)
 
14
* Subversion
 
15
  * from MacPorts (sudo port install subversion)
 
16
  * from ((<URL:http://metissian.com/projects/macosx/subversion/>))
 
17
 
 
18
Remember to select "X11 SDK" when installing the Xcode Tools.
 
19
 
 
20
== Install MacPorts
 
21
 
 
22
see ((<URL:http://www.macports.org/>)).
 
23
 
 
24
=== Configuration of MacPorts
 
25
 
 
26
First, get the Rabbit portfiles from the subversion repository,
 
27
 
 
28
  ~% svn co http://www.cozmixng.org/repos/dports/trunk dports
 
29
  ~% cd dports
 
30
  ~/dports% portindex
 
31
 
 
32
Then, edit /opt/local/etc/macports/sources.conf like this,
 
33
 
 
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
 
37
  #
 
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
 
42
 
 
43
(/Users/yourname is your home directory)
 
44
 
 
45
"port info" command tells you if the installation succeeded or not.
 
46
 
 
47
  ### OK ###
 
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}
 
51
  # snip #
 
52
 
 
53
  ### NG ###
 
54
  ~% port info rb-rabbit
 
55
  No port rb-rabbit found.
 
56
 
 
57
 
 
58
== installing Rabbit
 
59
 
 
60
You might want to do the following to update information for
 
61
required ports.
 
62
 
 
63
  ~% sudo port sync
 
64
 
 
65
The following command will install rabbit and its dependencies.
 
66
 
 
67
  ~% sudo port install rb-rabbit
 
68
 
 
69
 
 
70
You can install these ports to make rabbit even better.
 
71
 
 
72
* htree (rb-htree) - enable syntax coloring
 
73
* Ruby-GetText-Package (rb-gettext) - enable I18N message catalogs
 
74
 
 
75
    ~% sudo port install rb-htree
 
76
    ~% sudo port install rb-gettext
 
77
 
 
78
== tips for X11 environment
 
79
 
 
80
=== launch X11.app
 
81
 
 
82
Rabbit requires X11.app, which is under /Applications/Utilities/.
 
83
 
 
84
=== DISPLAY environment variable
 
85
 
 
86
Mac OS X 10.4 or earlier, DISPLAY environment was not declared.
 
87
Remember to set this variable.
 
88
 
 
89
== upgrade Rabbit
 
90
 
 
91
the following operation upgrades your Rabbit.
 
92
 
 
93
  ~% sudo port sync
 
94
  ~% sudo port upgrade rb-rabbit
 
95
 
 
96
If you want to upgrade Rabbit only (rb-rabbit), you can upgrade with the "-n"
 
97
option.
 
98
 
 
99
  ~% sudo port -n upgrade rb-rabbit
 
100
 
 
101
== Contact
 
102
 
 
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