Automatic conversion of the NetBSD pkgsrc CVS module, use with care
Go to file
jperkin 3b5c2f9e1d espeak-ng: Add correct TEST_TARGET. 2024-03-25 17:18:35 +00:00
archivers
audio espeak-ng: Add correct TEST_TARGET. 2024-03-25 17:18:35 +00:00
benchmarks
biology
bootstrap
cad
chat
comms
converters
cross
databases redis: extend comment on forks. 2024-03-25 15:20:14 +00:00
devel cargo-c: Use newer os_info crate. 2024-03-25 16:51:42 +00:00
distfiles
doc doc: Updated devel/remake to 1.6 2024-03-25 15:16:42 +00:00
editors
emulators
filesystems
finance
fonts
games
geography
graphics
ham
inputmethod
lang
licenses
mail
math
mbone
meta-pkgs texlive-collection-publishers: update to revision 70716 2024-03-25 11:10:48 +00:00
misc
mk
multimedia
net net/slumber: update to 0.15.0 2024-03-25 13:15:57 +00:00
news
packages
parallel
pkgtools
print p5-biblatex-biber: update to 2.20 2024-03-25 10:53:40 +00:00
regress
science
security
shells
sysutils
templates
textproc
time
wm
www
x11 py-otherside: fix install name on Darwin 2024-03-25 15:11:48 +00:00
Makefile
README.md
_NetBSD-pkgdb
pkglocate

README.md

pkgsrc

pkgsrc is a framework for building software for a variety of UNIX-like systems.

It produces binary packages, which can be managed with tools such as pkgin. pkgsrc is highly configurable, supporting building packages for an arbitrary installation prefix (the default is /usr/pkg), allowing multiple branches to coexist on one machine, a build options framework, and a compiler transformation framework, among other advanced features. Unprivileged use and installation is also supported.

pkgsrc is the default package manager for NetBSD and SmartOS. It's also supported as a first-class option in OmniOS CE and Oasis Linux.

Bootstrapping

To use pkgsrc on operating systems other than NetBSD, you first need to bootstrap:

cd pkgsrc/bootstrap
./bootstrap

Note that this is only for the most simple case, using pkgsrc's defaults.

Please consult bootstrap/README and bootstrap/README.OS for detailed information about bootstrapping.

Building packages

cd pkgsrc/category/package-name
$PREFIX/bin/bmake install

Where $PREFIX is where you've chosen to install packages (typically /usr/pkg)

On NetBSD, bmake is simply the built-in make tool.

To build packages in bulk, tools such as pkgtools/pbulk and pkgtools/pkg_comp can be used.

Community / Troubleshooting

Latest sources

To fetch the main CVS repository:

cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc

To work in the Git mirror, which is updated every few hours from CVS:

git clone https://github.com/NetBSD/pkgsrc.git