| @@ -7,26 +7,27 @@ variety of UNIX-like systems. | | | @@ -7,26 +7,27 @@ variety of UNIX-like systems. |
7 | It produces binary packages, which can be managed with tools such as | | 7 | It produces binary packages, which can be managed with tools such as |
8 | [pkgin](http://pkgin.net/). | | 8 | [pkgin](http://pkgin.net/). |
9 | | | 9 | |
10 | Bootstrapping | | 10 | Bootstrapping |
11 | ------------- | | 11 | ------------- |
12 | | | 12 | |
13 | To use pkgsrc on operating systems other than NetBSD, you first need to | | 13 | To use pkgsrc on operating systems other than NetBSD, you first need to |
14 | bootstrap: | | 14 | bootstrap: |
15 | | | 15 | |
16 | cd pkgsrc/bootstrap | | 16 | cd pkgsrc/bootstrap |
17 | ./bootstrap | | 17 | ./bootstrap |
18 | | | 18 | |
19 | Note that this is only for the most simple case, using pkgsrc's defaults. | | 19 | Note that this is only for the most simple case, using pkgsrc's defaults. |
| | | 20 | |
20 | Please consult `bootstrap/README` and `bootstrap/README.OS` for detailed | | 21 | Please consult `bootstrap/README` and `bootstrap/README.OS` for detailed |
21 | information about bootstrapping. | | 22 | information about bootstrapping. |
22 | | | 23 | |
23 | Building packages | | 24 | Building packages |
24 | ----------------- | | 25 | ----------------- |
25 | | | 26 | |
26 | cd pkgsrc/category/package-name | | 27 | cd pkgsrc/category/package-name |
27 | $PREFIX/bin/bmake install | | 28 | $PREFIX/bin/bmake install |
28 | | | 29 | |
29 | Where `$PREFIX` is where you've chosen to install packages | | 30 | Where `$PREFIX` is where you've chosen to install packages |
30 | (typically `/usr/pkg`) | | 31 | (typically `/usr/pkg`) |
31 | | | 32 | |
32 | On NetBSD, `bmake` is simply the built-in `make` tool. | | 33 | On NetBSD, `bmake` is simply the built-in `make` tool. |
| @@ -47,17 +48,17 @@ Latest sources | | | @@ -47,17 +48,17 @@ Latest sources |
47 | To fetch the main CVS repository: | | 48 | To fetch the main CVS repository: |
48 | | | 49 | |
49 | cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc | | 50 | cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc |
50 | | | 51 | |
51 | To work in the Git mirror, which is updated every few hours from CVS: | | 52 | To work in the Git mirror, which is updated every few hours from CVS: |
52 | | | 53 | |
53 | git clone https://github.com/NetBSD/pkgsrc.git | | 54 | git clone https://github.com/NetBSD/pkgsrc.git |
54 | | | 55 | |
55 | Additional links | | 56 | Additional links |
56 | ---------------- | | 57 | ---------------- |
57 | | | 58 | |
58 | - [The pkgsrc guide](https://www.netbsd.org/docs/pkgsrc/) | | 59 | - [The pkgsrc guide](https://www.netbsd.org/docs/pkgsrc/) |
59 | - [pkgsrc in the NetBSD Wiki](https://wiki.netbsd.org/pkgsrc/) | | 60 | - [pkgsrc in the NetBSD Wiki](https://wiki.netbsd.org/pkgsrc/) |
60 | - [pkgsrc.se](http://pkgsrc.se/) - a browsable index for pkgsrc packages | | 61 | - [Searchable index of packages in pkgsrc](http://pkgsrc.se/) |
61 | - [pkgsrc-wip](https://pkgsrc.org/wip/) - a project to get more people actively involved with creating packages for pkgsrc | | 62 | - [pkgsrc-wip](https://pkgsrc.org/wip/) - a project to get more people actively involved with creating packages for pkgsrc |
62 | - [pkgsrc on Twitter](https://twitter.com/pkgsrc) | | 63 | - [pkgsrc on Twitter](https://twitter.com/pkgsrc) |
63 | - [pkgsrcCon](https://pkgsrc.org/pkgsrcCon) | | 64 | - [pkgsrcCon](https://pkgsrc.org/pkgsrcCon) |