Importing mail/ruby-actionmailer3 3.0.0.
[pkgsrc.git] / bootstrap / README.Darwin
1 $NetBSD: README.Darwin,v 1.6 2003/10/07 14:58:12 jschauma Exp $
2
3 If you are using Mac OS X:
4 Before you start, you will need to download and install the Mac OS X Developer
5 Tools from Apple's Developer Connection.  See http://developer.apple.com/macosx/
6 for details.  Also, make sure you install X11 for Mac OS X and the X11 SDK from
7 http://www.apple.com/macosx/x11/download/ if you intend to build packages
8 that use the X11 Window System.
9
10 Terse instructions:
11
12 $ ./ufsdiskimage create ~/Documents/NetBSD 512  # megabytes - season to taste
13 $ ./ufsdiskimage mount ~/Documents/NetBSD
14 $ sudo chown `id -u`:`id -g` /Volumes/NetBSD
15 $ curl -O \
16     ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/tar_files/pkgsrc.tar.gz
17 $ tar -C /Volumes/NetBSD -zxvf pkgsrc.tar.gz && rm pkgsrc.tar.gz
18 $ sudo ./bootstrap \
19     --prefix=/Volumes/NetBSD/pkg \
20     --pkgdbdir=/Volumes/NetBSD/pkgdb \
21     --pkgsrcdir=/Volumes/NetBSD/pkgsrc
22
23 Note: if you already have a UFS partition, or have a spare partition[*]
24 that you can format as UFS, use that instead of the UFS disk image.
25 It'll be somewhat faster and will mount automatically at boot time.
26
27 (Why can't you just use the HFS+ filesystem you've already got?
28 Because pkgsrc currently requires the underlying filesystem to be
29 case-sensitive, and HFS+ isn't.)
30
31 [*] - If the partition you want to convert to UFS from HFS+ under
32 Mac OS X is on the boot disk, then the disk tools won't do anything
33 with it.  See "README.MacOSX".