README.md (view raw)
1# cgit port for openbsd
2
3this is slightly tweaked version of cgit for my personal usage.
4
5## build instructions
6
7make sure your user is in `wsrc` group.
8
9checkout the ports tree to `/usr/ports` (see [openbsd porter's handbook][1]).
10
11[1]:https://www.openbsd.org/faq/ports/ports.html#PortsFetch
12
13in `/usr/ports` run the git clone:
14
15```
16git clone https://git.aaoth.xyz/cgit-port.git
17```
18
19this should replace cgit with this version.
20
21cd into `www/cgit` and run:
22
23```
24make && doas make install
25```
26
27see `/usr/local/share/doc/pkg-readmes/cgit` for further instructions.